/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/ |
D | LongevitySuite.java | 105 public void run(final RunNotifier notifier) { in run() argument 110 notifier.addListener(getErrorTerminator(notifier)); in run() 112 notifier.addListener(getTimeoutTerminator(notifier)); in run() 115 super.run(notifier); in run() 133 public ErrorTerminator getErrorTerminator(final RunNotifier notifier) { in getErrorTerminator() argument 134 return new ErrorTerminator(notifier); in getErrorTerminator() 142 public TimeoutTerminator getTimeoutTerminator(final RunNotifier notifier) { in getTimeoutTerminator() argument 143 return new TimeoutTerminator(notifier, mArguments); in getTimeoutTerminator()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ProfileSuiteTest.java | 201 .run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 218 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 238 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 243 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 253 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 263 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 357 argThat(notifier -> notifier.equals(mRunNotifier))); in testIndexedScheduling_respectsSchedule() 367 argThat(notifier -> notifier.equals(mRunNotifier))); in testIndexedScheduling_respectsSchedule() 377 argThat(notifier -> notifier.equals(mRunNotifier))); in testIndexedScheduling_respectsSchedule() 417 argThat(notifier -> notifier.equals(mRunNotifier))); in testSequentialScheduling_respectsSchedule() [all …]
|
D | LongevityClassRunnerTest.java | 362 RunNotifier notifier = spy(new RunNotifier()); in testIgnore_excludedClasses() local 364 notifier.addListener(listener); in testIgnore_excludedClasses() 368 mRunner.run(notifier); in testIgnore_excludedClasses() 376 RunNotifier notifier = mock(RunNotifier.class); in testReportIteration_noIterationSet() local 378 mRunner.run(notifier); in testReportIteration_noIterationSet() 379 verify(notifier).fireTestStarted(captor.capture()); in testReportIteration_noIterationSet() 395 RunNotifier notifier = mock(RunNotifier.class); in testReportIteration_withIteration_withDefaultSeparator() local 398 mRunner.run(notifier); in testReportIteration_withIteration_withDefaultSeparator() 399 verify(notifier).fireTestStarted(captor.capture()); in testReportIteration_withIteration_withDefaultSeparator() 417 RunNotifier notifier = mock(RunNotifier.class); in testReportIteration_withIteration_withCustomSeparator() local [all …]
|
D | ScheduledScenarioRunnerTest.java | 260 RunNotifier notifier = spy(new RunNotifier()); in testIgnoredScenario_doesIdle() local 262 notifier.addListener(listener); in testIgnoredScenario_doesIdle() 263 runner.run(notifier); in testIgnoredScenario_doesIdle()
|
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/listener/ |
D | ErrorTerminator.java | 25 public ErrorTerminator(RunNotifier notifier) { in ErrorTerminator() argument 26 super(notifier); in ErrorTerminator()
|
D | RunTerminator.java | 28 public RunTerminator(RunNotifier notifier) { in RunTerminator() argument 29 mNotifier = notifier; in RunTerminator()
|
D | TimeoutTerminator.java | 36 public TimeoutTerminator(RunNotifier notifier, Map<String, String> args) { in TimeoutTerminator() argument 37 super(notifier); in TimeoutTerminator()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/listener/ |
D | ErrorTerminator.java | 26 public ErrorTerminator(RunNotifier notifier) { in ErrorTerminator() argument 27 super(notifier); in ErrorTerminator()
|
D | TimeoutTerminator.java | 31 public TimeoutTerminator(RunNotifier notifier, Map<String, String> args) { in TimeoutTerminator() argument 32 super(notifier, args); in TimeoutTerminator()
|
D | BatteryTerminator.java | 41 public BatteryTerminator(RunNotifier notifier, Map<String, String> args, Context context) { in BatteryTerminator() argument 42 super(notifier); in BatteryTerminator()
|
/platform_testing/libraries/health/runners/microbenchmark/tests/src/android/platform/test/microbenchmark/ |
D | MicrobenchmarkTest.java | 243 RunNotifier notifier = Mockito.mock(RunNotifier.class); in testStopsEarly_ifBatteryLevelIsBelowThreshold() local 244 runner.run(notifier); in testStopsEarly_ifBatteryLevelIsBelowThreshold() 247 verify(notifier).fireTestFailure(failureCaptor.capture()); in testStopsEarly_ifBatteryLevelIsBelowThreshold() 270 RunNotifier notifier = Mockito.mock(RunNotifier.class); in testStopsEarly_ifBatteryDrainIsAboveThreshold() local 271 runner.run(notifier); in testStopsEarly_ifBatteryDrainIsAboveThreshold() 274 verify(notifier).fireTestFailure(failureCaptor.capture()); in testStopsEarly_ifBatteryDrainIsAboveThreshold() 304 RunNotifier notifier = Mockito.mock(RunNotifier.class); in testAlignWithBatteryChargeCounter() local 310 runner.run(notifier); in testAlignWithBatteryChargeCounter() 316 verify(notifier, never()).fireTestStarted(any(Description.class)); in testAlignWithBatteryChargeCounter() 318 verify(notifier).fireTestStarted(any(Description.class)); in testAlignWithBatteryChargeCounter() [all …]
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | LongevitySuite.java | 182 public void run(final RunNotifier notifier) { in run() argument 185 notifier.addListener(new BatteryTerminator(notifier, mArguments, mContext)); in run() 188 super.run(notifier); in run() 192 protected void runChild(Runner runner, final RunNotifier notifier) { in runChild() argument 201 super.runChild(suiteRunner, notifier); in runChild() 207 final RunNotifier notifier) { in getErrorTerminator() argument 208 return new ErrorTerminator(notifier); in getErrorTerminator() 218 final RunNotifier notifier) { in getTimeoutTerminator() argument 220 mTimeoutTerminator = new TimeoutTerminator(notifier, mArguments); in getTimeoutTerminator()
|
D | ProfileSuite.java | 110 public void run(final RunNotifier notifier) { in run() argument 112 notifier.addListener(mProfile); in run() 114 super.run(notifier); in run() 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()
|
D | ScheduledScenarioRunner.java | 144 protected void runChild(final FrameworkMethod method, RunNotifier notifier) { in runChild() argument 146 super.runChild(method, notifier); in runChild()
|
/platform_testing/libraries/health/runners/microbenchmark/src/android/platform/test/microbenchmark/ |
D | Microbenchmark.java | 134 public void run(final RunNotifier notifier) { in run() argument 159 super.run(notifier); in run() 301 protected void runChild(final FrameworkMethod method, RunNotifier notifier) { in runChild() argument 317 notifier.fireTestIgnored(description); in runChild() 319 EachTestNotifier eachNotifier = new EachTestNotifier(notifier, description); in runChild()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | FlickerBlockJUnit4ClassRunner.kt | 45 override fun classBlock(notifier: RunNotifier): Statement { in classBlock() 46 val statement = childrenInvoker(notifier) in classBlock()
|