Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 94) sorted by relevance

1234

/art/test/514-shifts/src/
DMain.java31 throw new Error("Expected -2147483648, got " + b); in testIntShiftLeft()
34 throw new Error("Expected 0xFFF, got " + a); in testIntShiftLeft()
42 throw new Error("Expected 0, got " + b); in testIntShiftRight()
45 throw new Error("Expected 0xFFF, got " + a); in testIntShiftRight()
53 throw new Error("Expected 0, got " + b); in testIntUnsignedShiftRight()
56 throw new Error("Expected 0xFFF, got " + a); in testIntUnsignedShiftRight()
64 throw new Error("Expected 0x2468ACF13579BDEL, got " + b); in testLongShiftLeft()
69 throw new Error("Expected 0x41, got " + a); in testLongShiftLeft()
77 throw new Error("Expected 0x91A2B3C4D5E6F7L, got " + b); in testLongShiftRight()
82 throw new Error("Expected 0x41, got " + a); in testLongShiftRight()
[all …]
/art/test/441-checker-inliner/src/
DMain.java207 throw new Error(); in main()
211 throw new Error(); in main()
215 throw new Error(); in main()
219 throw new Error(); in main()
223 throw new Error(); in main()
227 throw new Error(); in main()
231 throw new Error(); in main()
235 throw new Error(); in main()
239 throw new Error(); in main()
/art/test/462-checker-inlining-across-dex-files/src/
DMain.java162 throw new Error("Expected 38"); in main()
166 throw new Error("Expected 1"); in main()
170 throw new Error("Expected 42"); in main()
174 throw new Error("Expected OtherDex"); in main()
178 throw new Error("Expected " + OtherDex.class); in main()
182 throw new Error("Expected " + OtherDex.class); in main()
186 throw new Error("Expected " + Main.class); in main()
190 throw new Error("Expected " + Main.class); in main()
/art/test/401-optimizing-compiler/src/
DMain.java22 Error error = null; in main()
25 } catch (Error e) { in main()
34 throw new Error("Different value returned: " + result); in main()
43 throw new Error("Different object returned " + a + " " + b); in main()
48 throw new Error("Unexpected result: " + result); in main()
53 throw new Error("Unexpected result: " + result); in main()
58 throw new Error("Unexpected result: " + result); in main()
63 throw new Error("Unexpected result: " + result); in main()
68 throw new Error("Unexpected value returned"); in main()
72 throw new Error("Unexpected value returned"); in main()
[all …]
/art/test/437-inline/src/
DMain.java20 throw new Error(); in main()
24 throw new Error(); in main()
28 throw new Error(); in main()
32 throw new Error(); in main()
36 throw new Error(); in main()
43 throw new Error(); in main()
47 throw new Error(); in main()
/art/test/461-get-reference-vreg/src/
DMain.java48 throw new Error("Expected 1"); in main()
52 throw new Error("Expected 2"); in main()
56 throw new Error("Expected 3"); in main()
60 throw new Error("Expected 4"); in main()
/art/test/473-checker-inliner-constants/src/
DMain.java69 throw new Error("Expected null"); in main()
71 throw new Error("Expected int 42"); in main()
73 throw new Error("Expected long 42"); in main()
/art/test/432-optimizing-cmp/src/
DMain.java168 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
174 throw new Error("Expected: " + a + " < " + b); in expectLt()
180 throw new Error("Expected: " + a + " > " + b); in expectGt()
186 throw new Error("Expected: " + a + " < " + b); in expectLt()
192 throw new Error("Expected: " + a + " > " + b); in expectGt()
198 throw new Error("Not expecting: " + a + " < " + b); in expectFalse()
201 throw new Error("Not expecting: " + a + " > " + b); in expectFalse()
207 throw new Error("Expected: " + a + " < " + b); in expectLt()
213 throw new Error("Expected: " + a + " > " + b); in expectGt()
219 throw new Error("Not expecting: " + a + " < " + b); in expectFalse()
[all …]
/art/test/417-optimizing-arith-div/src/
DMain.java23 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
29 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
35 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
41 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
49 throw new Error("Expected: " + a + ", found: " + b in expectApproxEquals()
58 throw new Error("Expected: " + a + ", found: " in expectApproxEquals()
65 throw new Error("Expected NaN: " + a); in expectNaN()
71 throw new Error("Expected NaN: " + a); in expectNaN()
78 throw new Error("Expected RuntimeException when dividing by 0"); in expectDivisionByZero()
83 throw new Error("Expected RuntimeException when dividing by 0"); in expectDivisionByZero()
[all …]
/art/test/465-checker-clinit-gvn/src/
DMain.java65 throw new Error(e); in foo()
71 throw new Error("Expected 12"); in main()
75 throw new Error("Expected 12"); in main()
/art/test/447-checker-inliner3/src/
DMain.java68 throw new Error("Expected 1"); in main()
71 throw new Error("Expected 16"); in main()
74 throw new Error("Expected 16"); in main()
/art/test/455-set-vreg/src/
DMain.java52 throw new Error("Expected " + intExpected + ", got " + intResult); in main()
58 throw new Error("Expected " + longExpected + ", got " + longResult); in main()
64 throw new Error("Expected " + floatExpected + ", got " + floatResult); in main()
70 throw new Error("Expected " + doubleExpected + ", got " + doubleResult); in main()
/art/test/466-get-live-vreg/src/
DMain.java30 throw new Error(e); in moveArgToCalleeSave()
57 throw new Error("Expected 42"); in main()
61 throw new Error("Expected 42"); in main()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffsettable.java82 throw new Error("Cannot get the original position of an Offsettable when not yet set."); in getOriginalPosition()
97 throw new Error("Cannot request new position before it has been set!"); in getNewPosition()
110 throw new Error("Cannot update an Offsettable twice!"); in setNewPosition()
/art/test/415-optimizing-arith-neg/src/
DMain.java23 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
29 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
35 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
41 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
47 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
53 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
59 throw new Error("Expected NaN: " + result); in assertIsNaN()
65 throw new Error("Expected NaN: " + result); in assertIsNaN()
/art/test/118-noimage-dex2oat/src/
DMain.java31 throw new Error("Image with dex2oat disabled runs with an oat file"); in main()
33 throw new Error("Image with dex2oat enabled runs without an oat file"); in main()
36 throw new Error("Image with dex2oat disabled runs with an image file"); in main()
38 throw new Error("Image with dex2oat enabled runs without an image file"); in main()
/art/test/414-optimizing-arith-sub/src/
DMain.java23 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
29 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
35 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
41 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
49 … throw new Error("Expected: " + a + ", found: " + b + ", with delta: " + maxDelta + " " + (a - b)); in expectApproxEquals()
57 … throw new Error("Expected: " + a + ", found: " + b + ", with delta: " + maxDelta + " " + (a - b)); in expectApproxEquals()
63 throw new Error("Expected NaN: " + a); in expectNaN()
69 throw new Error("Expected NaN: " + a); in expectNaN()
/art/test/411-optimizing-arith/src/
DMain.java23 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
29 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
35 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
41 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
50 throw new Error("Expected: " + a + ", found: " + b + ", with delta: " + maxDelta); in expectApproxEquals()
59 throw new Error("Expected: " + a + ", found: " + b + ", with delta: " + maxDelta); in expectApproxEquals()
65 throw new Error("Expected NaN: " + a); in expectNaN()
71 throw new Error("Expected NaN: " + a); in expectNaN()
/art/test/424-checkcast/src/
DMain.java46 throw new Error("Should have gotten a ClassCastException"); in $opt$TestMain()
60 throw new Error("Should have gotten a ClassCastException"); in $opt$TestFinalClass()
66 throw new Error("Should have gotten a ClassCastException"); in $opt$TestFinalClass()
/art/test/428-optimizing-arith-rem/src/
DMain.java121 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
127 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
134 throw new Error("Expected RuntimeException when modulo by 0"); in expectDivisionByZero()
139 throw new Error("Expected RuntimeException when modulo by 0"); in expectDivisionByZero()
147 throw new Error("Expected RuntimeException when modulo by 0"); in expectDivisionByZero()
152 throw new Error("Expected RuntimeException when modulo by 0"); in expectDivisionByZero()
/art/test/478-checker-clinit-check-pruning/src/
DMain.java106 throw new Error(); in staticMethod()
184 throw new Error(); in staticMethod()
248 throw new Error(); in staticMethod()
/art/test/116-nodex2oat/src/
DMain.java23 throw new Error("Application with dex2oat disabled runs with an oat file"); in main()
25 throw new Error("Application with dex2oat enabled runs without an oat file"); in main()
/art/test/134-nodex2oat-nofallback/src/
DMain.java23 throw new Error("Application with dex2oat disabled runs with an oat file"); in main()
25 throw new Error("Application with dex2oat enabled runs without an oat file"); in main()
/art/test/119-noimage-patchoat/src/
DMain.java25 throw new Error("Image with dex2oat disabled runs with an oat file"); in main()
27 throw new Error("Image with dex2oat enabled runs without an oat file"); in main()
/art/test/506-verify-aput/src/
DMain.java25 throw new Error("expected verification error"); in main()
30 throw new Error("expected verification error"); in main()

1234