Home
last modified time | relevance | path

Searched refs:suite (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileSuiteTest.java185 ProfileSuite suite = in testTimestampScheduling_respectsSchedule() local
200 .when(suite) in testTimestampScheduling_respectsSchedule()
211 .when(suite) in testTimestampScheduling_respectsSchedule()
231 .when(suite) in testTimestampScheduling_respectsSchedule()
239 InOrder inOrderVerifier = inOrder(suite); in testTimestampScheduling_respectsSchedule()
241 suite.run(mRunNotifier); in testTimestampScheduling_respectsSchedule()
243 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
246 .verify(suite) in testTimestampScheduling_respectsSchedule()
256 .verify(suite) in testTimestampScheduling_respectsSchedule()
278 ProfileSuite suite = in testTimestampScheduling_respectsSuiteTimeout() local
[all …]
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/
DLongevitySuiteTest.java66 LongevitySuite suite = in testDoNotInvalidateTestRuns() local
69 suite.run(new RunNotifier()); in testDoNotInvalidateTestRuns()
81 LongevitySuite suite = in testInvalidateTestRuns() local
85 suite.run(new RunNotifier()); in testInvalidateTestRuns()
113 LongevitySuite suite = in testTimeoutTestRuns() local
117 suite.run(new RunNotifier()); in testTimeoutTestRuns()
146 LongevitySuite suite = in testChildAccounting() local
148 assertEquals(suite.testCount(), expectedIterations * 3); in testChildAccounting()
/platform_testing/libraries/health/runners/longevity/
DREADME.md18 `java <options> -cp <jar> org.junit.runner.JUnitCore <suite>`
20 **Run simple test suite 50 times, and quit when an error is encountered.**
25 **Run simple test suite 10 times, shuffle all tests, and quit after 30 minutes.**
35 `adb shell am instrument -w -r -e <option> <value> -e class <suite>
38 **Run simple test suite 50 times, and quit when an error is encountered.**
44 **Run simple test suite 10 times, shuffle all tests, and quit after 30 minutes.**
46 `adb shell am instrument -w -r -e iterations 10 -e shuffle true -e suite-timeout_msec 1800000
50 **Run simple test suite 100 times, and quit when battery drops below 5%.**
56 **Run a suite using the sample profile under assets/**
64 * `iterations <int>` - the number of times to repeat the suite.
[all …]
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/
DLongevitySuite.java89 Class<?> suite, RunnerBuilder builder, Map<String, String> args) in constructClassRunners() argument
93 SuiteClasses annotation = suite.getAnnotation(SuiteClasses.class); in constructClassRunners()
96 "Longevity suite, '%s', must have a SuiteClasses annotation", suite.getName())); in constructClassRunners()
101 return modifier.apply(args, builder.runners(suite, annotation.value())); in constructClassRunners()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java70 Class<?> suite, RunnerBuilder builder, Bundle args) in constructClassRunners() argument
75 SuiteClasses annotation = suite.getAnnotation(SuiteClasses.class); in constructClassRunners()
78 "Longevity suite, '%s', must have a SuiteClasses annotation", suite.getName())); in constructClassRunners()
105 return new Profile(args).getRunnerSequence(builder.runners(suite, annotation.value())); in constructClassRunners()
DLongevitySuite.java141 Class<?> suite, List<Runner> additional, RunnerBuilder builder, Bundle args) in constructClassRunners() argument
146 SuiteClasses annotation = suite.getAnnotation(SuiteClasses.class); in constructClassRunners()
149 "Longevity suite, '%s', must have a SuiteClasses annotation", suite.getName())); in constructClassRunners()
173 List<Runner> runners = builder.runners(suite, annotation.value()); in constructClassRunners()
/platform_testing/libraries/tradefed-python-lib/helloWorld/
DAndroid.bp29 test_suites: ["null-suite"],