Home
last modified time | relevance | path

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

/art/test/570-checker-select/src/
DMain.java434 public static void assertEqual(int expected, int actual) { in assertEqual() method in Main
440 public static void assertEqual(float expected, float actual) { in assertEqual() method in Main
447 assertEqual(5, BoolCond_IntVarVar(true, 5, 7)); in main()
448 assertEqual(7, BoolCond_IntVarVar(false, 5, 7)); in main()
449 assertEqual(5, BoolCond_IntVarCst(true, 5)); in main()
450 assertEqual(1, BoolCond_IntVarCst(false, 5)); in main()
451 assertEqual(1, BoolCond_IntCstVar(true, 7)); in main()
452 assertEqual(7, BoolCond_IntCstVar(false, 7)); in main()
454 assertEqual(5L, BoolCond_LongVarVar(true, 5L, 7L)); in main()
455 assertEqual(7L, BoolCond_LongVarVar(false, 5L, 7L)); in main()
[all …]
/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/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/test/563-checker-fakestring/src/
DMain.java26 private static void assertEqual(String expected, String actual) { in assertEqual() method in Main
41 assertEqual(testString, result); in main()
64 assertEqual(testString, result); in main()
70 assertEqual(testString, result); in main()
72 assertEqual(testString, result); in main()
77 assertEqual(testString, result); in main()
79 assertEqual(testString, result); 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/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"})