Home
last modified time | relevance | path

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

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DCaseResult.java31 private Map<String, ITestResult> mResults = new HashMap<>();
52 public ITestResult getOrCreateResult(String testName) { in getOrCreateResult()
53 ITestResult result = mResults.get(testName); in getOrCreateResult()
65 public ITestResult getResult(String testName) { in getResult()
73 public List<ITestResult> getResults(TestStatus status) { in getResults()
74 List<ITestResult> results = new ArrayList<>(); in getResults()
75 for (ITestResult result : mResults.values()) { in getResults()
87 public List<ITestResult> getResults() { in getResults()
88 ArrayList<ITestResult> results = new ArrayList<>(mResults.values()); in getResults()
99 for (ITestResult result : mResults.values()) { in countResults()
[all …]
DICaseResult.java33 ITestResult getOrCreateResult(String testName); in getOrCreateResult()
41 ITestResult getResult(String testName); in getResult()
46 List<ITestResult> getResults(); in getResults()
51 List<ITestResult> getResults(TestStatus status); in getResults()
DITestResult.java23 public interface ITestResult extends Comparable<ITestResult> { interface
DChecksumReporter.java148 for (ITestResult testResult : caseResult.getResults()) { in addInvocation()
215 ITestResult testResult, IModuleResult moduleResult, String buildFingerprint) { in addTestResult()
223 ITestResult testResult, IModuleResult moduleResult, String buildFingerprint) { in containsTestResult()
273 static String generateTestResultSignature(ITestResult testResult, IModuleResult module, in generateTestResultSignature()
DTestResult.java23 public class TestResult implements ITestResult {
271 public int compareTo(ITestResult another) { in compareTo()
DResultHandler.java257 ITestResult test = testCase.getOrCreateResult(testName); in getResultFromDir()
502 for (ITestResult r : cr.getResults()) { in writeResults()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java25 import com.android.compatibility.common.util.ITestResult;
170 List<ITestResult> testResults = caseResult.getResults(); in testResultReporting()
172 ITestResult result1 = caseResult.getResult(METHOD_1); in testResultReporting()
176 ITestResult result2 = caseResult.getResult(METHOD_2); in testResultReporting()
180 ITestResult result3 = caseResult.getResult(METHOD_3); in testResultReporting()
224 List<ITestResult> testResults = caseResult.getResults(); in testRepeatedExecutions()
228 ITestResult result1 = caseResult.getResult(METHOD_1); in testRepeatedExecutions()
234 ITestResult result2 = caseResult.getResult(METHOD_2); in testRepeatedExecutions()
242 ITestResult result3 = caseResult.getResult(METHOD_3); in testRepeatedExecutions()
257 ITestResult testResult1 = caseResult.getOrCreateResult(METHOD_1); in testRetry()
[all …]
DChecksumReporterTest.java24 import com.android.compatibility.common.util.ITestResult;
58 private ITestResult mFailedTest;
97 ITestResult test1 = caseResult.getOrCreateResult("Test1"); in setUp()
105 ITestResult test3 = caseResult2.getOrCreateResult("Test3"); in setUp()
191 for (ITestResult result : caseResult.getResults()) { in VerifyInvocationResults()
DSubPlanHelperTest.java25 import com.android.compatibility.common.util.ITestResult;
175 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in populateResults()
177 ITestResult moduleATest2 = moduleACase.getOrCreateResult(METHOD_2); in populateResults()
183 ITestResult moduleBTest3 = moduleBCase.getOrCreateResult(METHOD_3); in populateResults()
185 ITestResult moduleBTest4 = moduleBCase.getOrCreateResult(METHOD_4); in populateResults()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java217 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization()
219 ITestResult moduleATest2 = moduleACase.getOrCreateResult(METHOD_2); in testSerialization()
226 ITestResult moduleBTest3 = moduleBCase.getOrCreateResult(METHOD_3); in testSerialization()
233 ITestResult moduleBTest4 = moduleBCase.getOrCreateResult(METHOD_4); in testSerialization()
240 ITestResult moduleBTest5 = moduleBCase.getOrCreateResult(METHOD_5); in testSerialization()
297 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
311 ITestResult moduleBTest3 = moduleBCase.getOrCreateResult(METHOD_3); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
322 ITestResult moduleBTest4 = moduleBCase.getOrCreateResult(METHOD_4); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
334 ITestResult moduleBTest5 = moduleBCase.getOrCreateResult(METHOD_5); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
547 List<ITestResult> moduleAResults = moduleACase.getResults(); in checkResult()
[all …]
DCaseResultTest.java50 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultCreation()
55 ITestResult testResult2 = mResult.getOrCreateResult(METHOD_1); in testResultCreation()
61 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultReporting()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java26 import com.android.compatibility.common.util.ITestResult;
242 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan()
254 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan()
DResultReporter.java28 import com.android.compatibility.common.util.ITestResult;
173 private ITestResult mCurrentResult;