Home
last modified time | relevance | path

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

12

/art/test/082-inline-execute/src/
DMain.java17 import junit.framework.Assert;
108 Assert.assertNotNull(Thread.currentThread()); in test_Thread_currentThread()
116 Assert.assertEquals(str0.length(), 0); in test_String_length()
117 Assert.assertEquals(str1.length(), 1); in test_String_length()
118 Assert.assertEquals(str80.length(), 80); in test_String_length()
123 Assert.fail(); in test_String_length()
132 Assert.assertTrue(str0.isEmpty()); in test_String_isEmpty()
133 Assert.assertFalse(str1.isEmpty()); in test_String_isEmpty()
138 Assert.fail(); in test_String_isEmpty()
149 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;
DObjectsHandlerTest.java26 import static org.junit.Assert.assertEquals;
27 import static org.junit.Assert.assertTrue;
DPerformanceTest.java26 import static org.junit.Assert.assertNotNull;
27 import static org.junit.Assert.assertTrue;
DSiteTest.java26 import static org.junit.Assert.assertEquals;
27 import static org.junit.Assert.assertNotSame;
28 import static org.junit.Assert.assertSame;
DHtmlEscaperTest.java21 import static org.junit.Assert.assertEquals;
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;
DDominatorsTest.java28 import static org.junit.Assert.assertEquals;
DProguardMapTest.java24 import static org.junit.Assert.assertEquals;
/art/artd/tests/src/com/android/art/
DArtdIntegrationTests.java26 import org.junit.Assert;
59 Assert.assertTrue(mArtd.isAlive()); in testLiveness()
/art/test/update-rollback/src/com/android/tests/apex/art/
DBrokenArtApexUpdateRollbackHostTest.java19 import static org.junit.Assert.assertEquals;
20 import static org.junit.Assert.assertNotNull;
DArtApexTestUtils.java22 import static org.junit.Assert.assertNotNull;
/art/libnativeloader/test/src/android/test/lib/
DTestUtils.java20 import static org.junit.Assert.assertThrows;
/art/test/odsign/test-src/com/android/tests/odsign/
DOnDeviceSigningHostTest.java19 import static org.junit.Assert.assertTrue;
DActivationTest.java19 import static org.junit.Assert.assertTrue;
DCompOsTestUtils.java21 import static org.junit.Assert.fail;
/art/test/021-string2/src/junit/framework/
DAssert.java7 public class Assert { class
11 protected Assert() { in Assert() method in Assert
/art/test/082-inline-execute/src/junit/framework/
DAssert.java7 public class Assert { class
11 protected Assert() { in Assert() method in Assert

12