Home
last modified time | relevance | path

Searched refs:Main (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/art/test/444-checker-nce/src/
DMain.java17 public class Main { class
26 public Main keepTest(Main m) { in keepTest()
37 public Main thisTest() { in thisTest()
50 public Main newInstanceRemoveTest() { in newInstanceRemoveTest()
51 Main m = new Main(); in newInstanceRemoveTest()
64 public Main newArrayRemoveTest() { in newArrayRemoveTest()
65 Main[] ms = new Main[1]; in newArrayRemoveTest()
76 public Main ifRemoveTest(boolean flag) { in ifRemoveTest()
77 Main m = null; in ifRemoveTest()
79 m = new Main(); in ifRemoveTest()
[all …]
/art/test/003-omnibus-opcodes/src/
DCompare.java29 Main.assertTrue(false); in testIntCompare()
31 Main.assertTrue(false); in testIntCompare()
33 Main.assertTrue(false); in testIntCompare()
35 Main.assertTrue(false); in testIntCompare()
37 Main.assertTrue(false); in testIntCompare()
39 Main.assertTrue(false); in testIntCompare()
43 Main.assertTrue(true); in testIntCompare()
45 Main.assertTrue(false); in testIntCompare()
49 Main.assertTrue(false); in testIntCompare()
51 Main.assertTrue(false); in testIntCompare()
[all …]
DArray.java26 Main.assertTrue(bytes[0] == 0); in checkBytes()
27 Main.assertTrue(bytes[1] == -1); in checkBytes()
28 Main.assertTrue(bytes[2] == -2); in checkBytes()
29 Main.assertTrue(bytes[3] == -3); in checkBytes()
30 Main.assertTrue(bytes[4] == -4); in checkBytes()
33 Main.assertTrue(shorts[0] == 20); in checkShorts()
34 Main.assertTrue(shorts[1] == 10); in checkShorts()
35 Main.assertTrue(shorts[2] == 0); in checkShorts()
36 Main.assertTrue(shorts[3] == -10); in checkShorts()
37 Main.assertTrue(shorts[4] == -20); in checkShorts()
[all …]
DIntMath.java35 Main.assertTrue(i1 == 0x44332211); in shiftTest1()
36 Main.assertTrue(i2 == 0xbbaa9988); in shiftTest1()
37 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1()
48 Main.assertTrue(l == 0xbbaa998844332211L); in shiftTest1()
66 Main.assertTrue(result == 0x1122334455667788L); in shiftTest2()
82 Main.assertTrue((int) b == -1); in unsignedShiftTest()
83 Main.assertTrue((int) s == -1); in unsignedShiftTest()
84 Main.assertTrue((int) c == 0x0fff); in unsignedShiftTest()
85 Main.assertTrue(i == 268435455); in unsignedShiftTest()
96 Main.assertTrue(1 << thirtyTwo == 1); in shiftTest3()
[all …]
DSwitch.java11 case -1: Main.assertTrue(false); break; in testSwitch()
12 case 0: Main.assertTrue(false); break; in testSwitch()
14 case 2: Main.assertTrue(false); break; in testSwitch()
15 case 3: Main.assertTrue(false); break; in testSwitch()
16 case 4: Main.assertTrue(false); break; in testSwitch()
17 default: Main.assertTrue(false); break; in testSwitch()
20 case 3: Main.assertTrue(false); break; in testSwitch()
21 case 4: Main.assertTrue(false); break; in testSwitch()
29 case 0x12345679: Main.assertTrue(false); break; in testSwitch()
30 default: Main.assertTrue(false); break; in testSwitch()
[all …]
DFloatMath.java33 Main.assertTrue(i == 1234); in convTest()
37 Main.assertTrue(i == -1234); in convTest()
42 Main.assertTrue(l == 1238); in convTest()
46 Main.assertTrue(l == -1238); in convTest()
51 Main.assertTrue(d > 1238.567 && d < 1238.568); in convTest()
56 Main.assertTrue(i == 1234); in convTest()
60 Main.assertTrue(i == -1234); in convTest()
65 Main.assertTrue(l == 5678956789L); in convTest()
69 Main.assertTrue(l == -5678956789L); in convTest()
74 Main.assertTrue(f > 1238.567 && f < 1238.568); in convTest()
[all …]
DClasses.java27 Main.assertTrue(!wantSub); in subFunc()
37 Main.assertTrue(thisRef instanceof Classes); in checkCast()
39 Main.assertTrue(moreRef instanceof Classes); in checkCast()
42 Main.assertTrue(moreRef instanceof MoreClasses); in checkCast()
43 Main.assertTrue(!(thisRef instanceof MoreClasses)); in checkCast()
47 Main.assertTrue(false); in checkCast()
51 Main.assertTrue(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7)); in checkCast()
53 Main.assertTrue(!(thisRef instanceof MoreClasses)); in checkCast()
58 Main.assertTrue(false); in checkCast()
62 Main.assertTrue(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7)); in checkCast()
[all …]
DInstField.java41 Main.assertTrue(false); in nullCheck()
47 Main.assertTrue(false); in nullCheck()
53 Main.assertTrue(false); in nullCheck()
59 Main.assertTrue(false); in nullCheck()
89 Main.assertTrue(mBoolean1); in checkFields()
90 Main.assertTrue(!mBoolean2); in checkFields()
91 Main.assertTrue(mByte1 == 127); in checkFields()
92 Main.assertTrue(mByte2 == -128); in checkFields()
93 Main.assertTrue(mChar1 == 32767); in checkFields()
94 Main.assertTrue(mChar2 == 65535); in checkFields()
[all …]
DStaticField.java57 Main.assertTrue(mBoolean1); in checkFields()
58 Main.assertTrue(!mBoolean2); in checkFields()
59 Main.assertTrue(mByte1 == 127); in checkFields()
60 Main.assertTrue(mByte2 == -128); in checkFields()
61 Main.assertTrue(mChar1 == 32767); in checkFields()
62 Main.assertTrue(mChar2 == 65535); in checkFields()
63 Main.assertTrue(mShort1 == 32767); in checkFields()
64 Main.assertTrue(mShort2 == -32768); in checkFields()
65 Main.assertTrue(mInt1 == 65537); in checkFields()
66 Main.assertTrue(mInt2 == -65537); in checkFields()
[all …]
DThrow.java33 Main.assertTrue(false); in one()
39 Main.assertTrue(false); in one()
59 Main.assertTrue(gotA); in twoA()
60 Main.assertTrue(!gotN); in twoA()
61 Main.assertTrue(!gotWeird); in twoA()
81 Main.assertTrue(!gotA); in twoN()
82 Main.assertTrue(gotN); in twoN()
83 Main.assertTrue(!gotWeird); in twoN()
95 Main.assertTrue(false); in rethrow()
98 Main.assertTrue(false); in rethrow()
[all …]
DUnresTest1.java11 Main.assertTrue(false); in run()
17 Main.assertTrue(false); in run()
23 Main.assertTrue(false); in run()
30 Main.assertTrue(false); in run()
36 Main.assertTrue(false); in run()
43 Main.assertTrue(false); in run()
49 Main.assertTrue(false); in run()
56 Main.assertTrue(false); in run()
62 Main.assertTrue(false); in run()
69 Main.assertTrue(false); in run()
[all …]
DUnresTest2.java13 Main.assertTrue(false); in checkCasts()
19 Main.assertTrue(false); in checkCasts()
34 Main.assertTrue(false); in run()
36 Main.assertTrue(ncdfe.getCause() instanceof ClassNotFoundException); in run()
42 Main.assertTrue(false); in run()
51 Main.assertTrue(false); in run()
DMethodCall.java29 Main.assertTrue(val == 7); in tryThing()
46 Main.assertTrue(a0 == 0); in manyArgs()
47 Main.assertTrue(a9 > 8.99 && a9 < 9.01); in manyArgs()
48 Main.assertTrue(a16 == -16); in manyArgs()
49 Main.assertTrue(a25 == 25); in manyArgs()
50 Main.assertTrue(a29.equals("twenty nine")); in manyArgs()
63 Main.assertTrue(false); in run()
/art/test/106-exceptions2/src/
DMain.java17 class Main { class
22 int noThrow(Main nonNullA, in noThrow()
23 Main nonNullB, in noThrow()
24 Main nonNullC) { in noThrow()
56 int checkThrow(Main nonNullA, in checkThrow()
57 Main nonNullB, in checkThrow()
58 Main nonNullC, in checkThrow()
59 Main nullA, in checkThrow()
60 Main nullB, in checkThrow()
61 Main nullC) { in checkThrow()
[all …]
/art/test/054-uncaught/
Dexpected.txt4 at Main.catchTheUncaught(Main.java:63)
5 at Main$Helper.run(Main.java:74)
9 at Main.catchTheUncaught(Main.java:63)
10 at Main$Helper.run(Main.java:74)
14 at Main.catchTheUncaught(Main.java:63)
15 at Main$Helper.run(Main.java:74)
19 at Main.catchTheUncaught(Main.java:63)
20 at Main.main(Main.java:26)
/art/test/100-reflect2/src/
DMain.java20 class Main { class
33 f = Main.class.getDeclaredField("z"); in testFieldReflection()
35 f = Main.class.getDeclaredField("b"); in testFieldReflection()
37 f = Main.class.getDeclaredField("c"); in testFieldReflection()
39 f = Main.class.getDeclaredField("d"); in testFieldReflection()
41 f = Main.class.getDeclaredField("f"); in testFieldReflection()
43 f = Main.class.getDeclaredField("i"); in testFieldReflection()
45 f = Main.class.getDeclaredField("j"); in testFieldReflection()
47 f = Main.class.getDeclaredField("s"); in testFieldReflection()
50 f = Main.class.getDeclaredField("z"); in testFieldReflection()
[all …]
/art/test/008-exceptions/
Dexpected.txt3 at Main.catchAndRethrow(Main.java:58)
4 at Main.exceptions_007(Main.java:41)
5 at Main.main(Main.java:49)
7 at Main.throwNullPointerException(Main.java:65)
8 at Main.catchAndRethrow(Main.java:55)
/art/test/408-move-bug/src/
DMain.java17 public class Main { class
27 Main foo1 = create(); in crash()
28 Main foo2 = create(); in crash()
29 Main foo3 = create(); in crash()
30 Main foo4 = create(); in crash()
47 Main foo1 = create(); in npe()
48 Main foo2 = create(); in npe()
49 Main foo3 = create(); in npe()
50 Main foo4 = create(); in npe()
58 static Main create() { in create()
[all …]
/art/test/420-const-class/
Dexpected.txt1 class Main
2 class Main
3 class Main$Other
4 class Main$Other
9 class Main$OtherWithClinit
11 class Main$OtherWithClinit
12 class Main$OtherWithClinit2
15 class Main$OtherWithClinit2
/art/test/439-npe/src/
DMain.java17 public class Main { class
29 public static void $opt$setObjectField(Main m) { in $opt$setObjectField()
33 public static void $opt$setIntField(Main m) { in $opt$setIntField()
37 public static void $opt$setFloatField(Main m) { in $opt$setFloatField()
41 public static void $opt$setLongField(Main m) { in $opt$setLongField()
45 public static void $opt$setDoubleField(Main m) { in $opt$setDoubleField()
49 public static void $opt$setByteField(Main m) { in $opt$setByteField()
53 public static void $opt$setBooleanField(Main m) { in $opt$setBooleanField()
57 public static void $opt$setCharField(Main m) { in $opt$setCharField()
61 public static void $opt$setShortField(Main m) { in $opt$setShortField()
[all …]
/art/test/478-checker-clinit-check-pruning/
Dexpected.txt1 Main$ClassWithClinit1's static initializer
2 Main$ClassWithClinit2's static initializer
3 Main$ClassWithClinit3's static initializer
4 Main$ClassWithClinit4's static initializer
5 Main$ClassWithClinit5's static initializer
6 Main$ClassWithClinit6's static initializer
/art/test/519-bound-load-class/src/
DMain.java17 public class Main { class
27 Object o = Main.class; in testInstanceOf()
28 if (o instanceof Main) { in testInstanceOf()
29 System.out.println((Main)o); in testInstanceOf()
34 Object o = Main.class; in testNull()
36 System.out.println((Main)o); in testNull()
/art/test/038-inner-null/
Dexpected.txt2 java.lang.NullPointerException: Attempt to invoke virtual method 'void Main$Blort.repaint()' on a n…
3 at Main$Special.callInner(Main.java:31)
4 at Main.main(Main.java:20)
/art/test/462-checker-inlining-across-dex-files/src/
DMain.java22 public class Main { class
156 return Main.class; in getOtherClass()
185 if (inlineMainClass() != Main.class) { in main()
186 throw new Error("Expected " + Main.class); in main()
189 if (inlineOtherDexCallingMain() != Main.class) { in main()
190 throw new Error("Expected " + Main.class); in main()
/art/test/074-gc-thrash/src/
DMain.java22 public class Main { class
71 ClassLoader myLoader = Main.class.getClassLoader(); in getDumpHprofDataMethod()
165 Main.startupDelay(); in run()
170 while (!Main.quit) { in run()
174 Main.sleep(400); in run()
181 if (Main.DEBUG) in run()
208 Main.startupDelay(); in run()
210 while (!Main.quit) { in run()
237 if (Main.DEBUG) in run()
310 Main.sleep(100); in dive()
[all …]

12345678910>>...14