Home
last modified time | relevance | path

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

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DModuleResult.java41 private Map<String, ICaseResult> mResults = new HashMap<>();
215 public ICaseResult getOrCreateResult(String caseName) { in getOrCreateResult()
216 ICaseResult result = mResults.get(caseName); in getOrCreateResult()
228 public ICaseResult getResult(String caseName) { in getResult()
236 public List<ICaseResult> getResults() { in getResults()
237 ArrayList<ICaseResult> results = new ArrayList<>(mResults.values()); in getResults()
248 for (ICaseResult result : mResults.values()) { in countResults()
297 for (ICaseResult otherCaseResult : otherModuleResult.getResults()) { in mergeFrom()
298 ICaseResult caseResult = getOrCreateResult(otherCaseResult.getName()); in mergeFrom()
DICaseResult.java23 public interface ICaseResult extends Comparable<ICaseResult> { interface
61 void mergeFrom(ICaseResult otherCaseResult); in mergeFrom()
DIModuleResult.java127 ICaseResult getOrCreateResult(String caseName); in getOrCreateResult()
135 ICaseResult getResult(String caseName); in getResult()
140 List<ICaseResult> getResults(); in getResults()
DCaseResult.java27 public class CaseResult implements ICaseResult {
111 public int compareTo(ICaseResult another) { in compareTo()
119 public void mergeFrom(ICaseResult otherCaseResult) { in mergeFrom()
DTestResult.java25 private final ICaseResult mParent;
41 public TestResult(ICaseResult parent, String name) { in TestResult()
DChecksumReporter.java147 for (ICaseResult caseResult : module.getResults()) { in addInvocation()
377 for (ICaseResult caseResult : module.getResults()) { in countTestResults()
DResultHandler.java253 ICaseResult testCase = module.getOrCreateResult(caseName); in getResultFromDir()
499 for (ICaseResult cr : module.getResults()) { in writeResults()
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DModuleResultTest.java59 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testResultCreation()
64 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS); in testResultCreation()
70 ICaseResult testCase = mResult.getOrCreateResult(CLASS); in testCountResults()
79 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testMergeModule()
83 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS_2); in testMergeModule()
93 ICaseResult otherCaseResult = otherResult.getOrCreateResult(CLASS); in testMergeModule()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java22 import com.android.compatibility.common.util.ICaseResult;
167 List<ICaseResult> caseResults = module.getResults(); in testResultReporting()
169 ICaseResult caseResult = caseResults.get(0); in testResultReporting()
221 List<ICaseResult> caseResults = module.getResults(); in testRepeatedExecutions()
223 ICaseResult caseResult = caseResults.get(0); in testRepeatedExecutions()
256 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetry()
284 List<ICaseResult> cases = module.getResults(); in testRetry()
286 ICaseResult case1 = cases.get(0); in testRetry()
313 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetryCanSetDone()
352 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetryCannotSetDone()
[all …]
DChecksumReporterTest.java21 import com.android.compatibility.common.util.ICaseResult;
96 ICaseResult caseResult = mModuleResult.getOrCreateResult("Case-1"); in setUp()
103 ICaseResult caseResult2 = moduleResult2.getOrCreateResult("Case-2"); in setUp()
190 for (ICaseResult caseResult : module.getResults()) { in VerifyInvocationResults()
DSubPlanHelperTest.java22 import com.android.compatibility.common.util.ICaseResult;
174 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in populateResults()
182 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in populateResults()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java216 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization()
225 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in testSerialization()
296 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
304 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
543 List<ICaseResult> moduleACases = moduleA.getResults(); in checkResult()
545 ICaseResult moduleACase = moduleACases.get(0); in checkResult()
566 List<ICaseResult> moduleBCases = moduleB.getResults(); in checkResult()
568 ICaseResult moduleBCase = moduleBCases.get(0); in checkResult()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java23 import com.android.compatibility.common.util.ICaseResult;
241 for (ICaseResult caseResult : module.getResults()) { in createSubPlan()
253 for (ICaseResult caseResult : module.getResults()) { in createSubPlan()
DResultReporter.java25 import com.android.compatibility.common.util.ICaseResult;
172 private ICaseResult mCurrentCaseResult;