/external/chromium_org/v8/test/webkit/ |
exception-propagate-from-dfg-to-llint.js | 26 toString: function() { if (shouldThrow) throw {}; return ""; } 29 var shouldThrow = false; 34 try { shouldThrow = !shouldThrow; h(o); } catch (e) {} 35 try { shouldThrow = !shouldThrow; h(o); } catch (e) {} 36 try { shouldThrow = !shouldThrow; h(o); } catch (e) {} 37 try { shouldThrow = !shouldThrow; h(o); } catch (e) { [all...] |
delete-getters-setters.js | 32 shouldThrow("b1.property"); 38 shouldThrow("a2.property"); 44 shouldThrow("b3.property"); 50 shouldThrow("a4.property"); 56 shouldThrow("b5.property"); 62 shouldThrow("a6.property"); 68 shouldThrow("b7.property"); 74 shouldThrow("a8.property"); 80 shouldThrow("o1.b.property"); 86 shouldThrow("o1.a.property") [all...] |
number-toExponential.js | 55 shouldThrow("(123.456).toExponential(21)"); 56 shouldThrow("(123.456).toExponential(100)"); 57 shouldThrow("(123.456).toExponential(101)"); 58 shouldThrow("(123.456).toExponential(-1)"); 60 shouldThrow("(1234.567).toExponential(posInf)"); 61 shouldThrow("(1234.567).toExponential(negInf)");
|
array-every.js | 82 shouldThrow("[12, 5, 8, 130, 44].every(isBigEnoughAndException)", '"exception from function"'); 83 shouldThrow("[12, 54, 18, 130, 44].every(isBigEnoughAndException)", '"exception from function"'); 87 shouldThrow("[12, 5, 8, 130, 44].every(5)"); 88 shouldThrow("[12, 5, 8, 130, 44].every('wrong')"); 89 shouldThrow("[12, 5, 8, 130, 44].every(new Object())"); 90 shouldThrow("[12, 5, 8, 130, 44].every(null)"); 91 shouldThrow("[12, 5, 8, 130, 44].every(undefined)"); 92 shouldThrow("[12, 5, 8, 130, 44].every()");
|
instance-of-immediates.js | 40 testSet("1", { "1":shouldThrow, "{}":shouldThrow, "obj":shouldThrow }); 44 testSet("{}", { "1":shouldThrow, "{}":shouldThrow, "obj":shouldThrow }); 53 testSet("Constructor", { "1":shouldBeFalse, "{}":shouldThrow, "obj":shouldThrow }); 63 testSet("Constructor", { "1":shouldBeFalse, "{}":shouldThrow, "obj":shouldThrow }); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
AbstractQueueTest.java | 56 shouldThrow(); 67 shouldThrow(); 86 shouldThrow(); 105 shouldThrow(); 116 shouldThrow(); 127 shouldThrow(); 139 shouldThrow(); 154 shouldThrow(); 168 shouldThrow();
|
BlockingQueueTest.java | 61 shouldThrow(); 72 shouldThrow(); 84 shouldThrow(); 96 shouldThrow(); 107 shouldThrow(); 119 shouldThrow(); 130 shouldThrow(); 141 shouldThrow(); 152 shouldThrow(); 163 shouldThrow(); [all...] |
AbstractExecutorServiceTest.java | 140 shouldThrow(); 155 shouldThrow(); 166 shouldThrow(); 216 shouldThrow(); 230 shouldThrow(); 244 shouldThrow(); 262 shouldThrow(); 278 shouldThrow(); 309 shouldThrow(); 339 shouldThrow(); [all...] |
CountDownLatchTest.java | 24 shouldThrow(); 111 shouldThrow(); 118 shouldThrow(); 142 shouldThrow(); 149 shouldThrow();
|
ThreadPoolExecutorTest.java | 237 shouldThrow(); 283 shouldThrow(); 633 shouldThrow(); 645 shouldThrow(); 657 shouldThrow(); 669 shouldThrow(); 681 shouldThrow(); 693 shouldThrow(); 706 shouldThrow(); 719 shouldThrow(); [all...] |
LinkedBlockingDequeTest.java | 78 shouldThrow(); 89 shouldThrow(); 186 shouldThrow(); 202 shouldThrow(); 217 shouldThrow(); 232 shouldThrow(); 247 shouldThrow(); 316 shouldThrow(); 326 shouldThrow(); 337 shouldThrow(); [all...] |
ThreadPoolExecutorSubclassTest.java | 354 shouldThrow(); 390 shouldThrow(); 701 shouldThrow(); 711 shouldThrow(); 721 shouldThrow(); 731 shouldThrow(); 741 shouldThrow(); 751 shouldThrow(); 761 shouldThrow(); 771 shouldThrow(); [all...] |
CopyOnWriteArrayListTest.java | 245 shouldThrow(); 262 shouldThrow(); 275 shouldThrow(); 502 shouldThrow(); 513 shouldThrow(); 526 shouldThrow(); 537 shouldThrow(); 550 shouldThrow(); 561 shouldThrow(); 574 shouldThrow(); [all...] |
ConcurrentLinkedQueueTest.java | 48 shouldThrow(); 59 shouldThrow(); 72 shouldThrow(); 124 shouldThrow(); 135 shouldThrow(); 166 shouldThrow(); 177 shouldThrow(); 189 shouldThrow(); 204 shouldThrow(); 259 shouldThrow(); [all...] |
ExecutorsTest.java | 47 shouldThrow(); 79 shouldThrow(); 90 shouldThrow(); 125 shouldThrow(); 135 shouldThrow(); 156 shouldThrow(); 166 shouldThrow(); 401 shouldThrow(); 439 shouldThrow(); 469 // shouldThrow(); [all...] |
RecursiveActionTest.java | 64 shouldThrow(); 71 shouldThrow(); 78 shouldThrow(); 111 shouldThrow(); 117 shouldThrow(); 123 shouldThrow(); 140 shouldThrow(); 147 shouldThrow(); 154 shouldThrow(); 273 shouldThrow(); [all...] |
/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/chromium_org/v8/test/webkit/fast/js/ |
number-toprecision.js | 42 shouldThrow("(1234.567).toPrecision(0)"); 43 shouldThrow("(1234.567).toPrecision(null)"); // just like 0 44 shouldThrow("(1234.567).toPrecision(false)"); // just like 0 45 shouldThrow("(1234.567).toPrecision('foo')"); // just like 0 46 shouldThrow("(1234.567).toPrecision(-1)"); 55 shouldThrow("(1234.567).toPrecision(22)"); 56 shouldThrow("(1234.567).toPrecision(100)"); 57 shouldThrow("(1234.567).toPrecision(101)"); 59 shouldThrow("(1234.567).toPrecision(posInf)"); 60 shouldThrow("(1234.567).toPrecision(negInf)") [all...] |
number-toString.js | 35 shouldThrow("(1234.567).toString(0)"); 37 shouldThrow("(1234.567).toString(null)"); 38 shouldThrow("(1234.567).toString(false)"); 39 shouldThrow("(1234.567).toString('foo')"); 40 shouldThrow("(1234.567).toString(nan)"); // nan is treated like 0 42 shouldThrow("(1234.567).toString(1)"); 43 shouldThrow("(1234.567).toString(true)"); 44 shouldThrow("(1234.567).toString('1')"); 84 shouldThrow("(1234.567).toString(37)"); 85 shouldThrow("(1234.567).toString(-1)") [all...] |
number-tofixed.js | 88 shouldThrow("(1234.567).toFixed(21)"); 89 shouldThrow("(1234.567).toFixed(100)"); 90 shouldThrow("(1234.567).toFixed(101)"); 91 shouldThrow("(1234.567).toFixed(-1)"); 92 shouldThrow("(1234.567).toFixed(-4)"); 93 shouldThrow("(1234.567).toFixed(-5)"); 94 shouldThrow("(1234.567).toFixed(-20)"); 95 shouldThrow("(1234.567).toFixed(-21)"); 97 shouldThrow("(1234.567).toFixed(posInf)"); 98 shouldThrow("(1234.567).toFixed(negInf)") [all...] |
basic-strict-mode.js | 43 shouldThrow(str); 44 shouldThrow("(function(){" + str + "})"); 65 shouldThrow("testThisDotAccess.call(null)"); 66 shouldThrow("testThisDotAccess.call(undefined)"); 71 shouldThrow("testThisBracketAccess.call(null, 'length')"); 72 shouldThrow("testThisBracketAccess.call(undefined, 'length')"); 77 shouldThrow("Function('\"use strict\"; with({});')"); 99 shouldThrow("(function (){'use strict'; arguments.callee; })()"); 100 shouldThrow("(function (){'use strict'; arguments.caller; })()"); 101 shouldThrow("(function f(){'use strict'; f.arguments; })()") [all...] |
caller-property.js | 51 shouldThrow("nonStrictCaller(strictCallee)", '"TypeError: Type error"'); 52 shouldThrow("strictCaller(nonStrictCallee)", '"TypeError: Function.caller used to retrieve strict caller"'); 53 shouldThrow("strictCaller(strictCallee)", '"TypeError: Type error"'); 59 shouldThrow("nonStrictCaller(boundStrictCallee)", '"TypeError: Type error"'); 60 shouldThrow("strictCaller(boundNonStrictCallee)", '"TypeError: Function.caller used to retrieve strict caller"'); 61 shouldThrow("strictCaller(boundStrictCallee)", '"TypeError: Type error"'); 80 shouldThrow("nonStrictGetter(strictAccessor)", '"TypeError: Type error"'); 81 shouldThrow("nonStrictSetter(strictAccessor)", '"TypeError: Type error"'); 82 shouldThrow("strictGetter(nonStrictAccessor)", '"TypeError: Function.caller used to retrieve strict caller"'); 83 shouldThrow("strictSetter(nonStrictAccessor)", '"TypeError: Function.caller used to retrieve strict caller"') [all...] |
Object-defineProperty.js | 49 shouldThrow("Object.defineProperty([1,2,3], '1', {get:getter, configurable: true})[1]", "'called getter'"); 51 shouldThrow("Object.defineProperty()"); 52 shouldThrow("Object.defineProperty(null)"); 53 shouldThrow("Object.defineProperty('foo')"); 54 shouldThrow("Object.defineProperty({})"); 55 shouldThrow("Object.defineProperty({}, 'foo')"); 56 shouldThrow("Object.defineProperty({}, 'foo', {get:undefined, value:true}).foo"); 64 shouldThrow("Object.defineProperty(createUnconfigurableProperty({}, 'foo'), 'foo', {configurable: true})"); 65 shouldThrow("Object.defineProperty(createUnconfigurableProperty({}, 'foo'), 'foo', {writable: true})"); 66 shouldThrow("Object.defineProperty(createUnconfigurableProperty({}, 'foo'), 'foo', {enumerable: true})") [all...] |
/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...] |