Home
last modified time | relevance | path

Searched refs:expected (Results 276 – 300 of 402) sorted by relevance

1...<<11121314151617

/art/tools/class2greylist/src/com/android/class2greylist/
DUnsupportedAppUsageAnnotationHandler.java107 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/
DMain.java79 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/
DTestVarious.java385 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/
DMain.java292 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/
DHaddByte.java256 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()
DHaddOther.java179 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/
Dinfo.txt2 compilation) by a static field. The VM is expected to detect the conflict
/art/test/071-dexfile/
Dinfo.txt1 Exercise some Dalvik-specific DEX file features. This is not expected to
/art/compiler/linker/
Dlinker_patch_test.cc156 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/
Dparsed_options_test.cc82 #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/
DMain.java19 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/
DTest989.java203 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/
DZeroTests.java37 } catch (ArithmeticException expected) { in longTest()
/art/test/530-checker-lse/src/
DMain.java1380 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/
Dexpected.txt6 Caught a ClassCastException (expected)
/art/test/984-obsolete-invoke/
Dexpected.txt10 Caught expected error from attempting to invoke an obsolete method.
/art/test/564-checker-bitcount/src/
DMain.java199 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/
DMain.java152 public static void expect(boolean expected, boolean actual) { in expect() argument
153 if (expected != actual) { in expect()
/art/libartbase/base/
Dbit_table_test.cc158 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/
Drun-test125 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/
DMain.java121 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/
DMain.java18 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/
Dinfo.txt8 This test is not expected to work for the reference implementation.
/art/test/122-npe/src/
DMain.java574 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/
Dinfo.txt4 caught (and throws a NullPointerException as expected), instead of

1...<<11121314151617