Home
last modified time | relevance | path

Searched refs:junit (Results 1 – 25 of 104) sorted by relevance

12345

/system/tools/aidl/tests/java/src/android/aidl/sdkversion/tests/
DAidlJavaVersionTests.java19 import static org.junit.Assert.assertEquals;
20 import static org.junit.Assert.assertFalse;
21 import static org.junit.Assert.assertNotNull;
22 import static org.junit.Assert.assertNull;
23 import static org.junit.Assert.assertTrue;
32 import org.junit.Before;
33 import org.junit.Test;
34 import org.junit.internal.TextListener;
35 import org.junit.runner.JUnitCore;
36 import org.junit.runner.Result;
[all …]
/system/tools/aidl/tests/java/src/android/aidl/permission/tests/
DPermissionTests.java19 import static org.junit.Assert.assertNotNull;
20 import static org.junit.Assert.assertThrows;
27 import org.junit.Before;
28 import org.junit.Test;
29 import org.junit.internal.TextListener;
30 import org.junit.runner.JUnitCore;
31 import org.junit.runner.Result;
32 import org.junit.runner.RunWith;
33 import org.junit.runners.JUnit4;
82 JUnitCore junit = new JUnitCore(); in main() local
[all …]
DPermissionTestsLocal.java20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertThrows;
27 import org.junit.Before;
28 import org.junit.runner.RunWith;
29 import org.junit.runners.JUnit4;
DPermissionTestsRemote.java19 import static org.junit.Assert.assertNotNull;
20 import static org.junit.Assert.assertThrows;
26 import org.junit.Before;
27 import org.junit.runner.RunWith;
28 import org.junit.runners.JUnit4;
/system/tools/aidl/tests/java/src/android/aidl/tests/
DVintfTests.java22 import static org.junit.Assert.assertNotNull;
23 import static org.junit.Assert.assertThat;
24 import static org.junit.Assert.assertTrue;
25 import static org.junit.Assert.fail;
26 import static org.junit.Assume.assumeTrue;
34 import org.junit.Before;
35 import org.junit.Test;
36 import org.junit.runner.RunWith;
37 import org.junit.runners.JUnit4;
DBuiltInTests.java20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertThat;
22 import static org.junit.Assert.assertTrue;
27 import org.junit.Before;
28 import org.junit.Test;
29 import org.junit.runner.RunWith;
30 import org.junit.runners.JUnit4;
DAidlJavaTests.java3 import org.junit.internal.TextListener;
4 import org.junit.runner.JUnitCore;
5 import org.junit.runner.Result;
10 JUnitCore junit = new JUnitCore(); in main() local
11 junit.addListener(new TextListener(System.out)); in main()
12 Result result = junit.run(ExtensionTests.class, GenericTests.class, in main()
DTestVersionedInterface.java20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertThat;
22 import static org.junit.Assert.assertTrue;
30 import org.junit.Before;
31 import org.junit.Rule;
32 import org.junit.Test;
33 import org.junit.rules.ExpectedException;
34 import org.junit.runner.RunWith;
35 import org.junit.runners.JUnit4;
DNestedTypesTests.java20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertThat;
22 import static org.junit.Assume.assumeTrue;
29 import org.junit.Test;
30 import org.junit.runner.RunWith;
31 import org.junit.runners.JUnit4;
DDelegatorTests.java20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertThat;
26 import org.junit.Before;
27 import org.junit.Test;
28 import org.junit.runner.RunWith;
29 import org.junit.runners.JUnit4;
DNullableTests.java22 import static org.junit.Assert.assertNotNull;
23 import static org.junit.Assert.assertThat;
24 import static org.junit.Assert.fail;
25 import static org.junit.Assume.assumeTrue;
34 import org.junit.Before;
35 import org.junit.Test;
36 import org.junit.runner.RunWith;
37 import org.junit.runners.JUnit4;
/system/apex/tests/src/com/android/tests/apex/host/
DMaxSdkTests.java21 import static org.junit.Assume.assumeTrue;
29 import org.junit.After;
30 import org.junit.Before;
31 import org.junit.Rule;
32 import org.junit.Test;
33 import org.junit.rules.RuleChain;
34 import org.junit.rules.TemporaryFolder;
35 import org.junit.runner.RunWith;
DApkInApexTests.java21 import static org.junit.Assume.assumeTrue;
29 import org.junit.After;
30 import org.junit.Before;
31 import org.junit.Rule;
32 import org.junit.Test;
33 import org.junit.rules.RuleChain;
34 import org.junit.rules.TemporaryFolder;
35 import org.junit.runner.RunWith;
DVendorApexTests.java21 import static org.junit.Assert.assertTrue;
22 import static org.junit.Assume.assumeTrue;
33 import org.junit.After;
34 import org.junit.Before;
35 import org.junit.Test;
36 import org.junit.runner.RunWith;
/system/apex/tests/src/com/android/tests/apex/
DApexTargetPrepTest.java22 import org.junit.After;
23 import org.junit.Assert;
24 import org.junit.Before;
25 import org.junit.Test;
26 import org.junit.runner.RunWith;
DApexE2EBaseHostTest.java21 import static org.junit.Assume.assumeTrue;
32 import org.junit.After;
33 import org.junit.Assert;
34 import org.junit.Before;
35 import org.junit.Rule;
36 import org.junit.Test;
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneUsageTest.java19 import org.junit.Test;
23 import static org.junit.Assert.assertEquals;
24 import static org.junit.Assert.assertFalse;
25 import static org.junit.Assert.assertNull;
26 import static org.junit.Assert.assertTrue;
27 import static org.junit.Assert.fail;
DTreeNodeTest.java19 import org.junit.Test;
26 import static org.junit.Assert.assertEquals;
27 import static org.junit.Assert.assertFalse;
28 import static org.junit.Assert.assertNull;
29 import static org.junit.Assert.assertSame;
30 import static org.junit.Assert.assertTrue;
31 import static org.junit.Assert.fail;
DCountryZoneTreeTest.java21 import org.junit.Test;
27 import static org.junit.Assert.assertEquals;
28 import static org.junit.Assert.assertFalse;
29 import static org.junit.Assert.assertNull;
30 import static org.junit.Assert.assertTrue;
31 import static org.junit.Assert.fail;
/system/extras/simpleperf/demo/SimpleperfExampleKotlin/app/src/androidTest/java/simpleperf/example/kotlin/
DExampleInstrumentedTest.kt4 import androidx.test.ext.junit.runners.AndroidJUnit4
6 import org.junit.Test
7 import org.junit.runner.RunWith
9 import org.junit.Assert.*
/system/extras/simpleperf/demo/SimpleperfExampleCpp/app/src/androidTest/java/simpleperf/example/cpp/
DExampleInstrumentedTest.java6 import androidx.test.ext.junit.runners.AndroidJUnit4;
8 import org.junit.Test;
9 import org.junit.runner.RunWith;
11 import static org.junit.Assert.*;
/system/extras/simpleperf/demo/SimpleperfExampleJava/app/src/androidTest/java/simpleperf/example/java/
DExampleInstrumentedTest.java6 import androidx.test.ext.junit.runners.AndroidJUnit4;
8 import org.junit.Test;
9 import org.junit.runner.RunWith;
11 import static org.junit.Assert.*;
/system/gsid/tests/
DDsuGsiToolTest.java19 import static org.junit.Assert.assertFalse;
20 import static org.junit.Assert.assertTrue;
27 import org.junit.After;
28 import org.junit.Before;
29 import org.junit.Test;
30 import org.junit.runner.RunWith;
/system/apex/tests/app/src/com/android/tests/apex/app/
DApkInApexTests.java28 import org.junit.After;
29 import org.junit.Before;
30 import org.junit.Test;
31 import org.junit.runner.RunWith;
32 import org.junit.runners.JUnit4;
DMaxSdkTests.java21 import static org.junit.Assert.assertThrows;
29 import org.junit.Test;
30 import org.junit.runner.RunWith;
31 import org.junit.runners.JUnit4;

12345