Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
DXmlDefsTest.java119 private List<InstrumentationTest> mTests = null; field in XmlDefsTest
182 return mTests; in getTests()
202 if (mTests == null) { in buildTests()
219 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
245 mTests.add(test); in buildTests()
278 while (!mTests.isEmpty()) { in doRun()
279 InstrumentationTest test = mTests.get(0); in doRun()
290 mTests.remove(0); in doRun()
371 if (mTests == null) { in isResumable()
395 if (mTests.size() <= 1) { in split()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationFileTest.java55 private final Collection<TestDescription> mTests; field in InstrumentationFileTest
88 mTests = testsToRun; in InstrumentationFileTest()
103 writeTestsToFileAndRun(mTests, listener); in run()
196 if (mTests.removeAll(completedTests) && !mTests.isEmpty()) { in runTests()
198 writeTestsToFileAndRun(mTests, listener); in runTests()
199 } else if (!mTests.isEmpty()) { in runTests()
220 runner.setTestsToRun(mTests); in reRunTestsSerially()
DInstalledInstrumentationsTest.java176 private List<InstrumentationTest> mTests = null; field in InstalledInstrumentationsTest
214 return mTests; in getTests()
257 if (mTests == null) { in buildTests()
271 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
299 mTests.add(t); in buildTests()
312 while (!mTests.isEmpty()) { in doRun()
313 InstrumentationTest test = mTests.get(0); in doRun()
325 mTests.remove(0); in doRun()
379 if (mTests == null) { in isResumable()
DGTestListTestParser.java49 protected List<TestDescription> mTests = new ArrayList<>(); field in GTestListTestParser
106 mTests.add( in parse()
127 mTestRunListener.testRunStarted(mTestRunName, mTests.size()); in done()
128 for (TestDescription id : mTests) { in done()
DInstrumentationSerialTest.java42 private final Collection<TestDescription> mTests; field in InstrumentationSerialTest
59 mTests = testsToRun; in InstrumentationSerialTest()
91 for (TestDescription testToRun : mTests) { in run()
DPythonUnitTestRunner.java49 private List<String> mTests = new ArrayList<>(); field in PythonUnitTestRunner
91 for (String module : mTests) { in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageTestBaseTest.java130 @Mock TestDataRegistry<List<TestDescription>> mTests; field in CodeCoverageTestBaseTest
257 .when(mTests)
292 .when(mTests)
299 .when(mTests)
306 .when(mTests)
329 doReturn(FOO_TESTS).when(mTests).get(PACKAGE_NAME1, RUNNER_NAME1, 0, 1);
331 .when(mTests)
336 doReturn(shards.get(0)).when(mTests).get(eq(PACKAGE_NAME1), eq(RUNNER_NAME1), eq(0), gt(1));
341 doReturn(shards.get(1)).when(mTests).get(eq(PACKAGE_NAME1), eq(RUNNER_NAME1), eq(1), gt(1));
346 doReturn(shards.get(2)).when(mTests).get(eq(PACKAGE_NAME1), eq(RUNNER_NAME1), eq(2), gt(1));
[all …]
DGTestListTestParserTest.java55 verifyTestDescriptions(parser.mTests, 1); in testParseSimpleList()
81 verifyTestDescriptions(parser.mTests, 29); in testParseMultiClassList()
130 verifyTestDescriptions(parser.mTests, 1); in testParseSimpleList_withSpecialChar()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java98 private Collection<IRemoteTest> mTests = null; field in ModuleDefinition
137 mTests = tests; in ModuleDefinition()
164 synchronized (mTests) { in poll()
165 if (mTests.isEmpty()) { in poll()
168 IRemoteTest test = mTests.iterator().next(); in poll()
169 mTests.remove(test); in poll()
179 synchronized (mTests) { in addTests()
180 mTests.addAll(test); in addTests()
186 synchronized (mTests) { in numTests()
187 return mTests.size(); in numTests()
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DMediaMemoryTest.java93 private Collection<String> mTests = new LinkedList<>(); field in MediaMemoryTest
126 if (mTests.size() > 0) { in run()
127 for (String testName : mTests) { in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java173 private List<TestDescription> mTests; field in ITestSuiteIntegrationTest.TestSuiteFolderImpl
183 mTests = tests; in TestSuiteFolderImpl()
200 ((TestSuiteStub) test).mShardedTestToRun = mTests; in loadTests()