Home
last modified time | relevance | path

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

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCaseResultTest.java33 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 …]
DTestResultTest.java30 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/
DModuleResultTest.java40 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/
DResultReporter.java170 protected IInvocationResult mResult = new InvocationResult(); field in ResultReporter
284 mResult = ResultHandler.findResult(mBuildHelper.getResultsDir(), mRetrySessionId); in initializeResultDirectories()
286 mResult.setStartTime(mBuildHelper.getStartTime()); in initializeResultDirectories()
337 mCurrentModuleResult = mResult.getOrCreateModule(id); in testRunStarted()
475 mResult.mergeModuleResult(moduleResult); in mergeModuleResult()
565 mResult.addDeviceSerial(deviceSerial); in finalizeResults()
584 mResult.getOrCreateModule(moduleId); in finalizeResults()
588 mResult.getModuleCompleteCount(), mResult.getModules().size()); in finalizeResults()
598 Collection<RunHistory> runHistories = ((InvocationResult) mResult).getRunHistories(); in finalizeResults()
599 String runHistoryJSON = mResult.getInvocationInfo().get(RUN_HISTORY_KEY); in finalizeResults()
[all …]
DSubPlanHelper.java124 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/
DTestResult.java27 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/
DBenchmarkTestBase.java155 BenchmarkResult mResult; field in BenchmarkTestBase.TestAction
171 mResult = mActivity.runSynchronously( in run()
174 String.format("Benchmark for test '%s' is: %s", mTestModel, mResult)); in run()
193 return mResult; in getBenchmark()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterBuildInfoTest.java58 mResult = new InvocationResult(); in ResultReporterBuildInfoTester()
65 return mResult; in testBuildInfoOverride()
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...