Home
last modified time | relevance | path

Searched refs:runner (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DScheduledScenarioRunnerTest.java40 import org.junit.runner.RunWith;
41 import org.junit.runner.notification.Failure;
42 import org.junit.runner.notification.RunListener;
43 import org.junit.runner.notification.RunNotifier;
97 ScheduledScenarioRunner runner = in testOverTimeTest_throwsTestTimedOutException() local
104 runner.run(mRunNotifier); in testOverTimeTest_throwsTestTimedOutException()
121 long expectedTimeout = timeoutMs - runner.getTeardownLeeway(); in testOverTimeTest_throwsTestTimedOutException()
139 ScheduledScenarioRunner runner = in testOverTimeTest_doesNotIdleBeforeTeardown() local
146 runner.run(mRunNotifier); in testOverTimeTest_doesNotIdleBeforeTeardown()
149 verify(runner, never()).performIdleBeforeTeardown(anyLong()); in testOverTimeTest_doesNotIdleBeforeTeardown()
[all …]
DProfileSuiteTest.java48 import org.junit.runner.RunWith;
49 import org.junit.runner.notification.Failure;
50 import org.junit.runner.notification.RunNotifier;
214 runner -> in testTimestampScheduling_respectsSchedule()
215 runner.getDescription() in testTimestampScheduling_respectsSchedule()
234 runner -> in testTimestampScheduling_respectsSchedule()
235 runner.getDescription() in testTimestampScheduling_respectsSchedule()
249 runner -> in testTimestampScheduling_respectsSchedule()
250 runner.getDescription() in testTimestampScheduling_respectsSchedule()
259 runner -> in testTimestampScheduling_respectsSchedule()
[all …]
DLongevitySuiteTest.java36 import org.junit.runner.Runner;
37 import org.junit.runner.RunWith;
38 import org.junit.runner.notification.RunNotifier;
126 LongevityClassRunner runner = in testReportingIteration_notSet()
128 runners.add(runner); in testReportingIteration_notSet()
129 return runner; in testReportingIteration_notSet()
162 LongevityClassRunner runner = in testReportingIteration_set()
164 runners.add(runner); in testReportingIteration_set()
165 return runner; in testReportingIteration_set()
205 LongevityClassRunner runner = in testAdditionalRunners()
[all …]
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java29 import org.junit.runner.Runner;
30 import org.junit.runner.notification.RunNotifier;
82 Runner runner = null; in constructClassRunners() local
84 runner = builder.runnerForClass(scenario); in constructClassRunners()
94 runner.getDescription().getDisplayName())); in constructClassRunners()
97 if (!(runner instanceof BlockJUnit4ClassRunner)) { in constructClassRunners()
101 runner.getClass(), runner.getDescription().getDisplayName())); in constructClassRunners()
124 protected void runChild(Runner runner, final RunNotifier notifier) { in runChild() argument
127 super.runChild(runner, notifier); in runChild()
145 super.runChild(runner, notifier); in runChild()
[all …]
DLongevitySuite.java41 import org.junit.runner.Description;
42 import org.junit.runner.Runner;
43 import org.junit.runner.notification.RunNotifier;
153 Runner runner = null; in constructClassRunners() local
155 runner = builder.runnerForClass(scenario); in constructClassRunners()
161 if (runner instanceof ErrorReportingRunner) { in constructClassRunners()
162 throw new InitializationError(getCauses((ErrorReportingRunner) runner)); in constructClassRunners()
165 if (!(runner instanceof BlockJUnit4ClassRunner)) { in constructClassRunners()
169 runner.getClass(), runner.getDescription().getDisplayName())); in constructClassRunners()
192 protected void runChild(Runner runner, final RunNotifier notifier) { in runChild() argument
[all …]
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DTransitionRunnerTest.kt37 val runner = TransitionRunner() in canRunTransition() constant
44 }.build(runner) in canRunTransition()
46 val result = runner.execute(flicker) in canRunTransition()
54 val runner = TransitionRunnerCached() in canRunTransitionCached() constant
61 }.build(runner) in canRunTransitionCached()
62 val result = runner.execute(flicker) in canRunTransitionCached()
64 val cachedResult = runner.execute(flicker) in canRunTransitionCached()
/platform_testing/libraries/health/utils/tests/src/android/platform/test/util/
DHealthRunnerBuilderTest.java25 import org.junit.runner.Runner;
26 import org.junit.runner.RunWith;
55 Runner runner = (new HealthRunnerBuilder(new Bundle())).runnerForClass(SampleTest.class); in testDefaultsToJUnit4() local
56 assertTrue(runner instanceof JUnit4); in testDefaultsToJUnit4()
64 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_valid() local
65 assertTrue(runner instanceof SampleRunner); in testUsingSpecifiedRunner_valid()
74 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_invalid_notClass() local
83 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_invalid_notRunner() local
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DTransitionRunnerCached.kt27 private val runner: TransitionRunner = TransitionRunner() constant in com.android.server.wm.flicker.TransitionRunnerCached
36 result = runner.run(flicker) in run()
46 runner.createTag(flicker, tag) in createTag()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DSfStatsListenerTest.java20 import androidx.test.runner.AndroidJUnit4;
26 import org.junit.runner.Description;
27 import org.junit.runner.Result;
28 import org.junit.runner.RunWith;
DStubTestMetricListener.java18 import org.junit.runner.Description;
19 import org.junit.runner.Result;
20 import org.junit.runner.notification.Failure;
DScheduledRunMetricListenerTest.java20 import androidx.test.runner.AndroidJUnit4;
25 import org.junit.runner.Description;
26 import org.junit.runner.Result;
27 import org.junit.runner.RunWith;
DJankListenerTest.java25 import androidx.test.runner.AndroidJUnit4;
31 import org.junit.runner.Description;
32 import org.junit.runner.Result;
33 import org.junit.runner.RunWith;
DPinnerSnapshotListenerTest.java23 import androidx.test.runner.AndroidJUnit4;
27 import org.junit.runner.Description;
28 import org.junit.runner.RunWith;
DProcessShowmapListenerTest.java27 import androidx.test.runner.AndroidJUnit4;
33 import org.junit.runner.Description;
34 import org.junit.runner.RunWith;
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/sample/
DPrintListener.java21 import org.junit.runner.Description;
22 import org.junit.runner.Result;
23 import org.junit.runner.notification.Failure;
24 import org.junit.runner.notification.RunListener;
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/
DMicrobenchmarkTest.java34 import org.junit.runner.Description;
35 import org.junit.runner.JUnitCore;
36 import org.junit.runner.Result;
37 import org.junit.runner.RunWith;
38 import org.junit.runner.notification.Failure;
39 import org.junit.runner.notification.RunNotifier;
240 Microbenchmark runner = Mockito.spy(new Microbenchmark(LoggingTest.class, args)); in testStopsEarly_ifBatteryLevelIsBelowThreshold() local
241 doReturn(49).when(runner).getBatteryLevel(); in testStopsEarly_ifBatteryLevelIsBelowThreshold()
244 runner.run(notifier); in testStopsEarly_ifBatteryLevelIsBelowThreshold()
267 Microbenchmark runner = Mockito.spy(new Microbenchmark(LoggingTest.class, args)); in testStopsEarly_ifBatteryDrainIsAboveThreshold() local
[all …]
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/listener/
DErrorTerminatorTest.java23 import org.junit.runner.Description;
24 import org.junit.runner.RunWith;
25 import org.junit.runner.notification.Failure;
26 import org.junit.runner.notification.RunNotifier;
/platform_testing/libraries/device-collectors/src/test/java/android/device/tests/
DTestEvents.java18 import androidx.test.runner.AndroidJUnit4;
21 import org.junit.runner.RunWith;
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/listener/
DErrorTerminator.java18 import org.junit.runner.notification.Failure;
19 import org.junit.runner.notification.RunNotifier;
DRunTerminator.java18 import org.junit.runner.notification.RunListener;
19 import org.junit.runner.notification.RunNotifier;
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DSystemAppCheck.java20 import androidx.test.runner.AndroidJUnit4;
24 import org.junit.runner.RunWith;
DSystemCheck.java20 import androidx.test.runner.AndroidJUnit4;
24 import org.junit.runner.RunWith;
/platform_testing/libraries/device-collectors/src/test/java/android/device/loggers/test/
DStubInstrumentationAnnotatedTest.java19 import androidx.test.runner.AndroidJUnit4;
23 import org.junit.runner.RunWith;
/platform_testing/libraries/aupt-lib/
DAndroid.bp24 "androidx.test.runner",
27 "android.test.runner.stubs",
40 "androidx.test.runner",
46 "android.test.runner.stubs",
/platform_testing/libraries/health/runners/longevity/
DREADME.md3 This library serves as a test runner for longevity suites, which exercise test cases repeatedly in
18 `java <options> -cp <jar> org.junit.runner.JUnitCore <suite>`
23 org.junit.runner.JUnitCore android.host.test.longevity.samples.SimpleSuite`
29 org.junit.runner.JUnitCore android.host.test.longevity.samples.SimpleSuite`
36 android.platform.test.longevity.samples/androidx.runner.AndroidJUnitRunner`
42 android.platform.test.longevity.samples/androidx.test.runner.AndroidJUnitRunner`
48 android.platform.test.longevity.samples/androidx.test.runner.AndroidJUnitRunner`
54 android.platform.test.longevity.samples/androidx.test.runner.AndroidJUnitRunner`
60 android.platform.test.longevity.samples/androidx.test.runner.AndroidJUnitRunner`
78 org.junit.runner.JUnitCore <test class>`.
[all …]

12345678910>>...18