/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 44 TestRunResult result = new TestRunResult(); in testGetNumTestsInState() 60 TestRunResult result = new TestRunResult(); in testGetNumTestsInState_failed() 82 TestRunResult result = new TestRunResult(); in testSpecifyElapsedTime() 95 TestRunResult result = new TestRunResult(); in testMultiRun() 123 TestRunResult result = new TestRunResult(); in testLogSavedFile_testCases() 144 TestRunResult result = new TestRunResult(); in testLogSavedFile_runLogs() 199 TestRunResult result1 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() 200 TestRunResult result2 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() 201 TestRunResult result3 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck() 228 List<TestRunResult> testResultList = in testMergeRetriedRunResults_fullMergeLogicCheck() [all …]
|
D | CollectingTestListenerTest.java | 61 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testSingleRun() 79 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testRunFailed() 109 Iterator<TestRunResult> runIter = mCollectingTestListener.getRunResults().iterator(); in testTwoRuns() 110 final TestRunResult runResult1 = runIter.next(); in testTwoRuns() 111 final TestRunResult runResult2 = runIter.next(); in testTwoRuns() 136 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testReRun() 153 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testReRun_overlap()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | SuiteResultReporter.java | 23 import com.android.tradefed.result.TestRunResult; 106 private List<TestRunResult> extractModuleCheckers(Collection<TestRunResult> results) { in extractModuleCheckers() 107 List<TestRunResult> moduleCheckers = new ArrayList<TestRunResult>(); in extractModuleCheckers() 108 for (TestRunResult t : results) { in extractModuleCheckers() 124 Collection<TestRunResult> results = getRunResults(); in invocationEnded() 125 List<TestRunResult> moduleCheckers = extractModuleCheckers(results); in invocationEnded() 129 for (TestRunResult moduleResult : results) { in invocationEnded() 195 private void printModuleTestTime(Collection<TestRunResult> results) { in printModuleTestTime() 196 List<TestRunResult> moduleTime = new ArrayList<>(); in printModuleTestTime() 200 new Comparator<TestRunResult>() { in printModuleTestTime() [all …]
|
D | SuiteResultHolder.java | 19 import com.android.tradefed.result.TestRunResult; 31 public Collection<TestRunResult> runResults;
|
D | XmlSuiteResultFormatter.java | 27 import com.android.tradefed.result.TestRunResult; 243 for (TestRunResult module : holder.runResults) { in writeResults() 450 Collection<TestRunResult> results = new ArrayList<>(); in parseResults() 471 XmlPullParser parser, Collection<TestRunResult> results, Map<String, IAbi> moduleAbis) in handleModuleLevel() 475 TestRunResult module = new TestRunResult(); in handleModuleLevel() 504 XmlPullParser parser, TestRunResult currentModule, String className) in handleTestCaseLevel() 531 private static void parseLoggedFiles(XmlPullParser parser, TestRunResult currentModule) in parseLoggedFiles() 543 XmlPullParser parser, TestRunResult currentModule, String tagName, LogDataType type) in parseSingleFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | CollectingTestListener.java | 43 private Map<String, TestRunResult> mRunResultsMap = 44 Collections.synchronizedMap(new LinkedHashMap<String, TestRunResult>()); 45 private Map<TestRunResult, IInvocationContext> mModuleContextMap = 46 Collections.synchronizedMap(new LinkedHashMap<TestRunResult, IInvocationContext>()); 47 private TestRunResult mCurrentResults = new TestRunResult(); 142 mCurrentResults = new TestRunResult(); in testRunStarted() 235 public TestRunResult getCurrentRunResults() { in getCurrentRunResults() 242 public Collection<TestRunResult> getRunResults() { in getRunResults() 250 public IInvocationContext getModuleContextForRunResult(TestRunResult res) { in getModuleContextForRunResult() 277 for (TestRunResult result : mRunResultsMap.values()) { in getNumTestsInState() [all …]
|
D | TestRunResult.java | 39 public class TestRunResult { class 64 public TestRunResult() { in TestRunResult() method in TestRunResult 364 public static TestRunResult merge(List<TestRunResult> testRunResults) { in merge() 368 TestRunResult finalRunResult = new TestRunResult(); in merge() 377 for (TestRunResult eachRunResult : testRunResults) { in merge()
|
D | ConsoleResultReporter.java | 80 for (TestRunResult testRunResult : getRunResults()) { in getInvocationSummary() 96 String getTestRunSummary(TestRunResult testRunResult) { in getTestRunSummary()
|
D | JsonHttpTestResultReporter.java | 150 JSONObject convertMetricsToJson(Collection<TestRunResult> runResults) throws JSONException { in convertMetricsToJson() 155 for (TestRunResult runResult : runResults) { in convertMetricsToJson()
|
D | XmlResultReporter.java | 162 for (TestRunResult runResult : getRunResults()) { in printTestResults()
|
D | MetricsXMLResultReporter.java | 136 for (TestRunResult runResult : getRunResults()) { in printRunResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 28 import com.android.tradefed.result.TestRunResult; 80 Collection<TestRunResult> runResults = new ArrayList<>(); in testBasicFormat() 132 Collection<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting() 183 Collection<TestRunResult> runResults = new ArrayList<>(); in testLogReporting() 215 for (TestRunResult result : holder.runResults) { in testLogReporting() 229 private TestRunResult createResultWithLog(String runName, int count, LogDataType type) { in createResultWithLog() 230 TestRunResult fakeRes = new TestRunResult(); in createResultWithLog() 244 private TestRunResult createFakeResult(String runName, int passed, int failed) { in createFakeResult() 245 TestRunResult fakeRes = new TestRunResult(); in createFakeResult()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapper.java | 30 import com.android.tradefed.result.TestRunResult; 71 private List<TestRunResult> mTestRunResultCollector; 85 mTestRunResultCollector = new ArrayList<TestRunResult>(); in GranularRetriableTestWrapper() 301 public TestRunResult getFinalTestRunResult() { in getFinalTestRunResult() 302 return TestRunResult.merge(mTestRunResultCollector); in getFinalTestRunResult() 306 List<TestRunResult> getTestRunResultCollector() { in getTestRunResultCollector()
|
D | ModuleListener.java | 29 import com.android.tradefed.result.TestRunResult; 62 TestRunResult currentResult = getCurrentRunResults(); in testRunStarted()
|
D | ModuleDefinition.java | 40 import com.android.tradefed.result.TestRunResult; 108 private List<TestRunResult> mTestsResults = new ArrayList<>(); 410 TestRunResult finalResult = retriableTest.getFinalTestRunResult(); in run() 499 List<TestRunResult> listResults) { in reportFinalResults() 505 for (TestRunResult runResult : listResults) { in reportFinalResults() 671 List<TestRunResult> getTestsResults() { in getTestsResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | GranularRetriableTestWrapperTest.java | 35 import com.android.tradefed.result.TestRunResult; 183 TestRunResult finalResult = granularTestWrapper.getTestRunResultCollector().get(0); in testIntraModuleRun_catchDeviceUnresponsiveException() 235 TestRunResult finalResult = granularTestWrapper.getFinalTestRunResult(); in testRun_retryOnFailedTestCaseOnly() 243 List<TestRunResult> resultCollector = granularTestWrapper.getTestRunResultCollector(); in testRun_retryOnFailedTestCaseOnly() 244 TestRunResult latestRunResult = resultCollector.get(resultCollector.size() - 1); in testRun_retryOnFailedTestCaseOnly() 271 List<TestRunResult> resultCollector = granularTestWrapper.getTestRunResultCollector(); in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver() 272 for (TestRunResult runResult : resultCollector) { in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
|
D | ITestSuiteIntegrationTest.java | 47 import com.android.tradefed.result.TestRunResult; 284 Iterator<TestRunResult> iterator = mListener.getRunResults().iterator(); in testSimplePassRun_withLoggedFile() 285 TestRunResult module1 = iterator.next(); in testSimplePassRun_withLoggedFile() 297 TestRunResult module2 = iterator.next(); in testSimplePassRun_withLoggedFile()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardListener.java | 30 import com.android.tradefed.result.TestRunResult; 140 for (TestRunResult runResult : getRunResults()) { in invocationEnded() 214 private void logShardContent(Collection<TestRunResult> listResults) { in logShardContent() 219 for (TestRunResult runRes : listResults) { in logShardContent()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | CodeCoverageTest.java | 29 import com.android.tradefed.result.TestRunResult; 109 TestRunResult runResult = listener.getCurrentRunResults(); in fetchCoverageFilePath()
|
D | InstrumentationSerialTest.java | 28 import com.android.tradefed.result.TestRunResult; 120 TestDescription test, TestRunResult testRun, ITestInvocationListener listener) { in markTestAsFailed()
|
D | CodeCoverageTestBase.java | 36 import com.android.tradefed.result.TestRunResult; 212 TestRunResult result = runTest(target, shardIndex, numShards, coverageListener); in run() 394 TestRunResult runTest(InstrumentationTarget target, int shardIndex, int numShards, in runTest() 407 TestRunResult runTest( in runTest() 416 TestRunResult runTest(InstrumentationTest test, ITestInvocationListener listener) in runTest()
|
D | InstrumentationTest.java | 43 import com.android.tradefed.result.TestRunResult; 912 TestRunResult testRun = testTracker.getCurrentRunResults(); in runWithRerun() 1026 TestRunResult runResults = collector.getCurrentRunResults(); in collectTestsAndRetry()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4Test.java | 34 import com.android.tradefed.result.TestRunResult; 70 private TestRunResult mLatestInstruRes; 491 TestRunResult runResult = in runDeviceTests() 541 public final TestRunResult getLastDeviceRunResults() { in getLastDeviceRunResults() 546 private TestRunResult doRunTests( in doRunTests() 611 private void printTestResult(TestRunResult runResult) { in printTestResult()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstrumentationPreparer.java | 30 import com.android.tradefed.result.TestRunResult; 145 for (TestRunResult result : listener.getRunResults()) { in getFailedTestNames()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | CodeCoverageTestBaseTest.java | 45 import com.android.tradefed.result.TestRunResult; 368 TestRunResult success = mock(TestRunResult.class); 370 TestRunResult failure = mock(TestRunResult.class); 407 TestRunResult success = mock(TestRunResult.class);
|