/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 33 private CaseResult mResult; field in CaseResultTest 37 mResult = new CaseResult(CLASS); in setUp() 42 mResult = null; in tearDown() 46 assertEquals("Incorrect case name", CLASS, mResult.getName()); in testAccessors() 50 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultCreation() 52 assertEquals("Expected one result", 1, mResult.getResults().size()); in testResultCreation() 53 assertTrue("Expected test result", mResult.getResults().contains(testResult)); in testResultCreation() 55 ITestResult testResult2 = mResult.getOrCreateResult(METHOD_1); in testResultCreation() 57 assertEquals("Expected one result", 1, mResult.getResults().size()); in testResultCreation() 61 ITestResult testResult = mResult.getOrCreateResult(METHOD_1); in testResultReporting() [all …]
|
D | TestResultTest.java | 30 private TestResult mResult; field in TestResultTest 35 mResult = new TestResult(mCase, METHOD_1); in setUp() 40 mResult = null; in tearDown() 44 assertEquals("Incorrect test name", METHOD_1, mResult.getName()); in testAccessors() 45 assertEquals("Incorrect full name", TEST_1, mResult.getFullName()); in testAccessors()
|
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/ |
D | ModuleResultTest.java | 40 private ModuleResult mResult; field in ModuleResultTest 44 mResult = new ModuleResult(ID); in setUp() 49 mResult = null; in tearDown() 53 assertEquals("Incorrect module ID", ID, mResult.getId()); in testAccessors() 54 assertEquals("Incorrect module ABI", ABI, mResult.getAbi()); in testAccessors() 55 assertEquals("Incorrect module name", NAME, mResult.getName()); in testAccessors() 59 ICaseResult caseResult = mResult.getOrCreateResult(CLASS); in testResultCreation() 61 assertEquals("Expected one result", 1, mResult.getResults().size()); in testResultCreation() 62 assertTrue("Expected test result", mResult.getResults().contains(caseResult)); in testResultCreation() 64 ICaseResult caseResult2 = mResult.getOrCreateResult(CLASS); in testResultCreation() [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporter.java | 170 protected IInvocationResult mResult = new InvocationResult(); field in ResultReporter 282 mResult = ResultHandler.findResult(mBuildHelper.getResultsDir(), mRetrySessionId); in initializeResultDirectories() 284 mResult.setStartTime(mBuildHelper.getStartTime()); in initializeResultDirectories() 335 mCurrentModuleResult = mResult.getOrCreateModule(id); in testRunStarted() 473 mResult.mergeModuleResult(moduleResult); in mergeModuleResult() 563 mResult.addDeviceSerial(deviceSerial); in finalizeResults() 582 mResult.getOrCreateModule(moduleId); in finalizeResults() 586 mResult.getModuleCompleteCount(), mResult.getModules().size()); in finalizeResults() 596 Collection<RunHistory> runHistories = ((InvocationResult) mResult).getRunHistories(); in finalizeResults() 597 String runHistoryJSON = mResult.getInvocationInfo().get(RUN_HISTORY_KEY); in finalizeResults() [all …]
|
D | SubPlanHelper.java | 124 IInvocationResult mResult = null; field in SubPlanHelper 171 mResult = result; in setResult() 231 for (IModuleResult module : mResult.getModules()) { in createSubPlan() 372 if (mResult == null) { in setupFields() 377 mResult = ResultHandler.findResult(buildHelper.getResultsDir(), mSessionId); in setupFields() 381 if (mResult == null) { in setupFields() 387 String retryCommandLineArgs = mResult.getCommandLineArgs(); in setupFields() 436 sb.append(CompatibilityBuildHelper.getDirSuffix(mResult.getStartTime())); in createPlanName()
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | TestResult.java | 27 private TestStatus mResult; field in TestResult 68 return mResult; in getResultStatus() 76 mResult = status; in setResultStatus() 230 mResult = null; in reset()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | BenchmarkTestBase.java | 180 BenchmarkResult mResult; field in BenchmarkTestBase.TestAction 196 mResult = mActivity.runSynchronously( in run() 216 return mResult; in getBenchmark()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporterBuildInfoTest.java | 58 mResult = new InvocationResult(); in ResultReporterBuildInfoTester() 65 return mResult; in testBuildInfoOverride()
|