Home
last modified time | relevance | path

Searched refs:assertEqual (Results 1 – 15 of 15) sorted by relevance

/art/test/580-crc32/src/
DMain.java48 public static void assertEqual(long expected, long actual) { in assertEqual() method in Main
54 private static void assertEqual(boolean expected, boolean actual) { in assertEqual() method in Main
65 assertEqual(0xD202EF8DL, CRC32Byte(0x0)); in TestCRC32Update()
66 assertEqual(0xD202EF8DL, CRC32Byte(0x0100)); in TestCRC32Update()
67 assertEqual(0xD202EF8DL, CRC32Byte(0x010000)); in TestCRC32Update()
68 assertEqual(0xD202EF8DL, CRC32Byte(0x01000000)); in TestCRC32Update()
69 assertEqual(0xD202EF8DL, CRC32Byte(0xff00)); in TestCRC32Update()
70 assertEqual(0xD202EF8DL, CRC32Byte(0xffff00)); in TestCRC32Update()
71 assertEqual(0xD202EF8DL, CRC32Byte(0xffffff00)); in TestCRC32Update()
72 assertEqual(0xD202EF8DL, CRC32Byte(0x1200)); in TestCRC32Update()
[all …]
/art/test/570-checker-select/src/
DMain.java659 public static void assertEqual(int expected, int actual) { in assertEqual() method in Main
665 public static void assertEqual(float expected, float actual) { in assertEqual() method in Main
672 assertEqual(5, BoolCond_IntVarVar(true, 5, 7)); in main()
673 assertEqual(7, BoolCond_IntVarVar(false, 5, 7)); in main()
674 assertEqual(5, BoolCond_IntVarCst(true, 5)); in main()
675 assertEqual(1, BoolCond_IntVarCst(false, 5)); in main()
676 assertEqual(1, BoolCond_IntCstVar(true, 7)); in main()
677 assertEqual(7, BoolCond_IntCstVar(false, 7)); in main()
679 assertEqual(5L, BoolCond_LongVarVar(true, 5L, 7L)); in main()
680 assertEqual(7L, BoolCond_LongVarVar(false, 5L, 7L)); in main()
[all …]
/art/test/640-checker-integer-valueof/src/
DMain.java52 assertEqual("42", foo(intField)); in main()
53 assertEqual(foo(intField), foo(intField2)); in main()
54 assertEqual("-42", foo2()); in main()
55 assertEqual("42", foo3()); in main()
56 assertEqual("55555", foo4()); in main()
57 assertEqual("55555", foo(intField3)); in main()
58 assertEqual("-129", foo(intFieldMinus129)); in main()
59 assertEqual("-128", foo(intFieldMinus128)); in main()
60 assertEqual(foo(intFieldMinus128), foo(intFieldMinus128)); in main()
61 assertEqual("-127", foo(intFieldMinus127)); in main()
[all …]
/art/test/563-checker-fakestring/src/
DMain.java26 public static void assertEqual(String expected, String actual) { in assertEqual() method in Main
32 public static void assertEqual(byte[] expected, String actual) throws Exception { in assertEqual() method in Main
48 assertEqual(testString, result); in main()
71 assertEqual(testString, result); in main()
77 assertEqual(testString, result); in main()
79 assertEqual(testString, result); in main()
84 assertEqual(testString, result); in main()
86 assertEqual(testString, result); in main()
91 assertEqual(testString, result); in main()
93 assertEqual(testString, result); in main()
[all …]
/art/test/451-regression-add-float/src/
DMain.java21 assertEqual(4, add3(1)); in main()
22 assertEqual(4l, add3(1l)); in main()
23 assertEqual(4f, add3(1f)); in main()
24 assertEqual(4d, add3(1d)); in main()
43 public static void assertEqual(int a, int b) { in assertEqual() method in Main
49 public static void assertEqual(long a, long b) { in assertEqual() method in Main
55 public static void assertEqual(float a, float b) { in assertEqual() method in Main
64 public static void assertEqual(double a, double b) { in assertEqual() method in Main
/art/tools/checker/file_format/checker/
Dtest.py35 self.assertEqual(len(checkFile.testCases), 1)
40 self.assertEqual(len(checkFile.testCases), 1)
41 self.assertEqual(len(checkFile.testCases[0].assertions), 0)
82 self.assertEqual(len(checkerFile.testCases), 1)
84 self.assertEqual(len(testCase.assertions), 1)
89 self.assertEqual(1, len(line.expressions))
93 self.assertEqual(expected, self.parseAssertion(string).toRegex())
96 self.assertEqual(self.parseExpression(string), TestExpression.createPatternFromPlainText(text))
99 self.assertEqual(self.parseExpression(string), TestExpression.createPattern(pattern))
102 self.assertEqual(self.parseExpression(string), TestExpression.createVariableReference(name))
[all …]
/art/test/409-materialized-condition/src/
DMain.java77 public static void assertEqual(boolean expected, boolean actual) { in assertEqual() method in Main
109 assertEqual($noinline$booleanCondition(false), false); in main()
110 assertEqual($noinline$booleanCondition(true), false); in main()
120 assertEqual(int_eq_0_expected[i], $noinline$intEq0(int_inputs[i])); in main()
126 assertEqual(int_ne_0_expected[i], $noinline$intNe0(int_inputs[i])); in main()
132 assertEqual(long_eq_0_expected[i], $noinline$longEq0(long_inputs[i])); in main()
138 assertEqual(long_ne_0_expected[i], $noinline$longNe0(long_inputs[i])); in main()
144 assertEqual(long_eq_cst_expected[i], $noinline$longEqCst(long_inputs[i])); in main()
150 assertEqual(long_ne_cst_expected[i], $noinline$longNeCst(long_inputs[i])); in main()
/art/test/596-app-images/src/
DMain.java65 assertEqual(intern, StaticInternString.intent, "Static encoded literal String not interned."); in main()
66 assertEqual(BootInternedString.boot, BootInternedString.boot.intern(), in main()
71 assertEqual(intern, f.get(null), "String Literals are not interned properly."); in main()
77 assertEqual(StaticInternString.getIntent(), StaticInternString2.getIntent(), in main()
101 assertEqual(StaticInternString.getIntent(), getIntent.invoke(staticInternString), in main()
113 public static void assertEqual(Object a, Object b, String msg) { in assertEqual() method in Main
/art/test/575-checker-string-init-alias/src/
DMain.java27 private static void assertEqual(String expected, String actual) { in assertEqual() method in Main
50 assertEqual("foo", (String)field.get(null)); in main()
65 assertEqual("bar", (String)field.get(null)); in main()
/art/tools/bisection_search/
Dbisection_test.py67 self.assertEqual(res, (None, None))
77 self.assertEqual(res, (self._FAILING_METHOD, None))
82 self.assertEqual(res, (self._FAILING_METHOD, self._FAILING_PASS))
/art/tools/cpp-define-generator/
Dmake_header_test.py46 self.assertEqual(test_output.strip(), make_header.convert(test_input))
/art/tools/checker/file_format/c1visualizer/
Dtest.py41 return self.assertEqual(expectedFile, actualFile)
/art/tools/checker/match/
Dtest.py81 self.assertEqual(env, {"X": "AB"})
83 self.assertEqual(env, {"X": "AxxB"})
/art/test/160-read-barrier-stress/src/
DMain.java240 assertEqual(false, unsafe.compareAndSwapObject(mf, f0000Offset, f1024, f4444)); in testUnsafeCas()
241 assertEqual(false, unsafe.compareAndSwapObject(mf, f0001Offset, f1024, f4444)); in testUnsafeCas()
242 assertEqual(true, unsafe.compareAndSwapObject(mf, f1024Offset, f1024, f4444)); in testUnsafeCas()
243 assertEqual(true, unsafe.compareAndSwapObject(mf, f1024Offset, f4444, f1024)); in testUnsafeCas()
244 assertEqual(false, unsafe.compareAndSwapObject(mf, f1024Offset, f4444, f1024)); in testUnsafeCas()
245 assertEqual(false, unsafe.compareAndSwapObject(mf, f4444Offset, f1024, f4444)); in testUnsafeCas()
246 assertEqual(false, unsafe.compareAndSwapObject(mf, f4998Offset, f1024, f4444)); in testUnsafeCas()
247 assertEqual(false, unsafe.compareAndSwapObject(mf, f4999Offset, f1024, f4444)); in testUnsafeCas()
296 public static void assertEqual(boolean expected, boolean actual) { in assertEqual() method in Main
/art/test/563-checker-fakestring/smali/
DTestCase.smali270 invoke-static {p1, v0}, LMain;->assertEqual([BLjava/lang/String;)V
271 invoke-static {p1, v4}, LMain;->assertEqual([BLjava/lang/String;)V