Home
last modified time | relevance | path

Searched refs:testsList (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java79 List<IRemoteTest> testsList = new ArrayList<>(); in testMultiPolling() local
81 testsList.add(new StubTest()); in testMultiPolling()
84 TestsPoolPoller poller1 = new TestsPoolPoller(testsList, tracker); in testMultiPolling()
85 TestsPoolPoller poller2 = new TestsPoolPoller(testsList, tracker); in testMultiPolling()
87 assertEquals(numTests, testsList.size()); in testMultiPolling()
89 assertEquals(numTests - 1, testsList.size()); in testMultiPolling()
91 assertEquals(numTests - 2, testsList.size()); in testMultiPolling()
95 assertTrue(testsList.isEmpty()); in testMultiPolling()
108 List<IRemoteTest> testsList = new ArrayList<>(); in testPollingRun() local
113 testsList.add(test); in testPollingRun()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationFileTestTest.java95 final Collection<TestDescription> testsList = new ArrayList<>(1); in testRun_singleSuccessfulTest() local
97 testsList.add(test); in testRun_singleSuccessfulTest()
114 mInstrumentationFileTest = new InstrumentationFileTest(mMockITest, testsList, true, -1) { in testRun_singleSuccessfulTest()
125 verifyTestFile(testsList); in testRun_singleSuccessfulTest()
155 final Collection<TestDescription> testsList = new ArrayList<>(1); in testRun_reRunOneFailedToCompleteTest() local
159 testsList.add(test1); in testRun_reRunOneFailedToCompleteTest()
160 testsList.add(test2); in testRun_reRunOneFailedToCompleteTest()
161 testsList.add(test3); in testRun_reRunOneFailedToCompleteTest()
203 mInstrumentationFileTest = new InstrumentationFileTest(mMockITest, testsList, true, -1) { in testRun_reRunOneFailedToCompleteTest()
214 verifyTestFile(testsList); in testRun_reRunOneFailedToCompleteTest()
[all …]