Home
last modified time | relevance | path

Searched refs:opt_message (Results 1 – 17 of 17) sorted by relevance

/external/chromium-trace/trace-viewer/src/base/unittest/
Dassertions.js22 assertTrue: function(a, opt_message) { argument
25 var message = opt_message || 'Expected true, got ' + a;
29 assertFalse: function(a, opt_message) { argument
32 var message = opt_message || 'Expected false, got ' + a;
36 assertUndefined: function(a, opt_message) { argument
39 var message = opt_message || 'Expected undefined, got ' + a;
43 assertNotUndefined: function(a, opt_message) { argument
46 var message = opt_message || 'Expected not undefined, got ' + a;
50 assertNull: function(a, opt_message) { argument
53 var message = opt_message || 'Expected null, got ' + a;
[all …]
Dtest_error.js8 function TestError(opt_message) { argument
9 var that = new Error(opt_message);
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/asserts/
Dasserts.js118 goog.asserts.assert = function(condition, opt_message, var_args) { argument
120 goog.asserts.doAssertFailure_('', null, opt_message,
145 goog.asserts.fail = function(opt_message, var_args) { argument
148 'Failure' + (opt_message ? ': ' + opt_message : ''),
162 goog.asserts.assertNumber = function(value, opt_message, var_args) { argument
165 [goog.typeOf(value), value], opt_message,
180 goog.asserts.assertString = function(value, opt_message, var_args) { argument
183 [goog.typeOf(value), value], opt_message,
199 goog.asserts.assertFunction = function(value, opt_message, var_args) { argument
202 [goog.typeOf(value), value], opt_message,
[all …]
/external/chromium_org/ui/webui/resources/js/
Dwebui_resource_test.js12 function assertEquals(expected, observed, opt_message) { argument
16 if (opt_message)
17 message = message + '\n ' + opt_message;
28 function assertTrue(observed, opt_message) { argument
29 assertEquals(true, observed, opt_message);
38 function assertFalse(observed, opt_message) { argument
39 assertEquals(false, observed, opt_message);
49 function assertNotEqual(reference, observed, opt_message) { argument
53 if (opt_message)
54 message = message + '\n ' + opt_message;
[all …]
Dassert.js16 function assert(condition, opt_message) { argument
20 if (opt_message)
21 msg = msg + ': ' + opt_message;
/external/chromium_org/v8/test/mjsunit/tools/
Dprofile.js37 function assertPathExists(root, path, opt_message) { argument
38 var message = opt_message ? ' (' + opt_message + ')' : '';
43 }), opt_message);
47 function assertNoPathExists(root, path, opt_message) { argument
48 var message = opt_message ? ' (' + opt_message + ')' : '';
49 assertNull(root.descendToChild(path), opt_message);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
Dmain.js42 function updateStatus(opt_message) { argument
46 statusField.textContent = opt_message;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/life/
Dexample.js174 function updateStatus(opt_message) { argument
178 statusField.textContent = opt_message;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/voronoi/
Dexample.js179 function updateStatus(opt_message) { argument
183 statusField.textContent = opt_message;
/external/chromium_org/native_client_sdk/src/resources/
Dcommon.js385 function updateStatus(opt_message) { argument
386 if (opt_message) {
387 statusText = opt_message;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/cube/
Dexample.js167 function updateStatus(opt_message) { argument
171 statusField.textContent = opt_message;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/earth/
Dexample.js169 function updateStatus(opt_message) { argument
173 statusField.textContent = opt_message;
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/
Dbase.js276 goog.setTestOnly = function(opt_message) { argument
278 opt_message = opt_message || '';
280 opt_message ? ': ' + opt_message : '.');
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DTests.js74 TestSuite.prototype.assertEquals = function(expected, actual, opt_message) argument
78 if (opt_message)
79 message = opt_message + "(" + message + ")";
89 TestSuite.prototype.assertTrue = function(value, opt_message) argument
91 this.assertEquals(true, !!value, opt_message);
/external/chromium_org/ui/file_manager/file_manager/background/js/
Ddevice_handler.js158 DeviceHandler.Notification.prototype.show = function(devicePath, opt_message) { argument
169 message: opt_message || str(this.message),
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/
Dexample.js202 function updateStatus(opt_message) { argument
206 statusField.textContent = opt_message;
/external/chromium_org/chrome/browser/resources/print_preview/previewarea/
Dpreview_area.js449 showMessage_: function(messageId, opt_message) { argument
465 customMessageTextEl.textContent = opt_message;