Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/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()
62 mTests.add(test); in testOneTests()
73 mTests.add(test); in testSeveralTests_oneReporter()
74 mTests.add(new StubTest()); in testSeveralTests_oneReporter()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationFileTest.java58 private final Collection<TestDescription> mTests; field in InstrumentationFileTest
90 mTests = testsToRun; in InstrumentationFileTest()
103 writeTestsToFileAndRun(mTests, testInfo, listener); in run()
182 runner.run(testInfo, new FilteredResultForwarder(mTests, listener, testTracker)); in runTests()
187 if (mTests.removeAll(completedTests) && !mTests.isEmpty()) { in runTests()
189 writeTestsToFileAndRun(mTests, testInfo, listener); in runTests()
190 } else if (!mTests.isEmpty()) { in runTests()
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()
DInstalledInstrumentationsTest.java217 private List<InstrumentationTest> mTests = null; field in InstalledInstrumentationsTest
315 return mTests; in getTests()
357 if (mTests == null) { in buildTests()
381 mTests = new LinkedList<InstrumentationTest>(); in buildTests()
428 mTests.add(t); in buildTests()
471 while (!mTests.isEmpty()) { in doRun()
472 InstrumentationTest test = mTests.get(0); in doRun()
494 mTests.remove(0); in doRun()
496 mTests = null; in doRun()
DInstrumentationListener.java59 private Set<TestDescription> mTests = new HashSet<>(); field in InstrumentationListener
119 if (!mTests.add(test)) { in testStarted()
150 expected.removeAll(mTests); in testRunFailed()
216 && mExpectedTests.size() > mTests.size()) { in testRunEnded()
218 missingTests.removeAll(mTests); in testRunEnded()
DPythonUnitTestRunner.java54 private List<String> mTests = new ArrayList<>(); field in PythonUnitTestRunner
97 for (String module : mTests) { in run()
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescriptionsFile.java45 private Set<TestDescription> mTests = null; field in TestDescriptionsFile
124 if (mTests == null) { in getOrBuildTests()
125 mTests = new LinkedHashSet<>(); in getOrBuildTests()
127 readTestsFromFile(mTests, mTestFile); in getOrBuildTests()
130 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/core/javatests/com/android/tradefed/testtype/
DGTestListTestParserTest.java60 verifyTestDescriptions(parser.mTests, 1); in testParseSimpleList()
81 verifyTestDescriptions(parser.mTests, 29); in testParseMultiClassList()
128 verifyTestDescriptions(parser.mTests, 1); in testParseSimpleList_withSpecialChar()
153 verifyTestDescriptions(parser.mTests, 3); in testParseParameterized()
160 assertTrue(parser.mTests.contains(param)); in testParseParameterized()
167 assertTrue(parser.mTests.contains(param)); in testParseParameterized()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java161 private Collection<IRemoteTest> mTests = null; field in ModuleDefinition
244 mTests = tests; in ModuleDefinition()
312 synchronized (mTests) { in poll()
313 if (mTests.isEmpty()) { in poll()
316 IRemoteTest test = mTests.iterator().next(); in poll()
317 mTests.remove(test); in poll()
327 synchronized (mTests) { in addTests()
328 mTests.addAll(test); in addTests()
334 synchronized (mTests) { in numTests()
335 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/javatests/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java190 private List<TestDescription> mTests; field in ITestSuiteIntegrationTest.TestSuiteFolderImpl
200 mTests = tests; in TestSuiteFolderImpl()
217 ((TestSuiteStub) test).mShardedTestToRun = mTests; in loadTests()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java143 private MultiMap<String, File> mTests = new MultiMap<>(); field in UiConductorTest
217 for (Map.Entry<String, File> entry : mTests.entries()) { in run()