Home
last modified time | relevance | path

Searched refs:InstrumentationTest (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationSerialTest.java44 private final InstrumentationTest mInstrumentationTest;
54 InstrumentationTest instrumentationTest, Collection<TestDescription> testsToRun) in InstrumentationSerialTest()
68 InstrumentationTest createInstrumentationTest(InstrumentationTest instrumentationTest) in createInstrumentationTest()
70 InstrumentationTest runner = new InstrumentationTest(); in createInstrumentationTest()
92 InstrumentationTest runner = createInstrumentationTest(mInstrumentationTest); in run()
103 InstrumentationTest runner, ITestInvocationListener listener, TestDescription testToRun) in runTest()
DInstrumentationFileTest.java52 private InstrumentationTest mInstrumentationTest = null;
73 InstrumentationTest instrumentationTest, in InstrumentationFileTest()
187 private void runTests(InstrumentationTest runner, ITestInvocationListener listener) in runTests()
213 private void reRunTestsSerially(InstrumentationTest runner, ITestInvocationListener listener) in reRunTestsSerially()
260 InstrumentationTest createInstrumentationTest() { in createInstrumentationTest()
261 return new InstrumentationTest(); in createInstrumentationTest()
DInstalledInstrumentationsTest.java176 private List<InstrumentationTest> mTests = null;
213 List<InstrumentationTest> getTests() { in getTests()
271 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
283 InstrumentationTest t = createInstrumentationTest(); in buildTests()
313 InstrumentationTest test = mTests.get(0); in doRun()
364 InstrumentationTest createInstrumentationTest() { in createInstrumentationTest()
367 InstrumentationTest test = new InstrumentationTest(); in createInstrumentationTest()
DCodeCoverageTestBase.java416 TestRunResult runTest(InstrumentationTest test, ITestInvocationListener listener) in runTest()
425 InstrumentationTest internalCreateTest() { in internalCreateTest()
426 return new InstrumentationTest(); in internalCreateTest()
430 InstrumentationTest createTest(InstrumentationTarget target) { in createTest()
432 InstrumentationTest ret = internalCreateTest(); in createTest()
450 InstrumentationTest createTest(InstrumentationTarget target, TestDescription identifier) { in createTest()
452 InstrumentationTest ret = createTest(target); in createTest()
462 InstrumentationTest createTest(InstrumentationTarget target, int shardIndex, int numShards) { in createTest()
464 InstrumentationTest ret = createTest(target); in createTest()
DCodeCoverageTest.java42 public class CodeCoverageTest extends InstrumentationTest {
DAndroidJUnitTest.java46 public class AndroidJUnitTest extends InstrumentationTest implements IRuntimeHintProvider,
DInstrumentationTest.java68 public class InstrumentationTest implements IDeviceTest, IResumableTest, ITestCollector, class
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationSerialTestTest.java64 final InstrumentationTest mockITest = in testRun()
65 new InstrumentationTest() { in testRun()
82 InstrumentationTest createInstrumentationTest( in testRun()
83 InstrumentationTest instrumentationTest) throws ConfigurationException { in testRun()
112 final InstrumentationTest mockITest = in testRun_runFailure()
113 new InstrumentationTest() { in testRun_runFailure()
126 InstrumentationTest createInstrumentationTest(InstrumentationTest instrumentationTest) in testRun_runFailure()
160 new InstrumentationTest(), new ArrayList<TestDescription>()); in testRun_noDevice()
DMockInstrumentationTest.java24 public class MockInstrumentationTest extends InstrumentationTest {
DInstrumentationFileTestTest.java57 private InstrumentationTest mMockITest;
75 mMockITest = new InstrumentationTest() { in setUp()
111 InstrumentationTest createInstrumentationTest() { in testRun_singleSuccessfulTest()
196 InstrumentationTest createInstrumentationTest() { in testRun_reRunOneFailedToCompleteTest()
305 InstrumentationTest createInstrumentationTest() { in testRun_serialReRunOfTwoFailedToCompleteTests()
380 InstrumentationTest createInstrumentationTest() { in testRun_noSerialReRun()
494 InstrumentationTest createInstrumentationTest() { in testRun_exceedMaxAttempts()
590 InstrumentationTest createInstrumentationTest() { in testRun_parameterized()
DInstrumentationTestTest.java79 private InstrumentationTest mInstrumentationTest;
120 mInstrumentationTest = Mockito.spy(new InstrumentationTest()); in setUp()
704 assertThat(listener).isInstanceOf(InstrumentationTest.FailedTestScreenshotGenerator.class); in testAddScreenshotListener_enabled()
722 assertThat(listener).isInstanceOf(InstrumentationTest.FailedTestLogcatGenerator.class); in testAddLogcatListener_enabled()
733 assertThat(listener).isInstanceOf(InstrumentationTest.FailedTestLogcatGenerator.class); in testAddLogcatListener_setMaxSize()
735 InstrumentationTest.FailedTestLogcatGenerator logcatGenerator = in testAddLogcatListener_setMaxSize()
736 (InstrumentationTest.FailedTestLogcatGenerator) listener; in testAddLogcatListener_setMaxSize()
DCodeCoverageTestBaseTest.java211 InstrumentationTest internalCreateTest() { in internalCreateTest()
212 return new InstrumentationTest() { in internalCreateTest()
417 .runTest(any(InstrumentationTest.class), any(ITestInvocationListener.class));
465 .runTest(any(InstrumentationTest.class), any(ITestInvocationListener.class));
802 InstrumentationTest test = mCoverageTest.createTest(target);
820 InstrumentationTest test = mCoverageTest.createTest(target, 0, 3);
836 InstrumentationTest test = mCoverageTest.createTest(target, shardIndex, numShards);
DInstrumentationTestFuncTest.java58 private InstrumentationTest mInstrumentationTest;
74 mInstrumentationTest = new InstrumentationTest(); in setUp()
DInstalledInstrumentationsTestTest.java180 InstrumentationTest createInstrumentationTest() { in createInstalledInstrumentationsTest()
DAndroidJUnitTestTest.java85 mMockRemoteRunner.addInstrumentationArg(InstrumentationTest.TEST_TIMEOUT_INST_ARGS_KEY, in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstrumentationPreparerTest.java27 import com.android.tradefed.testtype.InstrumentationTest;
43 private InstrumentationTest mMockITest;
62 new InstrumentationTest() { in testRun()
73 InstrumentationTest createInstrumentationTest() { in testRun()
89 new InstrumentationTest() { in testRun_testFailed()
101 InstrumentationTest createInstrumentationTest() { in testRun_testFailed()
/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java31 import com.android.tradefed.testtype.InstrumentationTest;
119 private List<InstrumentationTest> mTests = null;
181 List<InstrumentationTest> getTests() { in getTests()
219 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
223 InstrumentationTest test = createInstrumentationTest(); in buildTests()
279 InstrumentationTest test = mTests.get(0); in doRun()
360 InstrumentationTest createInstrumentationTest() { in createInstrumentationTest()
361 return new InstrumentationTest(); in createInstrumentationTest()
405 shard.mTests = new LinkedList<InstrumentationTest>(); in split()
409 InstrumentationTest test = mTests.remove(0); in split()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstrumentationPreparer.java31 import com.android.tradefed.testtype.InstrumentationTest;
121 final InstrumentationTest test = createInstrumentationTest(); in runInstrumentation()
163 InstrumentationTest createInstrumentationTest() { in createInstrumentationTest()
164 return new InstrumentationTest(); in createInstrumentationTest()
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/
DAppLaunchTest.java31 import com.android.tradefed.testtype.InstrumentationTest;
132 InstrumentationTest i = new InstrumentationTest(); in performLaunchTest()
/tools/tradefederation/core/prod-tests/src/com/android/continuous/
DSmokeTest.java29 import com.android.tradefed.testtype.InstrumentationTest;
41 public class SmokeTest extends InstrumentationTest {
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DAtestRunner.java28 import com.android.tradefed.testtype.InstrumentationTest;
183 if (test instanceof InstrumentationTest) { in addDebugger()
184 ((InstrumentationTest) test).setDebug(true); in addDebugger()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java28 import com.android.tradefed.testtype.InstrumentationTest;
145 InstrumentationTest test = in testLoadTests_testMappingsZip()
146 (InstrumentationTest) configMap.get("arm64-v8a instrument").getTests().get(0); in testLoadTests_testMappingsZip()
DAtestRunnerTest.java34 import com.android.tradefed.testtype.InstrumentationTest;
147 assertTrue(((InstrumentationTest) test).getDebug()); in testWaitForDebugger()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java36 import com.android.tradefed.testtype.InstrumentationTest;
185 InstrumentationTest instr = new InstrumentationTest(); in runInstrumentationTest()