Home
last modified time | relevance | path

Searched refs:TestRunResult (Results 1 – 25 of 43) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestRunResultTest.java44 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()
125 TestRunResult result = new TestRunResult(); in testMultiRun_WithTestCases()
165 TestRunResult result = new TestRunResult(); in testLogSavedFile_testCases()
186 TestRunResult result = new TestRunResult(); in testLogSavedFile_runLogs()
242 TestRunResult result1 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck()
243 TestRunResult result2 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck()
244 TestRunResult result3 = new TestRunResult(); in testMergeRetriedRunResults_fullMergeLogicCheck()
[all …]
DCollectingTestListenerTest.java63 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testSingleRun()
81 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testRunFailed()
110 Iterator<TestRunResult> runIter = in testTwoRuns()
112 final TestRunResult runResult1 = runIter.next(); in testTwoRuns()
113 final TestRunResult runResult2 = runIter.next(); in testTwoRuns()
136 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testReRun()
154 TestRunResult runResult = mCollectingTestListener.getCurrentRunResults(); in testReRun_overlap()
169 final TestRunResult run1 = mCollectingTestListener.getTestRunAtAttempt("run", 0); in testRun_attempts()
170 final TestRunResult run2 = mCollectingTestListener.getTestRunAtAttempt("run", 1); in testRun_attempts()
171 final TestRunResult run3 = mCollectingTestListener.getTestRunAtAttempt("run", 2); in testRun_attempts()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/
DCollectingTestListener.java67 private Map<String, List<TestRunResult>> mTestRunResultMap =
71 private TestRunResult mCurrentTestRunResult = new TestRunResult();
88 private final List<TestRunResult> mMergedTestRunResults = new ArrayList<>();
205 List<TestRunResult> results = mTestRunResultMap.get(name); in testRunStarted()
215 TestRunResult result = getNewRunResult(); in testRunStarted()
220 TestRunResult result = getNewRunResult(); in testRunStarted()
232 TestRunResult newResult = getNewRunResult(); in testRunStarted()
241 private TestRunResult getNewRunResult() { in getNewRunResult()
242 TestRunResult result = new TestRunResult(); in getNewRunResult()
364 public TestRunResult getCurrentRunResults() { in getCurrentRunResults()
[all …]
DReportPassedTests.java135 for (TestRunResult result : getMergedTestRunResults()) { in createPassedLog()
159 private String getBaseName(TestRunResult runResult) { in getBaseName()
170 TestRunResult runResult, String baseName, boolean invocationFailure) { in createFilters()
195 TestRunResult runResult, String baseName, boolean invocationFailure) { in gatherPassedTests()
DLUCIResultReporter.java136 Collection<TestRunResult> runResults = getMergedTestRunResults(); in invocationEnded()
143 List<TestRunResult> attempts = getTestRunAttempts(testRunName); in invocationEnded()
168 JSONObject convertMetricsToJson(Collection<TestRunResult> runResults) throws JSONException { in convertMetricsToJson()
172 for (TestRunResult runResult : runResults) { in convertMetricsToJson()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DRetryStatsHelper.java19 import com.android.tradefed.result.TestRunResult;
30 private List<List<TestRunResult>> mResults = new ArrayList<>();
34 public void addResultsFromRun(List<TestRunResult> mLatestResults) { in addResultsFromRun()
39 …public void addResultsFromRun(List<TestRunResult> mLatestResults, long timeForIsolation, int attem… in addResultsFromRun()
55 List<TestRunResult> attemptResults = mResults.get(mResults.size() - 1); in calculateStatistics()
64 List<TestRunResult> previousResults, List<TestRunResult> latestResults) { in updateSuccess()
DBaseRetryDecision.java38 import com.android.tradefed.result.TestRunResult;
247 IRemoteTest test, int attemptJustExecuted, List<TestRunResult> previousResults) in shouldRetry()
257 List<TestRunResult> previousResults, in shouldRetry()
360 public void addLastAttempt(List<TestRunResult> lastResults) { in addLastAttempt()
374 List<TestRunResult> previousResults) { in getFailedTestCases()
376 for (TestRunResult run : previousResults) { in getFailedTestCases()
406 private static Set<TestDescription> getPassedTestCases(List<TestRunResult> previousResults) { in getPassedTestCases()
408 for (TestRunResult run : previousResults) { in getPassedTestCases()
463 private static List<TestRunResult> getRunFailures(List<TestRunResult> previousResults) { in getRunFailures()
464 List<TestRunResult> runFailed = new ArrayList<>(); in getRunFailures()
[all …]
DIRetryDecision.java20 import com.android.tradefed.result.TestRunResult;
65 IRemoteTest test, int attemptJustExecuted, List<TestRunResult> previousResults) in shouldRetry()
84 List<TestRunResult> previousResults, in shouldRetry()
95 public void addLastAttempt(List<TestRunResult> lastResults); in addLastAttempt()
DResultAggregator.java36 import com.android.tradefed.result.TestRunResult;
72 private TestRunResult mDetailedRunResults = null;
86 private final Map<String, List<TestRunResult>> mPureRunResultForAgg = new LinkedHashMap<>();
391 List<TestRunResult> results = in testRunEnded()
415 List<TestRunResult> mergedResults = getMergedTestRunResults(); in testModuleEnded()
418 for (TestRunResult result : mergedResults) { in testModuleEnded()
428 for (TestRunResult runResult : mergedResults) { in testModuleEnded()
515 private void forwardTestRunResults(List<TestRunResult> results, ILogSaverListener listener) { in forwardTestRunResults()
516 TestRunResult result = in forwardTestRunResults()
517 TestRunResult.merge(results, MergeStrategy.getMergeStrategy(mRetryStrategy)); in forwardTestRunResults()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java23 import com.android.tradefed.result.TestRunResult;
107 private List<TestRunResult> extractModuleCheckers(Collection<TestRunResult> results) { in extractModuleCheckers()
108 List<TestRunResult> moduleCheckers = new ArrayList<TestRunResult>(); in extractModuleCheckers()
109 for (TestRunResult t : results) { in extractModuleCheckers()
125 Collection<TestRunResult> results = getMergedTestRunResults(); in invocationEnded()
126 List<TestRunResult> moduleCheckers = extractModuleCheckers(results); in invocationEnded()
130 for (TestRunResult moduleResult : results) { in invocationEnded()
223 private void printModuleTestTime(Collection<TestRunResult> results) { in printModuleTestTime()
224 List<TestRunResult> moduleTime = new ArrayList<>(); in printModuleTestTime()
228 new Comparator<TestRunResult>() { in printModuleTestTime()
[all …]
DSuiteResultHolder.java19 import com.android.tradefed.result.TestRunResult;
31 public Collection<TestRunResult> runResults;
DXmlSuiteResultFormatter.java29 import com.android.tradefed.result.TestRunResult;
300 List<TestRunResult> sortedModuleList = sortModules(holder.runResults, holder.modulesAbi); in writeResults()
302 for (TestRunResult module : sortedModuleList) { in writeResults()
567 Collection<TestRunResult> results = new ArrayList<>(); in parseResults()
586 List<TestRunResult> sortModules( in sortModules()
587 Collection<TestRunResult> results, Map<String, IAbi> moduleAbis) { in sortModules()
588 List<TestRunResult> sortedList = new ArrayList<>(results); in sortModules()
591 new Comparator<TestRunResult>() { in sortModules()
593 public int compare(TestRunResult o1, TestRunResult o2) { in sortModules()
635 XmlPullParser parser, Collection<TestRunResult> results, Map<String, IAbi> moduleAbis) in handleModuleLevel()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/retry/
DBaseRetryDecisionTest.java36 import com.android.tradefed.result.TestRunResult;
133 TestRunResult result = createResult(null, null); in testShouldRetry()
140 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_failure()
149 TestRunResult result = in testShouldRetry_failure_nonRetriable()
161 TestRunResult result = createResult(null, FailureDescription.create("failure2")); in testShouldRetry_success()
167 TestRunResult result2 = createResult(null, null); in testShouldRetry_success()
175 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure()
186 TestRunResult result = createResult(FailureDescription.create("failure"), null, failure); in testShouldRetry_runFailure_noFullRetry()
199 TestRunResult result = createResult(null, null, failure); in testShouldRetry_runFailure_nonRetriable()
203 TestRunResult result2 = createResult(null, null, failure2); in testShouldRetry_runFailure_nonRetriable()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java32 import com.android.tradefed.result.TestRunResult;
99 Collection<TestRunResult> runResults = new ArrayList<>(); in testBasicFormat()
153 Collection<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting()
214 List<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting_notDone()
276 TestRunResult result = new ArrayList<>(holder.runResults).get(0); in testFailuresReporting_notDone()
284 List<TestRunResult> runResults = new ArrayList<>(); in testFailuresReporting_largeStackTrace()
346 Collection<TestRunResult> runResults = new ArrayList<>(); in testAssumptionFailures_Ignore_Reporting()
396 TestRunResult result = reloaded.runResults.iterator().next(); in testAssumptionFailures_Ignore_Reporting()
407 Collection<TestRunResult> runResults = new ArrayList<>(); in testLogReporting()
439 for (TestRunResult result : holder.runResults) { in testLogReporting()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DInstalledInstrumentationsTestTest.java43 import com.android.tradefed.result.TestRunResult;
127 List<TestRunResult> previousResults = new ArrayList<>(); in testRun_retry()
128 TestRunResult result = new TestRunResult(); in testRun_retry()
168 List<TestRunResult> previousResults = new ArrayList<>(); in testRun_retry_skipList()
169 TestRunResult result = new TestRunResult(); in testRun_retry_skipList()
193 List<TestRunResult> previousResults = new ArrayList<>(); in testRun_retry_runFailure()
194 TestRunResult result = new TestRunResult(); in testRun_retry_runFailure()
231 List<TestRunResult> previousResults = new ArrayList<>(); in testRun_retry_notExecuted()
232 TestRunResult result = new TestRunResult(); in testRun_retry_notExecuted()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java35 import com.android.tradefed.result.TestRunResult;
59 private Map<TestRunResult, ReplayModuleHolder> mModuleResult;
95 Set<Entry<TestRunResult, ReplayModuleHolder>> entries = mModuleResult.entrySet(); in run()
96 for (Entry<TestRunResult, ReplayModuleHolder> e : new LinkedHashSet<>(entries)) { in run()
97 TestRunResult module = e.getKey(); in run()
154 TestRunResult module, in addToReplay()
179 TestRunResult module, in forwardTestResults()
DRetryResultHelper.java19 import com.android.tradefed.result.TestRunResult;
31 public static boolean shouldRunModule(TestRunResult moduleResults, List<RetryType> types) { in shouldRunModule()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java30 import com.android.tradefed.result.TestRunResult;
221 List<TestRunResult> runResults = getTestRunForAttempts(i); in testModuleEnded()
222 for (TestRunResult runResult : runResults) { in testModuleEnded()
228 for (TestRunResult runResult : getMergedTestRunResults()) { in testModuleEnded()
274 private void forwardRunResults(TestRunResult runResult, int attempt) { in forwardRunResults()
343 private void logShardContent(Collection<TestRunResult> listResults) { in logShardContent()
350 for (TestRunResult runRes : listResults) { in logShardContent()
/tools/tradefederation/core/src/com/android/tradefed/testtype/retry/
DIAutoRetriableTest.java19 import com.android.tradefed.result.TestRunResult;
49 int attemptJustExecuted, List<TestRunResult> previousResults, Set<String> skipList) in shouldRetry()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java41 public class TestRunResult { class
71 public TestRunResult() { in TestRunResult() method in TestRunResult
513 public static TestRunResult merge(List<TestRunResult> testRunResults) { in merge()
527 public static TestRunResult merge(List<TestRunResult> testRunResults, MergeStrategy strategy) { in merge()
539 TestRunResult finalRunResult = new TestRunResult(); in merge()
558 for (TestRunResult eachRunResult : testRunResults) { in merge()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java53 import com.android.tradefed.result.TestRunResult;
386 TestRunResult attempResults = in testIntraModuleRun_catchDeviceUnresponsiveException()
621 List<TestRunResult> resultCollector = in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
624 for (TestRunResult runResult : resultCollector) { in testRun_retryAllTestCasesIfNotSupportTestFilterReceiver()
658 List<TestRunResult> resultCollector1 = in testRun_retryMultiTestsForOneRun()
662 List<TestRunResult> resultCollector2 = in testRun_retryMultiTestsForOneRun()
667 List<TestRunResult> finalResult = granularTestWrapper.getFinalTestRunResults(); in testRun_retryMultiTestsForOneRun()
669 TestRunResult runResult1 = finalResult.get(0); in testRun_retryMultiTestsForOneRun()
670 TestRunResult runResult2 = finalResult.get(1); in testRun_retryMultiTestsForOneRun()
698 List<TestRunResult> allResults = in testIntraModuleRun_runRetry()
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java35 import com.android.tradefed.result.TestRunResult;
155 for (TestRunResult testRunResult : getMergedTestRunResults()) { in getInvocationSummary()
178 for (TestRunResult testRunResult : getMergedTestRunResults()) { in getInvocationSummary()
196 for (TestRunResult testRunResult : getMergedTestRunResults()) { in getInvocationSummary()
241 for (TestRunResult testRunResult : getMergedTestRunResults()) { in createFunctionalTestFailureReport()
261 private String getTestRunSummary(TestRunResult testRunResult) { in getTestRunSummary()
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelXmlResultReporter.java71 private TestRunResult mTestRunResult = new TestRunResult();
206 private void writeTestResult(Document doc, TestRunResult testRunResult) { in writeTestResult()
225 private Element writeTestSuites(Document doc, TestRunResult testRunResult) { in writeTestSuites()
234 private Element writeTestSuite(Document doc, TestRunResult testRunResult) { in writeTestSuite()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java38 import com.android.tradefed.result.TestRunResult;
209 TestRunResult runResult = createTestRunResult("run1", 5, 1); in testReplay_MultiTest()
251 private TestRunResult createTestRunResult(String runName, int testCount, int failCount) { in createTestRunResult()
252 TestRunResult result = new TestRunResult(); in createTestRunResult()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DCodeCoverageTest.java30 import com.android.tradefed.result.TestRunResult;
111 TestRunResult runResult = listener.getCurrentRunResults(); in fetchCoverageFilePath()

12