Home
last modified time | relevance | path

Searched refs:Assert (Results 1 – 21 of 21) sorted by relevance

/art/test/082-inline-execute/src/
DMain.java17 import junit.framework.Assert;
103 Assert.assertNotNull(Thread.currentThread()); in test_Thread_currentThread()
111 Assert.assertEquals(str0.length(), 0); in test_String_length()
112 Assert.assertEquals(str1.length(), 1); in test_String_length()
113 Assert.assertEquals(str80.length(), 80); in test_String_length()
118 Assert.fail(); in test_String_length()
127 Assert.assertTrue(str0.isEmpty()); in test_String_isEmpty()
128 Assert.assertFalse(str1.isEmpty()); in test_String_isEmpty()
133 Assert.fail(); in test_String_isEmpty()
144 Assert.assertEquals(testStr.length() - 1, 33); // 33 = testStr.length()-1 as a constant. in test_String_charAt()
[all …]
/art/test/021-string2/src/
DMain.java17 import junit.framework.Assert;
32 Assert.assertTrue(test.equals(test)); in main()
33 Assert.assertTrue(test.equals(test1)); in main()
34 Assert.assertFalse(test.equals(test2)); in main()
36 Assert.assertEquals(test.compareTo(test1), 0); in main()
37 Assert.assertTrue(test1.compareTo(test2) > 0); in main()
38 Assert.assertTrue(test2.compareTo(test1) < 0); in main()
40 Assert.assertEquals("".compareTo(""), 0); in main()
41 Assert.assertTrue(test.compareTo("") > 0); in main()
42 Assert.assertTrue("".compareTo(test) < 0); in main()
[all …]
/art/test/476-checker-ctor-fence-redun-elim/src/
DMain.java61 class Assert { class
112 Assert.stringEquals("OneFinal(w0: 1, w1: 2, w2: 3, w3: 0, x: 1)", external); in check()
184 Assert.stringEquals("ThreeFinal(w0: 3, w1: 0, w2: 0, w3: 0, x: 1, y: 1, z: 2)", external); in check()
223 Assert.stringEquals("Base(w0: 0, w1: 0, w2: 0, w3: 0)", external); in check()
224 Assert.stringEquals("Base(w0: 0, w1: 0, w2: 0, w3: 0)", external2); in check()
278 Assert.stringEquals("ThreeFinal(w0: 3, w1: 0, w2: 0, w3: 0, x: 1, y: 1, z: 2)", external); in check()
279 Assert.stringEquals("ThreeFinal(w0: 7, w1: 0, w2: 0, w3: 0, x: 4, y: 5, z: 6)", external2); in check()
325 Assert.stringEquals("Base(w0: 0, w1: 0, w2: 0, w3: 0)", external); in check()
326 Assert.stringEquals("Base(w0: 0, w1: 0, w2: 0, w3: 0)", external2); in check()
368 Assert.stringEquals("[0]", array); in check()
[all …]
/art/tools/ahat/src/test/com/android/ahat/
DDiffTest.java26 import static org.junit.Assert.assertEquals;
27 import static org.junit.Assert.assertNotNull;
28 import static org.junit.Assert.assertNull;
29 import static org.junit.Assert.assertTrue;
DRiTest.java23 import static org.junit.Assert.assertEquals;
24 import static org.junit.Assert.assertNotNull;
DPerformanceTest.java26 import static org.junit.Assert.assertNotNull;
27 import static org.junit.Assert.assertTrue;
DObjectsHandlerTest.java26 import static org.junit.Assert.assertEquals;
27 import static org.junit.Assert.assertTrue;
DHtmlEscaperTest.java21 import static org.junit.Assert.assertEquals;
DSiteTest.java26 import static org.junit.Assert.assertEquals;
27 import static org.junit.Assert.assertNotSame;
28 import static org.junit.Assert.assertSame;
DNativeAllocationTest.java24 import static org.junit.Assert.assertEquals;
DObjectHandlerTest.java24 import static org.junit.Assert.assertNotNull;
DQueryTest.java23 import static org.junit.Assert.assertEquals;
DInstanceTest.java31 import static org.junit.Assert.assertEquals;
32 import static org.junit.Assert.assertFalse;
33 import static org.junit.Assert.assertNotNull;
34 import static org.junit.Assert.assertNull;
35 import static org.junit.Assert.assertTrue;
DDiffFieldsTest.java28 import static org.junit.Assert.assertEquals;
29 import static org.junit.Assert.assertNull;
DProguardMapTest.java24 import static org.junit.Assert.assertEquals;
DDominatorsTest.java28 import static org.junit.Assert.assertEquals;
/art/tools/class2greylist/test/src/com/android/class2greylist/
DApiResolverTest.java21 import static org.testng.Assert.expectThrows;
22 import static org.testng.Assert.assertThrows;
DApiComponentsTest.java21 import static org.testng.Assert.assertThrows;
/art/test/082-inline-execute/src/junit/framework/
DAssert.java7 public class Assert { class
11 protected Assert() { in Assert() method in Assert
/art/test/021-string2/src/junit/framework/
DAssert.java7 public class Assert { class
11 protected Assert() { in Assert() method in Assert
/art/tools/
Dlibcore_failures.txt20 description: "Assert.java differences between vogar and junit.",