Lines Matching defs:expectations
669 var expectations = {
679 this.assertEquals(expectations.functionsOnStack[0], callFrame.functionName);
681 this._checkSourceFrameWhenLoaded(expectations, function() {
1021 * Checks current execution line against expectations.
1061 * Waits for script pause, checks expectations, and invokes the callback.
1062 * @param {Object} expectations Dictionary of expectations
1065 TestSuite.prototype._waitForScriptPause = function(expectations, callback)
1077 test.assertEquals(expectations.functionsOnStack.join(","), functionsOnStack.join(","), "Unexpected stack.");
1081 test._checkSourceFrameWhenLoaded(expectations, callback);
1087 * Waits for current source frame to load, checks expectations, and invokes
1089 * @param {Object} expectations Dictionary of expectations
1092 TestSuite.prototype._checkSourceFrameWhenLoaded = function(expectations, callback)
1101 test._checkSourceFrameWhenLoaded(expectations, callback);
1105 test._checkExecutionLine(frame, expectations.lineNumber, expectations.lineText);
1360 * Checks the scopeSectionDiv against the expectations.
1362 * @param {Object} expectations Expectations dictionary
1364 TestSuite.prototype._checkScopeSectionDiv = function(scopeSectionDiv, expectations)
1367 this.assertEquals(expectations.title, scopeTitle, "Unexpected scope section title.");
1368 if (!expectations.properties)
1379 this.assertTrue(name in expectations.properties, "Unexpected property: " + name);
1380 this.assertEquals(expectations.properties[name], value, 'Unexpected "' + name + '" property value.');
1381 delete expectations.properties[name];
1386 for (var p in expectations.properties)
1628 var expectations = propQueue[index].expectations;
1633 checkProperty(treeElement, path, expectations);
1640 function checkProperty(treeElement, path, expectations) {
1641 for (var i = 0; i < expectations.length; i += 3) {
1642 var name = expectations[i];
1643 var description = expectations[i+1];
1644 var value = expectations[i+2];
1655 expectations: value,
1767 var expectations = ["foo", "fooValue", "foobar", "ReferenceError: foobar is not defined"];
1769 // Do not change code below - simply add inputs and expectations above.
1780 if (messagesCount === expectations.length) {
1782 for (var i = 0; i < expectations; ++i) {
1784 test.assertEquals(elem.textContent, expectations[i]);