Home
last modified time | relevance | path

Searched refs:mTests (Results 1 – 12 of 12) 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.java57 private final Collection<TestDescription> mTests; field in InstrumentationFileTest
91 mTests = testsToRun; in InstrumentationFileTest()
106 writeTestsToFileAndRun(mTests, listener); in run()
199 runner.run(new FilteredResultForwarder(mTests, listener, testTracker)); in runTests()
204 if (mTests.removeAll(completedTests) && !mTests.isEmpty()) { in runTests()
206 writeTestsToFileAndRun(mTests, listener); in runTests()
207 } else if (!mTests.isEmpty()) { in runTests()
228 runner.setTestsToRun(mTests); in reRunTestsSerially()
DInstalledInstrumentationsTest.java194 private List<InstrumentationTest> mTests = null; field in InstalledInstrumentationsTest
238 return mTests; in getTests()
281 if (mTests == null) { in buildTests()
295 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
327 mTests.add(t); in buildTests()
340 while (!mTests.isEmpty()) { in doRun()
341 InstrumentationTest test = mTests.get(0); in doRun()
362 mTests.remove(0); in doRun()
416 if (mTests == null) { in isResumable()
DGTestListTestParser.java51 protected List<TestDescription> mTests = new ArrayList<>(); field in GTestListTestParser
111 mTests.add( in parse()
137 mTestRunListener.testRunStarted(mTestRunName, mTests.size()); in done()
138 for (TestDescription id : mTests) { in done()
DInstrumentationSerialTest.java44 private final Collection<TestDescription> mTests; field in InstrumentationSerialTest
61 mTests = testsToRun; in InstrumentationSerialTest()
94 for (TestDescription testToRun : mTests) { in run()
DPythonUnitTestRunner.java53 private List<String> mTests = new ArrayList<>(); field in PythonUnitTestRunner
95 for (String module : mTests) { in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DUnexecutedTestReporterThreadTest.java41 private List<IRemoteTest> mTests; field in UnexecutedTestReporterThreadTest
45 mTests = new ArrayList<>(); in setUp()
47 mReporterThread = new UnexecutedTestReporterThread(mMockListener, mTests); in setUp()
60 mTests.add(test); in testOneTests()
70 mTests.add(test); in testSeveralTests_oneReporter()
71 mTests.add(new StubTest()); in testSeveralTests_oneReporter()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java116 private Collection<IRemoteTest> mTests = null; field in ModuleDefinition
166 mTests = tests; in ModuleDefinition()
201 synchronized (mTests) { in poll()
202 if (mTests.isEmpty()) { in poll()
205 IRemoteTest test = mTests.iterator().next(); in poll()
206 mTests.remove(test); in poll()
216 synchronized (mTests) { in addTests()
217 mTests.addAll(test); in addTests()
223 synchronized (mTests) { in numTests()
224 return mTests.size(); in numTests()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestListTestParserTest.java61 verifyTestDescriptions(parser.mTests, 1); in testParseSimpleList()
86 verifyTestDescriptions(parser.mTests, 29); in testParseMultiClassList()
135 verifyTestDescriptions(parser.mTests, 1); in testParseSimpleList_withSpecialChar()
164 verifyTestDescriptions(parser.mTests, 3); in testParseParameterized()
171 assertTrue(parser.mTests.contains(param)); in testParseParameterized()
178 assertTrue(parser.mTests.contains(param)); in testParseParameterized()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DUnexecutedTestReporterThread.java28 private final List<IRemoteTest> mTests; field in UnexecutedTestReporterThread
32 mTests = tests; in UnexecutedTestReporterThread()
37 for (IRemoteTest test : mTests) { in run()
/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()