Home
last modified time | relevance | path

Searched refs:numTests (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleListenerTest.java48 final int numTests = 5; in testRegularExecution() local
49 mListener.testRunStarted("run1", numTests); in testRegularExecution()
50 for (int i = 0; i < numTests; i++) { in testRegularExecution()
56 assertEquals(numTests, mListener.getNumTotalTests()); in testRegularExecution()
57 assertEquals(numTests, mListener.getNumTestsInState(TestStatus.PASSED)); in testRegularExecution()
63 final int numTests = 5; in testRun_missingTests() local
64 mListener.testRunStarted("run1", numTests); in testRun_missingTests()
65 TestDescription tid = new TestDescription("class", "test" + numTests); in testRun_missingTests()
71 assertEquals(numTests, mListener.getNumTotalTests()); in testRun_missingTests()
81 final int numTests = 5; in testInternalRerun() local
[all …]
DModuleMergerTest.java148 assertEquals(2, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite()
149 assertEquals(2, split2.getDirectModule().numTests()); in testMergeSplittedITestSuite()
151 assertEquals(4, split1.getDirectModule().numTests()); in testMergeSplittedITestSuite()
DITestSuiteMultiTest.java73 public TestSuiteMultiDeviceImpl(int numTests, ITargetPreparer targetPrep) { in TestSuiteMultiDeviceImpl() argument
74 mNumTests = numTests; in TestSuiteMultiDeviceImpl()
DITestSuiteTest.java104 public TestSuiteImpl(int numTests) { in TestSuiteImpl() argument
105 mNumTests = numTests; in TestSuiteImpl()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTestsPoolPollerTest.java67 int numTests = 5; in testMultiPolling() local
69 for (int i = 0; i < numTests; i++) { in testMultiPolling()
76 assertEquals(numTests, testsList.size()); in testMultiPolling()
78 assertEquals(numTests - 1, testsList.size()); in testMultiPolling()
80 assertEquals(numTests - 2, testsList.size()); in testMultiPolling()
96 int numTests = 5; in testPollingRun() local
98 for (int i = 0; i < numTests; i++) { in testPollingRun()
108 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun()
110 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun()
128 int numTests = 5; in testRun_runtimeException() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java57 public void testRunStarted(String name, int numTests) { in testRunStarted() argument
60 mExpectedTestCount += numTests; in testRunStarted()
65 mExpectedTestCount += numTests; in testRunStarted()
68 super.testRunStarted(name, numTests); in testRunStarted()
DModuleDefinition.java185 public int numTests() { in numTests() method in ModuleDefinition
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
DMetrics.java57 public void setNumTests(int numTests) { in setNumTests() argument
59 mNumTests = numTests; in setNumTests()
61 if (mNumTests != numTests) { in setNumTests()
65 mNumTests, numTests); in setNumTests()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGoogleBenchmarkTest.java163 int numTests = countExpectedTests(testDevice, root); in doRunAllTestsInSubdirectory() local
164 if (numTests == 0) { in doRunAllTestsInSubdirectory()
172 listener.testRunStarted(runName, numTests); in doRunAllTestsInSubdirectory()
DGTestResultParser.java496 Matcher numTests = numTestsPattern.matcher(identifier); in processRunStartedTag() local
499 if (numTests.find()) { in processRunStartedTag()
501 mNumTestsExpected = Integer.parseInt(numTests.group(1)); in processRunStartedTag()
506 numTests.group(1)); in processRunStartedTag()
DCodeCoverageTestBase.java381 double numTests = collectTests(target).size(); in getNumberOfShards() local
382 return (int)Math.ceil(numTests / getMaxTestsPerChunk()); in getNumberOfShards()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java96 public void testRunStarted(String name, int numTests) { in testRunStarted() argument
97 super.testRunStarted(name, numTests); in testRunStarted()
99 mModuleExpectedTests.put(name, numTests); in testRunStarted()
101 mModuleExpectedTests.put(name, mModuleExpectedTests.get(name) + numTests); in testRunStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/
DCollectingTestListener.java136 public void testRunStarted(String name, int numTests) { in testRunStarted() argument
151 mCurrentResults.testRunStarted(name, numTests); in testRunStarted()