Home
last modified time | relevance | path

Searched refs:HealthRunnerBuilder (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/health/utils/tests/src/android/platform/test/util/
DHealthRunnerBuilderTest.java55 Runner runner = (new HealthRunnerBuilder(new Bundle())).runnerForClass(SampleTest.class); in testDefaultsToJUnit4()
63 args.putString(HealthRunnerBuilder.RUNNER_OPTION, SampleRunner.class.getName()); in testUsingSpecifiedRunner_valid()
64 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_valid()
73 args.putString(HealthRunnerBuilder.RUNNER_OPTION, "notAClass"); in testUsingSpecifiedRunner_invalid_notClass()
74 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_invalid_notClass()
82 args.putString(HealthRunnerBuilder.RUNNER_OPTION, HealthRunnerBuilderTest.class.getName()); in testUsingSpecifiedRunner_invalid_notRunner()
83 Runner runner = (new HealthRunnerBuilder(args)).runnerForClass(SampleTest.class); in testUsingSpecifiedRunner_invalid_notRunner()
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthRunnerBuilder.java39 public class HealthRunnerBuilder extends RunnerBuilder { class
44 public HealthRunnerBuilder() { in HealthRunnerBuilder() method in HealthRunnerBuilder
49 HealthRunnerBuilder(Bundle args) { in HealthRunnerBuilder() method in HealthRunnerBuilder
54 loadedClass = HealthRunnerBuilder.class.getClassLoader().loadClass(runnerName); in HealthRunnerBuilder()