/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/ |
Runner.java | 19 public interface Runner {
|
RunnerGenerator.java | 20 public Runner run();
|
/external/junit/src/main/java/org/junit/runners/parameterized/ |
ParametersRunnerFactory.java | 3 import org.junit.runner.Runner; 7 * A {@code ParameterizedRunnerFactory} creates a runner for a single 14 * Returns a runner for the specified {@link TestWithParameters}. 17 * if the runner could not be created. 19 Runner createRunnerForTestWithParameters(TestWithParameters test)
|
BlockJUnit4ClassRunnerWithParametersFactory.java | 3 import org.junit.runner.Runner; 14 public Runner createRunnerForTestWithParameters(TestWithParameters test)
|
/external/vogar/src/vogar/target/junit/ |
MappingAnnotatedBuilder.java | 21 import org.junit.runner.RunWith; 22 import org.junit.runner.Runner; 26 * An {@link AnnotatedBuilder} that can map the {@link Runner} class specified in the 31 private final Function<Class<? extends Runner>, Class<? extends Runner>> mappingFunction; 35 Function<Class<? extends Runner>, Class<? extends Runner>> mappingFunction) { 41 public Runner runnerForClass(Class<?> testClass) throws Exception { 44 Class<? extends Runner> runnerClass = runWith.value() [all...] |
VogarJUnit4Builder.java | 19 import org.junit.runner.Runner; 33 public Runner runnerForClass(Class<?> testClass) throws Throwable {
|
VogarRunnerBuilder.java | 22 import org.junit.runner.Runner; 30 * create a runner, returning the result of the first that does so, or null if none match. 53 public Runner runnerForClass(Class<?> testClass) throws Throwable { 55 Runner runner = builder.safeRunnerForClass(testClass); local 56 if (runner != null) { 57 return runner; 65 implements Function<Class<? extends Runner>, Class<? extends Runner>> { [all...] |
ExtendedSuiteRunner.java | 20 import org.junit.runner.Runner; 25 * A {@link Suite} that allows the list of {@link Runner runners} to be supplied in the constructor 31 public ExtendedSuiteRunner(String name, List<Runner> runners)
|
/platform_testing/libraries/longevity/src/android/longevity/core/scheduler/ |
Scheduler.java | 22 import org.junit.runner.Runner; 25 * A {@code BiFunction} for modifying the execution of {@code LongevitySuite} {@code Runner}s. 28 public interface Scheduler extends BiFunction<Map<String, String>, List<Runner>, List<Runner>> {
|
/external/junit/src/main/java/org/junit/runners/model/ |
RunnerBuilder.java | 9 import org.junit.runner.Runner; 14 * Only writers of custom runners should use <code>RunnerBuilder</code>s. A custom runner class with a constructor taking 15 * a <code>RunnerBuilder</code> parameter will be passed the instance of <code>RunnerBuilder</code> used to build that runner itself. 17 * imagine a custom runner that builds suites based on a list of classes in a text file: 43 * Override to calculate the correct runner for a test class at runtime. 46 * @return a Runner 47 * @throws Throwable if a runner cannot be constructed 49 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable; 52 * Always returns a runner, even if it is just one that prints an error instead of running tests [all...] |
/external/junit/src/main/java/org/junit/internal/builders/ |
IgnoredBuilder.java | 4 import org.junit.runner.Runner; 9 public Runner runnerForClass(Class<?> testClass) {
|
JUnit4Builder.java | 3 import org.junit.runner.Runner; 9 public Runner runnerForClass(Class<?> testClass) throws Throwable {
|
NullBuilder.java | 3 import org.junit.runner.Runner; 8 public Runner runnerForClass(Class<?> each) throws Throwable {
|
IgnoredClassRunner.java | 3 import org.junit.runner.Description; 4 import org.junit.runner.Runner; 5 import org.junit.runner.notification.RunNotifier; 7 public class IgnoredClassRunner extends Runner {
|
JUnit3Builder.java | 4 import org.junit.runner.Runner; 9 public Runner runnerForClass(Class<?> testClass) throws Throwable {
|
SuiteMethodBuilder.java | 4 import org.junit.runner.Runner; 9 public Runner runnerForClass(Class<?> each) throws Throwable {
|
/external/junit/src/main/java/org/junit/internal/requests/ |
ClassRequest.java | 4 import org.junit.runner.Request; 5 import org.junit.runner.Runner; 17 private volatile Runner runner; field in class:ClassRequest 29 public Runner getRunner() { 30 if (runner == null) { 32 if (runner == null) { 33 runner = new AllDefaultPossibilitiesBuilder(canUseSuiteMethod).safeRunnerForClass(fTestClass); 37 return runner; [all...] |
SortingRequest.java | 5 import org.junit.runner.Description; 6 import org.junit.runner.Request; 7 import org.junit.runner.Runner; 8 import org.junit.runner.manipulation.Sorter; 20 public Runner getRunner() { 21 Runner runner = request.getRunner(); local 22 new Sorter(comparator).apply(runner); 23 return runner; [all...] |
/external/junit/src/main/java/org/junit/runner/ |
Computer.java | 1 package org.junit.runner; 24 * Throws an InitializationError if Runner construction fails 26 public Runner getSuite(final RunnerBuilder builder, 30 public Runner runnerForClass(Class<?> testClass) throws Throwable { 37 * Create a single-class runner for {@code testClass}, using {@code builder} 39 protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) throws Throwable {
|
Runner.java | 1 package org.junit.runner; 3 import org.junit.runner.notification.RunNotifier; 6 * A <code>Runner</code> runs tests and notifies a {@link org.junit.runner.notification.RunNotifier} 7 * of significant events as it does so. You will need to subclass <code>Runner</code> 8 * when using {@link org.junit.runner.RunWith} to invoke a custom runner. When creating 9 * a custom runner, in addition to implementing the abstract methods here you must 13 * <p>The default runner implementation guarantees that the instances of the test case 14 * class will be constructed immediately before running the test and that the runner [all...] |
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/builder/ |
DeviceJUnit4ClassRunnerBuilder.java | 23 import org.junit.runner.Runner; 36 public Runner runnerForClass(Class<?> testClass) throws Throwable {
|
/external/vogar/src/vogar/target/junit/junit3/ |
TestSuiteRunnerFactory.java | 24 import org.junit.runner.Description; 25 import org.junit.runner.Runner; 36 * Transforms a hierarchy of {@link Test} objects into a hierarchy of {@link Runner} objects. 44 * {@link Runner} classes. 56 public class TestSuiteRunnerFactory implements TestSuiteFactory<Runner> { 65 public Runner createSuite(String name, List<Runner> children) { 74 public Runner createTestCase(final TestCase testCase, Description description) { 85 public Runner createCustomTest(Test test, Description description) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
OptionalClassRunner.java | 19 import org.junit.runner.Description; 20 import org.junit.runner.Runner; 21 import org.junit.runner.notification.RunNotifier; 43 public class OptionalClassRunner extends Runner { 45 private final Runner mDelegate; 55 Runner delegate; 61 // The class could not be found so create a Runner delegate that will treat the 89 private static class ClassNotFoundRunner extends ParentRunner<Runner> { 91 private List<Runner> mChildren [all...] |
/external/junit/src/main/java/org/junit/experimental/ |
ParallelComputer.java | 7 import org.junit.runner.Computer; 8 import org.junit.runner.Runner; 32 private static Runner parallelize(Runner runner) { 33 if (runner instanceof ParentRunner) { 34 ((ParentRunner<?>) runner).setScheduler(new RunnerScheduler() { 51 return runner; 55 public Runner getSuite(RunnerBuilder builder, java.lang.Class<?>[] classes 64 Runner runner = super.getRunner(builder, testClass); local [all...] |
/platform_testing/libraries/longevity/tests/src/android/longevity/core/scheduler/ |
IterateTest.java | 30 import org.junit.runner.Description; 31 import org.junit.runner.Runner; 32 import org.junit.runner.RunWith; 56 List<Runner> input = new ArrayList<>(); 59 List<Runner> output = mIterate.apply(args, input); 62 .map(Runner::getDescription) 71 private Runner getMockRunner (int id) { 72 Runner result = Mockito.mock(Runner.class) [all...] |