Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-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()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DStopwatchRule.java50 private final Bundle mResult = new Bundle(); field in StopwatchRule
60 mResult.putLong(getMetricKey(description), NANOSECONDS.toMillis(nanos)); in reportMetric()
61 mInstrumentation.sendStatus(INST_STATUS_IN_PROGRESS, mResult); in reportMetric()
72 return mResult; in getMetric()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestResult.java27 private TestStatus mResult; field in TestResult
69 return mResult; in getResultStatus()
77 mResult = status; in setResultStatus()
231 mResult = null; in reset()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java73 private Bundle mResult; field in AppLaunchTests
134 mResult = new Bundle(); in setUp()
250 getInstrumentation().sendStatus(0, mResult); in testAppLaunchPerformance()
321 if (mResult.containsKey(activityName)) { in registerTraceFileNames()
322 String existingResult = (String) mResult.get(activityName); in registerTraceFileNames()
323 mResult.putString(activityName, existingResult + "," + absPath); in registerTraceFileNames()
325 mResult.putString(activityName, "" + absPath); in registerTraceFileNames()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java91 private Bundle mResult = new Bundle(); field in AppTransitionTests
162 getInstrumentation().sendStatus(0, mResult); in tearDown()
471 private Long mResult = -1L; field in AppTransitionTests.AppLaunchRunnable
480 return mResult; in getResult()
494 mResult = Long.parseLong(parseLaunchTime(parcelDesc)); in run()
596 mResult.putString(appName, mComponentName); in updateResult()
599 mResult.putString(appName, mAppLaunchIntentsMapping.get(appName). in updateResult()