HomeSort by relevance Sort by last modified time
    Searched refs:shouldThrow (Results 1 - 25 of 26) sorted by null

1 2

  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ObjectIdentifier.java 184 * invalid or null and shouldThrow is false
186 * shouldThrow is true
188 private static int[] toIntArray(String str, boolean shouldThrow) {
190 if (! shouldThrow) {
198 if (! shouldThrow) {
211 if (! shouldThrow) {
221 if (! shouldThrow) {
230 if (! shouldThrow) {
237 if (! shouldThrow) {
254 if (! shouldThrow) {
    [all...]
  /external/webkit/LayoutTests/fast/dom/EntityReference/script-tests/
readonly-exceptions.js 7 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/LayoutTests/fast/dom/Selection/script-tests/
collapseToX-empty-selection.js 7 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/TreeWalker/script-tests/
filter-throw.js 14 shouldThrow("walker.firstChild();");
16 shouldThrow("walker.nextNode();walker.currentNode.id");
27 shouldThrow("walker.firstChild();");
29 shouldThrow("walker.nextNode();walker.currentNode.id");
acceptNode-filter.js 49 shouldThrow("walker.firstChild();");
51 shouldThrow("walker.nextNode();");
57 shouldThrow("walker.firstChild();");
59 shouldThrow("walker.nextNode();");
  /external/webkit/Source/JavaScriptCore/API/tests/
testapi.js 57 function shouldThrow(a)
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/
AbstractListeningExecutorServiceTest.java 155 shouldThrow();
171 shouldThrow();
182 shouldThrow();
238 shouldThrow();
252 shouldThrow();
266 shouldThrow();
286 shouldThrow();
302 shouldThrow();
333 shouldThrow();
364 shouldThrow();
    [all...]
AtomicDoubleArrayTest.java 72 shouldThrow();
95 shouldThrow();
107 shouldThrow();
119 shouldThrow();
123 shouldThrow();
127 shouldThrow();
131 shouldThrow();
135 shouldThrow();
139 shouldThrow();
143 shouldThrow();
    [all...]
JSR166TestCase.java 574 shouldThrow();
585 public void shouldThrow() {
592 public void shouldThrow(String exceptionName) {
    [all...]
  /external/webkit/LayoutTests/fast/js/resources/
string-concatenate-outofmemory.js 5 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 beginning of string
7 shouldThrow('s = "a"; while (1) { s = [s, s].join(); }', '"Error: Out of memory"'); // Expand using UString::append.
getOwnPropertyDescriptor.js 75 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)");
const.js 6 shouldThrow("const redef='a'; const redef='a';");
standalone-pre.js 120 function shouldThrow(_a, _e)
js-test-pre.js 261 function shouldThrow(_a, _e)
JSON-parse.js 556 shouldThrow('tests[i](nativeJSON)');
JSON-stringify.js 500 shouldThrow('tests[i](nativeJSON)');
  /external/guava/guava-tests/test/com/google/common/io/
CloseablesTest.java 127 private void setupCloseable(boolean shouldThrow) throws IOException {
130 if (shouldThrow) {
  /external/webkit/Source/WebCore/bindings/js/
JSDOMWindowShell.cpp 108 bool JSDOMWindowShell::defineOwnProperty(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::PropertyDescriptor& descriptor, bool shouldThrow)
110 return m_window->defineOwnProperty(exec, propertyName, descriptor, shouldThrow);
JSDOMWindowShell.h 82 virtual bool defineOwnProperty(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&, bool shouldThrow);
JSDOMWindowCustom.cpp 416 bool JSDOMWindow::defineOwnProperty(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::PropertyDescriptor& descriptor, bool shouldThrow)
421 return Base::defineOwnProperty(exec, propertyName, descriptor, shouldThrow);
  /external/v8/test/mjsunit/regress/
regress-1355.js 39 function shouldThrow() {
44 assertThrows("shouldThrow()");
  /external/webkit/LayoutTests/fast/dom/Node/script-tests/
initial-values.js 62 shouldThrow("document.createCDATASection('foo')");
170 shouldThrow("document.createEntityReference('gt')");
181 shouldThrow("document.createProcessingInstruction('xml-stylesheet', 'type=\"text/xsl\" href=\"missing.xsl\"')");
  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
argument-types.js 16 shouldThrow(expression, '(function() { return "' + expectedException + '"; })();');
18 shouldThrow(expression, '(function() { return "Error: TYPE_MISMATCH_ERR: DOM Exception 17"; })();');
  /external/webkit/LayoutTests/fast/dom/DeviceMotion/script-tests/
optional-event-properties.js 11 shouldThrow(expression, '(function() { return "' + expectedException + '"; })();');
  /external/webkit/LayoutTests/http/tests/cookies/resources/
cookies-test-pre.js 127 function shouldThrow(_a, _e)

Completed in 1198 milliseconds

1 2