Home
last modified time | relevance | path

Searched refs:shouldThrow (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/LayoutTests/fast/dom/EntityReference/script-tests/
Dreadonly-exceptions.js7 shouldThrow("xmlDoc2.adoptNode(entityReference)");
13 shouldThrow("entityReference.nodeValue = 'foo'");
16 shouldThrow("entityReference.prefix = 'foo'");
19 shouldThrow("entityReference.textContent = 'foo'");
25 shouldThrow("entityReference.appendChild(text)");
30 shouldThrow("entityReference.insertBefore(text, entityReference.firstChild)");
/external/webkit/Source/JavaScriptCore/API/tests/
Dtestapi.js57 function shouldThrow(a) function
165 shouldThrow("MyObject.nullGetSet = 1");
166 shouldThrow("MyObject.nullGetSet");
167 shouldThrow("MyObject.nullCall()");
168 shouldThrow("MyObject.hasPropertyLie");
238 shouldThrow("undefined instanceof EvilExceptionObject");
243 shouldThrow("EvilExceptionObject*5");
245 shouldThrow("String(EvilExceptionObject)");
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractListeningExecutorServiceTest.java155 shouldThrow(); in testSubmitFailedPrivilegedExceptionAction()
171 shouldThrow(); in testExecuteNullRunnable()
182 shouldThrow(); in testSubmitNullCallable()
238 shouldThrow(); in testSubmitEE()
252 shouldThrow(); in testInvokeAny1()
266 shouldThrow(); in testInvokeAny2()
286 shouldThrow(); in testInvokeAny3()
302 shouldThrow(); in testInvokeAny4()
333 shouldThrow(); in testInvokeAll1()
364 shouldThrow(); in testInvokeAll3()
[all …]
DAtomicDoubleArrayTest.java72 shouldThrow(); in testConstructor2NPE()
95 shouldThrow(); in testConstructorEmptyArray()
107 shouldThrow(); in testConstructorZeroLength()
119 shouldThrow(); in testIndexing()
123 shouldThrow(); in testIndexing()
127 shouldThrow(); in testIndexing()
131 shouldThrow(); in testIndexing()
135 shouldThrow(); in testIndexing()
139 shouldThrow(); in testIndexing()
143 shouldThrow(); in testIndexing()
DJSR166TestCase.java574 shouldThrow(); in assertFutureTimesOut()
585 public void shouldThrow() { in shouldThrow() method in JSR166TestCase
592 public void shouldThrow(String exceptionName) { in shouldThrow() method in JSR166TestCase
1196 shouldThrow();
1200 shouldThrow();
1204 shouldThrow();
/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/
Dfilter-throw.js14 shouldThrow("walker.firstChild();");
16 shouldThrow("walker.nextNode();walker.currentNode.id");
27 shouldThrow("walker.firstChild();");
29 shouldThrow("walker.nextNode();walker.currentNode.id");
DacceptNode-filter.js49 shouldThrow("walker.firstChild();");
51 shouldThrow("walker.nextNode();");
57 shouldThrow("walker.firstChild();");
59 shouldThrow("walker.nextNode();");
/external/webkit/LayoutTests/fast/js/resources/
DgetOwnPropertyDescriptor.js75 shouldThrow("Object.getOwnPropertyDescriptor(null)");
76 shouldThrow("Object.getOwnPropertyDescriptor(undefined)");
77 shouldThrow("Object.getOwnPropertyDescriptor(1)");
78 shouldThrow("Object.getOwnPropertyDescriptor('')");
79 shouldThrow("Object.getOwnPropertyDescriptor(true)");
80 shouldThrow("Object.getOwnPropertyDescriptor(false)");
Dstring-concatenate-outofmemory.js5 shouldThrow('s = "a"; while (1) { s += s; }', '"Error: Out of memory"'); // Expand at end of string
6 shouldThrow('s = "a"; while (1) { s += ("a" + s); }', '"Error: Out of memory"'); // Expand at begin…
7 shouldThrow('s = "a"; while (1) { s = [s, s].join(); }', '"Error: Out of memory"'); // Expand using…
Dconst.js6 shouldThrow("const redef='a'; const redef='a';");
Dstandalone-pre.js120 function shouldThrow(_a, _e) function
Djs-test-pre.js261 function shouldThrow(_a, _e) function
DJSON-stringify.js500 shouldThrow('tests[i](nativeJSON)');
DJSON-parse.js556 shouldThrow('tests[i](nativeJSON)');
/external/webkit/LayoutTests/fast/dom/Selection/script-tests/
DcollapseToX-empty-selection.js7 shouldThrow("sel.collapseToStart()", "'Error: INVALID_STATE_ERR: DOM Exception 11'");
8 shouldThrow("sel.collapseToEnd()", "'Error: INVALID_STATE_ERR: DOM Exception 11'");
/external/webkit/LayoutTests/fast/dom/Node/script-tests/
Dinitial-values.js62 shouldThrow("document.createCDATASection('foo')");
170 shouldThrow("document.createEntityReference('gt')");
181 shouldThrow("document.createProcessingInstruction('xml-stylesheet', 'type=\"text/xsl\" href=\"missi…
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
Dargument-types.js16 shouldThrow(expression, '(function() { return "' + expectedException + '"; })();');
18shouldThrow(expression, '(function() { return "Error: TYPE_MISMATCH_ERR: DOM Exception 17"; })();'…
/external/guava/guava-tests/test/com/google/common/io/
DCloseablesTest.java127 private void setupCloseable(boolean shouldThrow) throws IOException { in setupCloseable() argument
130 if (shouldThrow) { in setupCloseable()
/external/v8/test/mjsunit/regress/
Dregress-1355.js39 function shouldThrow() { function
/external/webkit/Source/WebCore/bindings/js/
DJSDOMWindowShell.cpp108 …* exec, const JSC::Identifier& propertyName, JSC::PropertyDescriptor& descriptor, bool shouldThrow) in defineOwnProperty() argument
110 return m_window->defineOwnProperty(exec, propertyName, descriptor, shouldThrow); in defineOwnProperty()
DJSDOMWindowShell.h82 …(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&, bool shouldThrow);
DJSDOMWindowCustom.cpp416 …* exec, const JSC::Identifier& propertyName, JSC::PropertyDescriptor& descriptor, bool shouldThrow) in defineOwnProperty() argument
421 return Base::defineOwnProperty(exec, propertyName, descriptor, shouldThrow); in defineOwnProperty()
/external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/
Doptional-event-properties.js11 shouldThrow(expression, '(function() { return "' + expectedException + '"; })();');
/external/webkit/LayoutTests/http/tests/cookies/resources/
Dcookies-test-pre.js127 function shouldThrow(_a, _e) function
/external/webkit/Source/JavaScriptCore/runtime/
DJSObject.h204 …fineOwnProperty(ExecState*, const Identifier& propertyName, PropertyDescriptor&, bool shouldThrow);

12