Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java130 private Collection<IRemoteTest> mTests = null; field in ModuleDefinition
178 mTests = tests; in ModuleDefinition()
222 synchronized (mTests) { in poll()
223 if (mTests.isEmpty()) { in poll()
226 IRemoteTest test = mTests.iterator().next(); in poll()
227 mTests.remove(test); in poll()
237 synchronized (mTests) { in addTests()
238 mTests.addAll(test); in addTests()
244 synchronized (mTests) { in numTests()
245 return mTests.size(); in numTests()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationFileTest.java58 private final Collection<TestDescription> mTests; field in InstrumentationFileTest
93 mTests = testsToRun; in InstrumentationFileTest()
107 writeTestsToFileAndRun(mTests, testInfo, listener); in run()
202 runner.run(testInfo, new FilteredResultForwarder(mTests, listener, testTracker)); in runTests()
207 if (mTests.removeAll(completedTests) && !mTests.isEmpty()) { in runTests()
209 writeTestsToFileAndRun(mTests, testInfo, listener); in runTests()
210 } else if (!mTests.isEmpty()) { in runTests()
230 runner.setTestsToRun(mTests); in reRunTestsSerially()
DInstalledInstrumentationsTest.java223 private List<InstrumentationTest> mTests = null; field in InstalledInstrumentationsTest
285 return mTests; in getTests()
327 if (mTests == null) { in buildTests()
341 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
397 mTests.add(t); in buildTests()
412 while (!mTests.isEmpty()) { in doRun()
413 InstrumentationTest test = mTests.get(0); in doRun()
432 mTests.remove(0); in doRun()
434 mTests = null; in doRun()
DInstrumentationListener.java44 private Set<TestDescription> mTests = new HashSet<>(); field in InstrumentationListener
90 if (!mTests.add(test)) { in testStarted()
99 expected.removeAll(mTests); in testRunFailed()
131 } else if (mReportUnexecutedTests && mExpectedTests.size() > mTests.size()) { in testRunEnded()
133 missingTests.removeAll(mTests); in testRunEnded()
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()
DGTestListener.java36 private Set<TestDescription> mTests = new HashSet<>(); field in GTestListener
48 if (!mTests.add(test)) { in testStarted()
54 mTests.clear(); in testStarted()
DInstrumentationSerialTest.java45 private final Collection<TestDescription> mTests; field in InstrumentationSerialTest
62 mTests = testsToRun; in InstrumentationSerialTest()
95 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/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/result/
DTestDescriptionsFile.java45 private Set<TestDescription> mTests = null; field in TestDescriptionsFile
111 if (mTests == null) { in getOrBuildTests()
112 mTests = new LinkedHashSet<>(); in getOrBuildTests()
114 readTestsFromFile(mTests, mTestFile); in getOrBuildTests()
117 return mTests; in getOrBuildTests()
/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.java187 private List<TestDescription> mTests; field in ITestSuiteIntegrationTest.TestSuiteFolderImpl
197 mTests = tests; in TestSuiteFolderImpl()
214 ((TestSuiteStub) test).mShardedTestToRun = mTests; in loadTests()