Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 106) sorted by relevance

12345

/art/test/201-built-in-except-detail-messages/src/
DMain.java45 private static void fail() { in fail() method in Main
57 fail(); in arrayAccess()
65 fail(); in arrayAccess()
73 fail(); in arrayAccess()
81 fail(); in arrayAccess()
89 fail(); in arrayAccess()
97 fail(); in arrayAccess()
108 fail(); in arrayStore()
118 fail(); in arrayStore()
128 fail(); in arrayStore()
[all …]
/art/test/957-methodhandle-transforms/src/
DMain.java53 fail("Unexpected return type for handle: " + handle + in testThrowException()
60 fail("Expected an exception of type: java.lang.IllegalArgumentException"); in testThrowException()
63 fail("Wrong exception: expected " + iae + " but was " + expected); in testThrowException()
82 fail(); in testDropArguments()
103 fail(); in testDropArguments()
119 fail(); in testDropArguments()
126 fail(); in testDropArguments()
132 fail(); in testDropArguments()
275 fail("Unexpected value: " + value); in testArrayElementGetter()
280 fail(); in testArrayElementGetter()
[all …]
/art/test/1948-obsolete-const-method-handle/util-src/
Dbuild-classes17 function fail() { function
23 fail "ANDROID_BUILD_TOP is not defined. Try running 'lunch' first."
36 …SPATH}" -d "${BUILD_PATH}" Main.java art/*.java art/constmethodhandle/*.java) || fail "javac error"
38 …BUILD_PATH}" art.constmethodhandle.TestGenerator "${BUILD_PATH}" "$D8") || fail "generator failure"
40 (cd ${BUILD_PATH} && find . -name "TestGenerator*.class" | xargs rm) || fail "Cleanup failure"
/art/test/1937-transform-soft-fail/
DAndroid.bp3 // Build rules for ART run-test `1937-transform-soft-fail`.
16 name: "art-run-test-1937-transform-soft-fail",
21 ":art-run-test-1937-transform-soft-fail-expected-stdout",
22 ":art-run-test-1937-transform-soft-fail-expected-stderr",
28 name: "art-run-test-1937-transform-soft-fail-expected-stdout",
29 out: ["art-run-test-1937-transform-soft-fail-expected-stdout.txt"],
36 name: "art-run-test-1937-transform-soft-fail-expected-stderr",
37 out: ["art-run-test-1937-transform-soft-fail-expected-stderr.txt"],
/art/test/582-checker-bce-length/src/
DMain.java68 int fail = 0; in main() local
72 fail++; in main()
74 expectEquals(1, fail); in main()
83 fail++; in main()
85 expectEquals(1, fail); in main()
/art/test/956-methodhandles/src/
DMain.java171 fail(); in testfindSpecial_invokeSuperBehaviour()
177 fail(); in testfindSpecial_invokeSuperBehaviour()
318 fail(); in testfindVirtual()
377 fail(); in testfindVirtual()
387 fail(); in testfindStatic()
392 fail(); in testfindStatic()
397 fail(); in testfindStatic()
402 fail(); in testfindStatic()
461 fail(); in testUnreflects()
472 fail(); in testUnreflects()
[all …]
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTest.java105 fail("Expected a " + expectedException + ", but not raised"); in assertThrows()
108 fail("Expected a " + expectedException + ", but got a " + e.getClass(), e); in assertThrows()
142 fail("Unreachable code"); in failUnreachable()
155 fail("Unexpected exception", e); in run()
161 collector.fail(lazyErrorLog.toString()); in run()
178 private void fail(String message) { in fail() method in VarHandleUnitTest
182 private void fail(String message, String detail) { in fail() method in VarHandleUnitTest
192 private void fail(String message, Exception e) { in fail() method in VarHandleUnitTest
/art/test/odsign/test-src/com/android/tests/odsign/
DCompOsTestUtils.java22 import static org.junit.Assert.fail;
94 fail("Failing due to unexpected job state: " + result); in waitForJobToBeScheduled()
100 fail("Timed out waiting for the job to be scheduled"); in waitForJobToBeScheduled()
114 fail("Failing due to unexpected job state: " + result); in waitForJobExit()
117 fail("Timed out waiting for the job to complete"); in waitForJobExit()
/art/tools/checker/file_format/c1visualizer/
Dparser.py48 Logger.fail("Expected output group name", filename, line_no)
62 Logger.fail("Empty method name in output", filename, line_no)
92 Logger.fail("Expected method header", filename, line_no)
99 Logger.fail("C1visualizer line not inside a group", filename, line_no)
110 Logger.fail("C1visualizer line not inside a group", c1_file.base_file_name, line_no)
Dstruct.py55 Logger.fail("C1visualizer pass does not have a name", self.filename, self.start_line_no)
57 Logger.fail("C1visualizer pass does not have a body", self.filename, self.start_line_no)
/art/test/959-invoke-polymorphic-accessors/src/
DMain.java76 public static void fail() throws Throwable{ in fail() method in Main.Tester
723 fail(); in main()
727 fail(); in main()
731 fail(); in main()
737 fail(); in main()
741 fail(); in main()
745 fail(); in main()
763 fail(); in testStaticGetter()
767 fail(); in testStaticGetter()
771 fail(); in testStaticGetter()
[all …]
/art/odrefresh/
Dodr_metrics_record_test.cc49 ASSERT_FALSE(ofs.fail()); in TEST_F()
80 ASSERT_TRUE(ifs.fail()); in TEST_F()
94 ASSERT_TRUE(ifs.fail()); in TEST_F()
108 ASSERT_TRUE(ofs.fail()); in TEST_F()
/art/test/021-string2/src/junit/framework/
DAssert.java20 fail(message); in assertTrue()
46 static public void fail(String message) { in fail() method in Assert
55 static public void fail() { in fail() method in Assert
56 fail(null); in fail()
276 fail(formatted+"expected not same"); in failSame()
283 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">"); in failNotSame()
287 fail(format(message, expected, actual)); in failNotEquals()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java20 fail(message); in assertTrue()
46 static public void fail(String message) { in fail() method in Assert
55 static public void fail() { in fail() method in Assert
56 fail(null); in fail()
276 fail(formatted+"expected not same"); in failSame()
283 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">"); in failNotSame()
287 fail(format(message, expected, actual)); in failNotEquals()
/art/test/716-jli-jit-samples/src-art/
DMain.java69 private static void fail() { in fail() method in Main
74 private static void fail(String message) { in fail() method in Main
101 fail(); in testMethodHandleCounters()
129 fail(); in testVarHandleCounters()
/art/test/622-checker-bce-regressions/src/
DMain.java50 fail(); in $noinline$regressionTest123284765()
70 private static void fail() { in fail() method in Main
/art/test/1959-redefine-object-instrument/
Dinfo.txt8 of the checks fail to account for obsolete methods and can fail soundness
/art/test/800-smali/smali/
Db_121245951_3.smali26 # If the lock fail at the return-void above merged into the catch
27 # handler, this will fail the class.
Db_27799205_4.smali4 # A class with an unresolved array type should not fail hard (unless it's a primitive-type access).
34 # Test aput-object: v0[v2] = v1. Should fail for v0 not being an array.
Db_27799205_5.smali4 # A class with an unresolved array type should not fail hard (unless it's a primitive-type access).
34 # Test aput-object: v0[v2] = v1. Should fail for v0 not being an array.
/art/test/998-redefine-use-after-free/
Dinfo.txt11 this test will fail a DCHECK on debug builds, segfault on x86_64 hosts and have
12 redefinition of LDexCacheSmash$Transform; erroneously fail with
/art/tools/checker/
Dchecker.py69 Logger.fail('Pass "{}" not found in the output'.format(pass_name))
78 Logger.fail("No source path provided")
90 Logger.fail('Source path "{}" not found'.format(path))
/art/test/636-wrong-static-access/
Drun20 exec ${RUN} $@ --verify-soft-fail
/art/test/674-hiddenapi/
Drun22 exec ${RUN} $@ --verify-soft-fail --no-secondary-compilation
/art/test/413-regalloc-regression/
Dinfo.txt2 fail compiling removeElementAt in x86.

12345