Home
last modified time | relevance | path

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

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
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()
66 testResult = mResult.getOrCreateResult(METHOD_2); in testResultReporting()
73 mResult.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testCountResults()
74 mResult.getOrCreateResult(METHOD_2).failed(STACK_TRACE); in testCountResults()
75 mResult.getOrCreateResult(METHOD_3).passed(null); in testCountResults()
81 mResult.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testMergeCase()
82 mResult.getOrCreateResult(METHOD_2).passed(null); in testMergeCase()
86 otherResult.getOrCreateResult(METHOD_1).passed(null); in testMergeCase()
[all …]
DResultHandlerTest.java216 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization()
217 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization()
219 ITestResult moduleATest2 = moduleACase.getOrCreateResult(METHOD_2); in testSerialization()
225 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); 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()
296 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
297 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
304 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing()
[all …]
/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()
71 testCase.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testCountResults()
72 testCase.getOrCreateResult(METHOD_2).failed(STACK_TRACE); in testCountResults()
73 testCase.getOrCreateResult(METHOD_3).passed(null); in testCountResults()
79 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testMergeModule()
80 caseResult.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testMergeModule()
81 caseResult.getOrCreateResult(METHOD_3).passed(null); in testMergeModule()
83 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS_2); in testMergeModule()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelperTest.java174 ICaseResult moduleACase = moduleA.getOrCreateResult(CLASS_A); in populateResults()
175 ITestResult moduleATest1 = moduleACase.getOrCreateResult(METHOD_1); in populateResults()
177 ITestResult moduleATest2 = moduleACase.getOrCreateResult(METHOD_2); in populateResults()
182 ICaseResult moduleBCase = moduleB.getOrCreateResult(CLASS_B); in populateResults()
183 ITestResult moduleBTest3 = moduleBCase.getOrCreateResult(METHOD_3); in populateResults()
185 ITestResult moduleBTest4 = moduleBCase.getOrCreateResult(METHOD_4); in populateResults()
DChecksumReporterTest.java96 ICaseResult caseResult = mModuleResult.getOrCreateResult("Case-1"); in setUp()
97 ITestResult test1 = caseResult.getOrCreateResult("Test1"); in setUp()
99 mFailedTest = caseResult.getOrCreateResult("Test2"); in setUp()
103 ICaseResult caseResult2 = moduleResult2.getOrCreateResult("Case-2"); in setUp()
105 ITestResult test3 = caseResult2.getOrCreateResult("Test3"); in setUp()
DResultReporterTest.java256 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetry()
257 ITestResult testResult1 = caseResult.getOrCreateResult(METHOD_1); in testRetry()
260 ITestResult testResult2 = caseResult.getOrCreateResult(METHOD_2); in testRetry()
313 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetryCanSetDone()
314 ITestResult testResult1 = caseResult.getOrCreateResult(METHOD_1); in testRetryCanSetDone()
317 ITestResult testResult2 = caseResult.getOrCreateResult(METHOD_2); in testRetryCanSetDone()
352 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetryCannotSetDone()
353 ITestResult testResult1 = caseResult.getOrCreateResult(METHOD_1); in testRetryCannotSetDone()
356 ITestResult testResult2 = caseResult.getOrCreateResult(METHOD_2); in testRetryCannotSetDone()
560 ICaseResult caseResult = moduleResult.getOrCreateResult(CLASS); in testRetryWithRunHistory()
[all …]
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DModuleResult.java215 public ICaseResult getOrCreateResult(String caseName) { in getOrCreateResult() method in ModuleResult
298 ICaseResult caseResult = getOrCreateResult(otherCaseResult.getName()); in mergeFrom()
DICaseResult.java33 ITestResult getOrCreateResult(String testName); in getOrCreateResult() method
DIModuleResult.java127 ICaseResult getOrCreateResult(String caseName); in getOrCreateResult() method
DCaseResult.java52 public ITestResult getOrCreateResult(String testName) { in getOrCreateResult() method in CaseResult
DResultHandler.java253 ICaseResult testCase = module.getOrCreateResult(caseName); in getResultFromDir()
257 ITestResult test = testCase.getOrCreateResult(testName); in getResultFromDir()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DResultReporter.java361 mCurrentCaseResult = mCurrentModuleResult.getOrCreateResult(test.getClassName()); in testStarted()
362 mCurrentResult = mCurrentCaseResult.getOrCreateResult(test.getTestName().trim()); in testStarted()