Home
last modified time | relevance | path

Searched refs:Error (Results 51 – 75 of 522) sorted by relevance

12345678910>>...21

/art/test/1972-jni-id-swap-indices/src/
DMain.java46 throw new Error("ID " + expect_ptr_id + " is not aligned!"); in main()
55 throw new Error("ID " + expect_ptr_id + " is not odd!"); in main()
61 throw new Error( in main()
69 throw new Error("WKC ID " + well_known_id + " is not odd!"); in main()
/art/test/2021-InvokeStatic-Inlining/src/
DMain.java22 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
28 throw new Error("Expected: " + expected + ", found: " + result); in assertDoubleEquals()
34 throw new Error("Expected: " + expected + ", found: " + result); in assertFloatEquals()
40 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()
/art/test/2020-InvokeVirtual-Inlining/src/
DMain.java22 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
28 throw new Error("Expected: " + expected + ", found: " + result); in assertDoubleEquals()
34 throw new Error("Expected: " + expected + ", found: " + result); in assertFloatEquals()
40 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()
/art/test/594-load-string-regression/src/
DMain.java31 if (doThrow) { throw new Error(); } in $noinline$test()
64 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
73 if (doThrow) { throw new Error(); } in $noinline$printString()
/art/test/432-optimizing-cmp/src/
DMain.java196 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
202 throw new Error("Expected: " + a + " < " + b); in expectLt()
208 throw new Error("Expected: " + a + " > " + b); in expectGt()
214 throw new Error("Expected: " + a + " == " + b); in expectEq()
220 throw new Error("Expected: " + a + " < " + b); in expectLt()
226 throw new Error("Expected: " + a + " > " + b); in expectGt()
232 throw new Error("Not expecting: " + a + " < " + b); in expectFalse()
235 throw new Error("Not expecting: " + a + " > " + b); in expectFalse()
241 throw new Error("Expected: " + a + " == " + b); in expectEq()
247 throw new Error("Expected: " + a + " < " + b); in expectLt()
[all …]
/art/test/173-missing-field-type/src-art/
DMain.java36 throw new Error("Expected NoClassDefFoundError"); in testStoreObject()
42 throw new Error("Unexpected " + e); in testStoreObject()
45 throw new Error("Unexpected " + e); in testStoreObject()
/art/test/686-get-this/src/
DMain.java30 throw new Error("Expected null"); in main()
36 throw new Error("Expected 1, got " + a); in main()
39 throw new Error("Expected null"); in main()
/art/test/674-hotness-compiled/src/
DMain.java35 throw new Error("Expected hotness counter to be updated"); in main()
41 throw new Error("Expected counter " + newCounter + " to be larger than " + counter); in main()
48 throw new Error("Expected counter " + newCounter + " to be larger than " + counter); in main()
/art/test/560-packed-switch/src/
DMain.java25 throw new Error("Cannot happen"); in main()
27 throw new Error("Cannot happen"); in main()
/art/test/638-checker-inline-cache-intrinsic/src/
DMain.java77 throw new Error("Expected x"); in test()
80 throw new Error("Expected b"); in test()
83 throw new Error("Expected false"); in test()
/art/test/622-checker-bce-regressions/src/
DMain.java32 throw new Error("Null"); in doNotVisitAfterForwardBCE()
66 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
71 throw new Error("FAIL"); in fail()
/art/test/608-checker-unresolved-lse/src/
DMain.java47 throw new Error("Expected 42, got " + f.iField); in instanceFieldTest()
77 throw new Error("Expected 43, got " + a); in instanceFieldTest2()
98 throw new Error("Expected 43, got " + Foo.sField); in staticFieldTest()
/art/test/118-noimage-dex2oat/src/
DMain.java32 throw new Error("Image with dex2oat disabled runs with an oat file"); in main()
34 throw new Error("Image with dex2oat enabled runs without an oat file"); in main()
37 throw new Error("Image with dex2oat disabled runs with an image file"); in main()
39 throw new Error("Image with dex2oat enabled runs without an image file"); in main()
/art/test/592-checker-regression-bool-input/src/
DMain.java31 throw new Error("Expected true"); in assertTrue()
37 throw new Error("Expected false"); in assertFalse()
58 throw new Error(e); in main()
/art/test/411-optimizing-arith/src/
DDivTest.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/565-checker-doublenegbitwise/src/
DMain.java23 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
29 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()
35 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals()
46 throw new Error(ex); in $noinline$runSmaliTest()
/art/test/536-checker-intrinsic-optimization/src/
DMain.java35 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
41 throw new Error("Expected: " + expected + ", found: " + result); in assertBooleanEquals()
47 throw new Error("Expected: " + expected + ", found: " + result); in assertCharEquals()
53 throw new Error("Expected: " + expected + ", found: " + result); in assertStringEquals()
59 throw new Error("Search term: " + searchTerm + ", not found in: " + result); in assertStringContains()
107 throw new Error("Should throw SIOOB."); in main()
114 throw new Error("Should throw SIOOB."); in main()
121 throw new Error("Should throw SIOOB."); in main()
137 throw new Error("Should throw SIOOB."); in main()
146 throw new Error("Should throw SIOOB."); in main()
/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/174-escaping-instance-of-bad-class/src/
DMain.java25 Error badClinit = null; in simpleTest()
28 } catch (Error e) { in simpleTest()
60 Error badClinit = null; in hierarchyTest()
63 } catch (Error e) { in hierarchyTest()
127 if (true) { throw new Error("Bad <clinit>"); }
164 if (true) { throw new Error("Bad <clinit>"); }
/art/test/711-checker-type-conversion/src/
DMain.java21 throw new Error("Expected: " + expected + ", found: " + result); in assertByteEquals()
27 throw new Error("Expected: " + expected + ", found: " + result); in assertShortEquals()
33 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
39 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals()
47 throw new Error("Expected: " + (int)expected + ", found: " + (int)result); in assertCharEquals()
/art/test/636-wrong-static-access/src-ex/
DFoo.java22 throw new Error("Expected IncompatibleClassChangeError"); in doTest()
29 throw new Error("Expected IncompatibleClassChangeError"); in doTest()
/art/test/487-checker-inline-calls/src/
DMain.java22 } catch (Error e) { in main()
48 throw new Error(); in inline3()
/art/test/720-thread-priority/src/
DMain.java31 throw new Error("Expected " + initialPlatformPriority + ", got " + priority); in run()
37 throw new Error("Expected " + maxPlatformPriority + ", got " + priority); in run()
40 throw new Error(e); in run()
/art/test/641-iterations/src/
DMain.java43 throw new Error("failed inside loop"); in verify()
46 throw new Error("failed outside loop"); in verify()
52 throw new Error("failed inside loop"); in verify()
/art/test/534-checker-bce-deoptimization/src/
DMain.java75 throw new Error(); in testPreserveFloat()
92 if (doThrow) { throw new Error(); } in $noinline$FloatFill()
104 throw new Error(); in testPreserveDouble()
121 if (doThrow) { throw new Error(); } in $noinline$DoubleFill()

12345678910>>...21