Home
last modified time | relevance | path

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

/cts/common/util/src/com/android/compatibility/common/util/
DModuleResult.java33 private Map<String, ICaseResult> mResults = new HashMap<>();
103 public ICaseResult getOrCreateResult(String caseName) { in getOrCreateResult()
104 ICaseResult result = mResults.get(caseName); in getOrCreateResult()
116 public ICaseResult getResult(String caseName) { in getResult()
124 public List<ICaseResult> getResults() { in getResults()
125 ArrayList<ICaseResult> results = new ArrayList<>(mResults.values()); in getResults()
136 for (ICaseResult result : mResults.values()) { in countResults()
163 for (ICaseResult otherCaseResult : otherModuleResult.getResults()) { in mergeFrom()
164 ICaseResult caseResult = getOrCreateResult(otherCaseResult.getName()); in mergeFrom()
DICaseResult.java23 public interface ICaseResult extends Comparable<ICaseResult> { interface
61 void mergeFrom(ICaseResult otherCaseResult); in mergeFrom()
DIModuleResult.java45 ICaseResult getOrCreateResult(String caseName); in getOrCreateResult()
53 ICaseResult getResult(String caseName); in getResult()
58 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.java23 private final ICaseResult mParent;
36 public TestResult(ICaseResult parent, String name) { in TestResult()
DResultHandler.java158 ICaseResult testCase = module.getOrCreateResult(caseName); in getResults()
314 for (ICaseResult cr : module.getResults()) { in writeResults()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DModuleResultTest.java57 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testResultCreation()
62 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS); in testResultCreation()
68 ICaseResult testCase = mResult.getOrCreateResult(CLASS); in testCountResults()
77 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testMergeModule()
81 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS_2); in testMergeModule()
91 ICaseResult otherCaseResult = otherResult.getOrCreateResult(CLASS); in testMergeModule()
DResultHandlerTest.java155 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization()
162 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in testSerialization()
263 List<ICaseResult> moduleACases = moduleA.getResults(); in checkResult()
265 ICaseResult moduleACase = moduleACases.get(0); in checkResult()
295 List<ICaseResult> moduleBCases = moduleB.getResults(); in checkResult()
297 ICaseResult moduleBCase = moduleBCases.get(0); in checkResult()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java21 import com.android.compatibility.common.util.ICaseResult;
139 List<ICaseResult> caseResults = module.getResults(); in testResultReporting()
141 ICaseResult caseResult = caseResults.get(0); in testResultReporting()
177 List<ICaseResult> caseResults = module.getResults(); in testResultReporting_moduleNotDone()
179 ICaseResult caseResult = caseResults.get(0); in testResultReporting_moduleNotDone()
DConsoleReporterTest.java21 import com.android.compatibility.common.util.ICaseResult;
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java20 import com.android.compatibility.common.util.ICaseResult;
115 private ICaseResult mCurrentCaseResult;
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java25 import com.android.compatibility.common.util.ICaseResult;
559 for (ICaseResult testResultList : module.getResults()) { in setupFilters()