/art/tools/class2greylist/src/com/android/class2greylist/ |
D | UnsupportedAppUsageAnnotationHandler.java | 107 String expected = property.getValue().stringifyValue(); in handleAnnotation() local 109 if (!isBridgeMethod && !signature.equals(expected)) { in handleAnnotation() 112 + "Generated: %s", expected, signature); in handleAnnotation()
|
/art/test/693-vdex-inmem-loader-evict/src/ |
D | Main.java | 79 private static <T> void check(T expected, T actual, String message) { in check() argument 80 if (!expected.equals(actual)) { in check() 81 System.err.println("ERROR: " + message + " (expected=" + expected.toString() + in check()
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestVarious.java | 385 private static void expectEquals(int expected, int result) { in expectEquals() argument 386 if (expected != result) { in expectEquals() 387 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|
/art/test/570-checker-osr/src/ |
D | Main.java | 292 public static void assertIntEquals(int expected, int result) { in assertIntEquals() argument 293 if (expected != result) { in assertIntEquals() 294 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals()
|
/art/test/646-checker-simd-hadd/src/ |
D | HaddByte.java | 256 private static void expectEquals(int expected, int result) { in expectEquals() argument 257 if (expected != result) { in expectEquals() 258 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|
D | HaddOther.java | 179 private static void expectEquals(int expected, int result) { in expectEquals() argument 180 if (expected != result) { in expectEquals() 181 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|
/art/test/073-mismatched-field/ |
D | info.txt | 2 compilation) by a static field. The VM is expected to detect the conflict
|
/art/test/071-dexfile/ |
D | info.txt | 1 Exercise some Dalvik-specific DEX file features. This is not expected to
|
/art/compiler/linker/ |
D | linker_patch_test.cc | 156 bool expected = (i != last_index ? i : 7u) == (j != last_index ? j : 7u); in TEST() local 157 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST() 163 bool expected = (i != last_index ? i : 7u) < (j != last_index ? j : 7u); in TEST() local 164 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j; in TEST()
|
/art/runtime/ |
D | parsed_options_test.cc | 82 #define EXPECT_PARSED_EQ(expected, actual_key) EXPECT_EQ(expected, map.GetOrDefault(actual_key)) in TEST_F() argument 83 #define EXPECT_PARSED_EQ_AS_STRING_VECTOR(expected, actual_key) \ in TEST_F() argument 84 EXPECT_EQ(expected, static_cast<std::vector<std::string>>(map.GetOrDefault(actual_key))) in TEST_F()
|
/art/test/542-bitfield-rotates/src/ |
D | Main.java | 19 public static void assertIntEquals(int expected, int actual) { in assertIntEquals() argument 20 if (expected != actual) { in assertIntEquals() 21 throw new Error("Expected: " + expected + ", found: " + actual); in assertIntEquals() 25 public static void assertLongEquals(long expected, long actual) { in assertLongEquals() argument 26 if (expected != actual) { in assertLongEquals() 27 throw new Error("Expected: " + expected + ", found: " + actual); in assertLongEquals()
|
/art/test/989-method-trace-throw/src/art/ |
D | Test989.java | 203 Class<?> expected = getExpectedError(type, test); in doTest() local 210 if (expected == null) { in doTest() 218 if (expected == null) { in doTest() 220 } else if (!expected.isInstance(t)) { in doTest() 221 throw new Error("Expected error of type " + expected + " not " + t + in doTest() 232 System.out.println("Expected an error of type " + expected + " but got no exception for " in doTest()
|
/art/test/083-compiler-regressions/src/ |
D | ZeroTests.java | 37 } catch (ArithmeticException expected) { in longTest()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 1380 static void assertIntEquals(int result, int expected) { in assertIntEquals() argument 1381 if (expected != result) { in assertIntEquals() 1382 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 1386 static void assertFloatEquals(float result, float expected) { in assertFloatEquals() argument 1387 if (expected != result) { in assertFloatEquals() 1388 throw new Error("Expected: " + expected + ", found: " + result); in assertFloatEquals() 1392 static void assertDoubleEquals(double result, double expected) { in assertDoubleEquals() argument 1393 if (expected != result) { in assertDoubleEquals() 1394 throw new Error("Expected: " + expected + ", found: " + result); in assertDoubleEquals() 1534 } catch (ArrayStoreException expected) { in main()
|
/art/test/009-instanceof/ |
D | expected.txt | 6 Caught a ClassCastException (expected)
|
/art/test/984-obsolete-invoke/ |
D | expected.txt | 10 Caught expected error from attempting to invoke an obsolete method.
|
/art/test/564-checker-bitcount/src/ |
D | Main.java | 199 private static void expectEqualsInt(int expected, int result) { 200 if (expected != result) { 201 throw new Error("Expected: " + expected + ", found: " + result);
|
/art/test/494-checker-instanceof-tests/src/ |
D | Main.java | 152 public static void expect(boolean expected, boolean actual) { in expect() argument 153 if (expected != actual) { in expect()
|
/art/libartbase/base/ |
D | bit_table_test.cc | 158 uint64_t expected = it.first; in TEST() local 160 EXPECT_GE(actual.size_in_bits(), MinimumBitsToStore(expected)); in TEST() 161 for (size_t b = 0; b < actual.size_in_bits(); b++, expected >>= 1) { in TEST() 162 EXPECT_EQ(expected & 1, actual.LoadBit(b)) << "b=" << b; in TEST()
|
/art/test/ |
D | run-test | 125 expected="expected.txt" 866 td_expected="${test_dir}/${expected}" 1012 diff --strip-trailing-cr -q "$expected" "$output" >/dev/null 1019 find $tmp_dir -mindepth 1 ! -regex ".*/\(.*jar\|$output\|$expected\)" | xargs rm -rf 1058 ./$check_cmd "$expected" "$output" 1077 diff --strip-trailing-cr -u "$expected" "$output" 1079 diff --strip-trailing-cr -u "$expected" "$output" | tail -n 10000 1126 --expected-output="$cwd/expected.txt" \
|
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 121 public static void check(boolean expected, boolean actual) { in check() argument 122 if (actual != expected) { in check() 123 throw new Error("Expected " + expected + ", got " + actual); in check()
|
/art/test/449-checker-bce-rem/src/ |
D | Main.java | 18 private static void expectEquals(long expected, long result) { in expectEquals() argument 19 if (expected != result) { in expectEquals() 20 throw new Error("Expected: " + expected + ", found: " + result); in expectEquals()
|
/art/test/087-gc-after-link/ |
D | info.txt | 8 This test is not expected to work for the reference implementation.
|
/art/test/122-npe/src/ |
D | Main.java | 574 static void assertEquals(Object expected, Object actual) { in assertEquals() argument 575 if (!expected.equals(actual)) { in assertEquals() 576 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() 581 static void assertEquals(int expected, int actual) { in assertEquals() argument 582 if (expected != actual) { in assertEquals() 583 throw new AssertionError("Expected " + expected + " got " + actual); in assertEquals()
|
/art/test/1004-checker-volatile-ref-load/ |
D | info.txt | 4 caught (and throws a NullPointerException as expected), instead of
|