Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-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
DTestResult.java23 public class TestResult implements ITestResult {
273 public int compareTo(ITestResult another) { in compareTo()
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()
DScreenshotsMetadataHandler.java67 for (ITestResult r : cr.getResults()) { in writeResults()
DResultHandler.java270 ITestResult test = testCase.getOrCreateResult(testName); in getResultFromDir()
515 for (ITestResult r : cr.getResults()) { in writeResults()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java220 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization()
222 ITestResult moduleATest2 = moduleACase.getOrCreateResult(METHOD_2); in testSerialization()
229 ITestResult moduleBTest3 = moduleBCase.getOrCreateResult(METHOD_3); in testSerialization()
236 ITestResult moduleBTest4 = moduleBCase.getOrCreateResult(METHOD_4); in testSerialization()
243 ITestResult moduleBTest5 = moduleBCase.getOrCreateResult(METHOD_5); in testSerialization()
300 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
314 ITestResult moduleBTest3 = moduleBCase.getOrCreateResult(METHOD_3); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
326 ITestResult moduleBTest4 = moduleBCase.getOrCreateResult(METHOD_4); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
338 ITestResult moduleBTest5 = moduleBCase.getOrCreateResult(METHOD_5); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
341 ITestResult moduleBTest6 = moduleBCase.getOrCreateResult(METHOD_6_BRACKETS); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
[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()