Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-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;
42 public TestResult(ICaseResult parent, String name) { in TestResult()
DScreenshotsMetadataHandler.java64 for (ICaseResult cr : module.getResults()) { in writeResults()
DChecksumReporter.java147 for (ICaseResult caseResult : module.getResults()) { in addInvocation()
377 for (ICaseResult caseResult : module.getResults()) { in countTestResults()
DResultHandler.java266 ICaseResult testCase = module.getOrCreateResult(caseName); in getResultFromDir()
512 for (ICaseResult cr : module.getResults()) { in writeResults()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java219 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization()
228 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in testSerialization()
299 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
307 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
562 List<ICaseResult> moduleACases = moduleA.getResults(); in checkResult()
564 ICaseResult moduleACase = moduleACases.get(0); in checkResult()
591 List<ICaseResult> moduleBCases = moduleB.getResults(); in checkResult()
593 ICaseResult moduleBCase = moduleBCases.get(0); in checkResult()