/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ScheduledScenarioRunnerTest.java | 40 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 …]
|
D | ProfileSuiteTest.java | 48 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 …]
|
D | LongevitySuiteTest.java | 36 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/ |
D | ProfileSuite.java | 29 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 …]
|
D | LongevitySuite.java | 41 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/ |
D | TransitionRunnerTest.kt | 37 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/ |
D | HealthRunnerBuilderTest.java | 25 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/ |
D | TransitionRunnerCached.kt | 27 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/ |
D | SfStatsListenerTest.java | 20 import androidx.test.runner.AndroidJUnit4; 26 import org.junit.runner.Description; 27 import org.junit.runner.Result; 28 import org.junit.runner.RunWith;
|
D | StubTestMetricListener.java | 18 import org.junit.runner.Description; 19 import org.junit.runner.Result; 20 import org.junit.runner.notification.Failure;
|
D | ScheduledRunMetricListenerTest.java | 20 import androidx.test.runner.AndroidJUnit4; 25 import org.junit.runner.Description; 26 import org.junit.runner.Result; 27 import org.junit.runner.RunWith;
|
D | JankListenerTest.java | 25 import androidx.test.runner.AndroidJUnit4; 31 import org.junit.runner.Description; 32 import org.junit.runner.Result; 33 import org.junit.runner.RunWith;
|
D | PinnerSnapshotListenerTest.java | 23 import androidx.test.runner.AndroidJUnit4; 27 import org.junit.runner.Description; 28 import org.junit.runner.RunWith;
|
D | ProcessShowmapListenerTest.java | 27 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/ |
D | PrintListener.java | 21 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/ |
D | MicrobenchmarkTest.java | 34 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/ |
D | ErrorTerminatorTest.java | 23 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/ |
D | TestEvents.java | 18 import androidx.test.runner.AndroidJUnit4; 21 import org.junit.runner.RunWith;
|
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/listener/ |
D | ErrorTerminator.java | 18 import org.junit.runner.notification.Failure; 19 import org.junit.runner.notification.RunNotifier;
|
D | RunTerminator.java | 18 import org.junit.runner.notification.RunListener; 19 import org.junit.runner.notification.RunNotifier;
|
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/ |
D | SystemAppCheck.java | 20 import androidx.test.runner.AndroidJUnit4; 24 import org.junit.runner.RunWith;
|
D | SystemCheck.java | 20 import androidx.test.runner.AndroidJUnit4; 24 import org.junit.runner.RunWith;
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/loggers/test/ |
D | StubInstrumentationAnnotatedTest.java | 19 import androidx.test.runner.AndroidJUnit4; 23 import org.junit.runner.RunWith;
|
/platform_testing/libraries/aupt-lib/ |
D | Android.bp | 24 "androidx.test.runner", 27 "android.test.runner.stubs", 40 "androidx.test.runner", 46 "android.test.runner.stubs",
|
/platform_testing/libraries/health/runners/longevity/ |
D | README.md | 3 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 …]
|