Home
last modified time | relevance | path

Searched refs:TestApplication (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/internal/
DClassNameResolverTest.java4 import com.xtremelabs.robolectric.TestApplication;
12 …assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs.robolectric… in shouldResolveClassesBySimpleName()
17 …assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs.robolectric… in shouldResolveClassesByDottedSimpleName()
22 …assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs.robolectric… in shouldResolveClassesByFullyQualifiedName()
27 …assertEquals(TestApplication.class, new ClassNameResolver<Application>("com.xtremelabs", ".robolec… in shouldResolveClassesByPartiallyQualifiedName()
/external/r8/src/test/java/com/android/tools/r8/ir/
DInlineTest.java27 TestApplication codeForMethodReplaceTest(int a, int b) { in codeForMethodReplaceTest()
87 return new SmaliTestBase.TestApplication(application, method, code, in codeForMethodReplaceTest()
93 TestApplication test = codeForMethodReplaceTest(a, b); in runInlineTest()
124 TestApplication codeForMethodReplaceReturnVoidTest(int a, int b) { in codeForMethodReplaceReturnVoidTest()
167 return new TestApplication(application, method, code, in codeForMethodReplaceReturnVoidTest()
174 TestApplication test = codeForMethodReplaceReturnVoidTest(1, 2); in inlineReturnVoid()
190 TestApplication codeForMultipleMethodReplaceTest(int a, int b) { in codeForMultipleMethodReplaceTest()
258 return new TestApplication(application, method, code, in codeForMultipleMethodReplaceTest()
264 TestApplication test = codeForMultipleMethodReplaceTest(a, b); in runInlineMultipleTest()
312 TestApplication codeForMethodReplaceTestWithCatchHandler(int a, int b, boolean twoGuards) { in codeForMethodReplaceTestWithCatchHandler()
[all …]
DSplitBlockTest.java32 TestApplication codeWithoutCatchHandlers() { in codeWithoutCatchHandlers()
67 return new TestApplication(application, method, code, valueNumberGenerator, options); in codeWithoutCatchHandlers()
77 TestApplication test = codeWithoutCatchHandlers(); in noCatchHandlers()
111 TestApplication test = codeWithoutCatchHandlers(); in noCatchHandlersSplitThree()
139 TestApplication codeWithCatchHandlers(boolean shouldThrow, boolean twoGuards) { in codeWithCatchHandlers()
184 return new TestApplication(application, method, code, valueNumberGenerator, options); in codeWithCatchHandlers()
200 TestApplication test = codeWithCatchHandlers(codeThrows, twoGuards); in runCatchHandlerTest()
238 TestApplication test = codeWithCatchHandlers(codeThrows, twoGuards); in runCatchHandlerSplitThreeTest()
272 TestApplication codeWithIf(boolean hitTrueBranch) { in codeWithIf()
309 return new TestApplication(application, method, code, valueNumberGenerator, options); in codeWithIf()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java513 TestApplication application = new TestApplication(); in testAddDelayedShutdownHook_success()
524 TestApplication application = new TestApplication(); in testAddDelayedShutdownHook_interrupted()
533 TestApplication application = new TestApplication(); in testGetExitingExcutorService_executorSetToUseDaemonThreads()
541 TestApplication application = new TestApplication(); in testGetExitingExcutorService_executorDelegatesToOriginal()
550 TestApplication application = new TestApplication(); in testGetExitingExcutorService_shutdownHookRegistered()
560 TestApplication application = new TestApplication(); in testGetExitingScheduledExcutorService_executorSetToUseDaemonThreads()
567 TestApplication application = new TestApplication(); in testGetExitingScheduledExcutorService_executorDelegatesToOriginal()
577 TestApplication application = new TestApplication(); in testGetScheduledExitingExcutorService_shutdownHookRegistered()
612 private static class TestApplication extends Application { class in MoreExecutorsTest
/external/r8/src/test/examples/multidex002/
DTestApplication.java11 public class TestApplication extends MultiDexApplication { class
19 return getSoleAnnotation(TestApplication.class); in getAnnotationWithEnum()
Dref-list-1.txt14 Lmultidex002/TestApplication;
DMainActivity.java76 return ((AnnotationWithEnum2) TestApplication.annotation2).value().get(); in getAnnotation2Value()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DTestApplication.java5 public class TestApplication extends Application { class
DApplicationResolverTest.java31 assertEquals(TestApplication.class, in shouldReturnSpecifiedApplicationWhenManifestDeclaresAppName()
/external/r8/src/test/java/com/android/tools/r8/smali/
DSmaliTestBase.java294 public class TestApplication { class in SmaliTestBase
303 public TestApplication( in TestApplication() method in SmaliTestBase.TestApplication
312 public TestApplication( in TestApplication() method in SmaliTestBase.TestApplication
/external/clang/utils/
DFuzzTest71 class TestApplication: class
336 ta = TestApplication(tg, t)