1 package android.aidl.tests; 2 3 import org.junit.internal.TextListener; 4 import org.junit.runner.JUnitCore; 5 import org.junit.runner.Result; 6 7 public class AidlJavaTests { 8 main(String[] args)9 public static void main(String[] args) { 10 JUnitCore junit = new JUnitCore(); 11 junit.addListener(new TextListener(System.out)); 12 Result result = junit.run(ExtensionTests.class, GenericTests.class, 13 JavaOnlyImmutableAnnotationTests.class, MapTests.class, NullableTests.class, 14 TestServiceClient.class, TestVersionedInterface.class, UnionTests.class, 15 VintfTests.class, BuiltInTests.class, DelegatorTests.class); 16 17 System.out.println(result.wasSuccessful() ? "TEST SUCCESS" : "TEST FAILURE"); 18 } 19 } 20