Home
last modified time | relevance | path

Searched refs:Runner (Results 1 – 25 of 91) sorted by relevance

1234

/external/junit/src/main/java/org/junit/runners/model/
DRunnerBuilder.java11 import org.junit.runner.Runner;
53 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable; in runnerForClass()
68 public Runner safeRunnerForClass(Class<?> testClass) { in safeRunnerForClass()
70 Runner runner = runnerForClass(testClass); in safeRunnerForClass()
80 private void configureRunner(Runner runner) throws InvalidOrderingException { in configureRunner()
106 public List<Runner> runners(Class<?> parent, Class<?>[] children) in runners()
117 public List<Runner> runners(Class<?> parent, List<Class<?>> children) in runners()
122 private List<Runner> runners(Class<?>[] children) { in runners()
123 List<Runner> runners = new ArrayList<Runner>(); in runners()
125 Runner childRunner = safeRunnerForClass(each); in runners()
/external/vogar/src/vogar/target/junit/
DMappingAnnotatedBuilder.java22 import org.junit.runner.Runner;
31 private final Function<Class<? extends Runner>, Class<? extends Runner>> mappingFunction;
35 Function<Class<? extends Runner>, Class<? extends Runner>> mappingFunction) { in MappingAnnotatedBuilder() argument
41 public Runner runnerForClass(Class<?> testClass) throws Exception { in runnerForClass()
44 Class<? extends Runner> runnerClass = runWith.value(); in runnerForClass()
DVogarRunnerBuilder.java22 import org.junit.runner.Runner;
53 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
55 Runner runner = builder.safeRunnerForClass(testClass); in runnerForClass()
65 implements Function<Class<? extends Runner>, Class<? extends Runner>> {
67 public Class<? extends Runner> apply(Class<? extends Runner> runnerClass) { in apply()
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DSession.java120 public final class Runner { class in Session
131 public Runner feed(String operation, Tensor<?> t) { in feed()
142 public Runner feed(String operation, int index, Tensor<?> t) { in feed()
155 public Runner feed(Operand<?> operand, Tensor<?> t) { in feed()
171 public Runner fetch(String operation) { in fetch()
181 public Runner fetch(String operation, int index) { in fetch()
192 public Runner fetch(Output<?> output) { in fetch()
200 public Runner fetch(Operand<?> operand) { in fetch()
208 public Runner addTarget(String operation) { in addTarget()
222 public Runner addTarget(Operation operation) { in addTarget()
[all …]
/external/junit/src/main/java/org/junit/runners/
DSuite.java13 import org.junit.runner.Runner;
27 public class Suite extends ParentRunner<Runner> {
31 public static Runner emptySuite() { in emptySuite()
61 private final List<Runner> runners;
111 protected Suite(Class<?> klass, List<Runner> runners) throws InitializationError { in Suite()
117 protected List<Runner> getChildren() { in getChildren()
122 protected Description describeChild(Runner child) { in describeChild()
127 protected void runChild(Runner runner, final RunNotifier notifier) { in runChild()
DParameterized.java19 import org.junit.runner.Runner;
337 private static class AssumptionViolationRunner extends Runner {
367 private final Runner runnerOverride;
387 private List<Runner> createRunners() throws Exception { in createRunners()
455 private List<Runner> createRunnersForParameters( in createRunnersForParameters()
461 List<Runner> runners = new ArrayList<Runner>(); in createRunnersForParameters()
/external/junit/src/main/java/org/junit/experimental/
DParallelComputer.java8 import org.junit.runner.Runner;
32 private static Runner parallelize(Runner runner) { in parallelize()
55 public Runner getSuite(RunnerBuilder builder, java.lang.Class<?>[] classes) in getSuite()
57 Runner suite = super.getSuite(builder, classes); in getSuite()
62 protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) in getRunner()
64 Runner runner = super.getRunner(builder, testClass); in getRunner()
/external/vogar/src/vogar/target/junit/junit3/
DTestSuiteRunnerFactory.java25 import org.junit.runner.Runner;
56 public class TestSuiteRunnerFactory implements TestSuiteFactory<Runner> {
65 public Runner createSuite(String name, List<Runner> children) { in createSuite()
74 public Runner createTestCase(final TestCase testCase, Description description) { in createTestCase()
85 public Runner createCustomTest(Test test, Description description) {
DAlternateTestCaseBuilder.java20 import org.junit.runner.Runner;
43 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
47 TestCaseTransformer<Runner, DescribableStatement> testCaseTransformer = in runnerForClass()
/external/jsoncpp/src/test_lib_json/
Djsontest.cpp217 Runner::Runner() = default;
219 Runner& Runner::add(TestCaseFactory factory) { in add()
224 size_t Runner::testCount() const { return tests_.size(); } in testCount()
226 Json::String Runner::testNameAt(size_t index) const { in testNameAt()
233 void Runner::runTestAt(size_t index, TestResult& result) const { in runTestAt()
254 bool Runner::runAllTest(bool printSummary) const { in runAllTest()
284 bool Runner::testIndex(const Json::String& testName, size_t& indexOut) const { in testIndex()
295 void Runner::listTests() const { in listTests()
302 int Runner::runCommandLine(int argc, const char* argv[]) const { in runCommandLine()
304 Runner subrunner; in runCommandLine()
[all …]
Djsontest.h134 class Runner {
136 Runner();
139 Runner& add(TestCaseFactory factory);
162 Runner(const Runner& other) = delete;
163 Runner& operator=(const Runner& other) = delete;
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/params/
DParameterizedTestNameTest.java10 import org.junit.runner.Runner;
118 List<Runner> runners = ParameterizedRunner.createRunners( in testClassParameterAppendName()
123 for (Runner r : runners) { in testClassParameterAppendName()
143 List<Runner> runners = ParameterizedRunner.createRunners( in testClassParameterDefaultName()
146 for (Runner r : runners) { in testClassParameterDefaultName()
163 List<Runner> runners = ParameterizedRunner.createRunners( in testMethodParameter()
167 for (Runner r : runners) { in testMethodParameter()
183 List<Runner> runners = in testMixedParameterTestA()
188 for (Runner r : runners) { in testMixedParameterTestA()
/external/junit/src/main/java/org/junit/internal/requests/
DMemoizingRequest.java7 import org.junit.runner.Runner;
11 private volatile Runner runner;
14 public final Runner getRunner() { in getRunner()
29 protected abstract Runner createRunner(); in createRunner()
DSortingRequest.java7 import org.junit.runner.Runner;
20 public Runner getRunner() { in getRunner()
21 Runner runner = request.getRunner(); in getRunner()
DOrderingRequest.java5 import org.junit.runner.Runner;
20 protected Runner createRunner() { in createRunner()
21 Runner runner = request.getRunner(); in createRunner()
DFilterRequest.java5 import org.junit.runner.Runner;
34 public Runner getRunner() { in getRunner()
36 Runner runner = request.getRunner(); in getRunner()
DClassRequest.java5 import org.junit.runner.Runner;
27 protected Runner createRunner() { in createRunner()
47 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
/external/junit/src/main/java/org/junit/internal/builders/
DAnnotatedBuilder.java4 import org.junit.runner.Runner;
81 public Runner runnerForClass(Class<?> testClass) throws Exception { in runnerForClass()
101 public Runner buildRunner(Class<? extends Runner> runnerClass, in buildRunner()
DAllDefaultPossibilitiesBuilder.java6 import org.junit.runner.Runner;
28 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
37 Runner runner = each.safeRunnerForClass(testClass); in runnerForClass()
/external/junit/src/main/java/org/junit/runner/
DComputer.java26 public Runner getSuite(final RunnerBuilder builder, in getSuite()
30 public Runner runnerForClass(Class<?> testClass) throws Throwable { in getSuite()
49 protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) throws Throwable {
DRequest.java77 Runner suite = computer.getSuite(builder, classes); in classes()
108 public static Request runner(final Runner runner) { in runner()
111 public Runner getRunner() { in runner()
122 public abstract Runner getRunner();
/external/junit/src/main/java/org/junit/experimental/max/
DMaxCore.java16 import org.junit.runner.Runner;
106 final List<Runner> runners = new ArrayList<Runner>(); in constructLeafRequest()
112 public Runner getRunner() { in constructLeafRequest()
123 private Runner buildRunner(Description each) {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DTestRunnerSequenceTest.java58 assertNoFailures(run(new Runner(SimpleTest.class))); in shouldRunThingsInTheRightOrder()
75 assertNoFailures(run(new Runner(SimpleTest.class) { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
103 RobolectricTestRunner robolectricTestRunner = new Runner(SimpleTest.class) { in shouldReleaseAllStateAfterClassSoWeDontLeakMemory()
126 private Result run(Runner runner) throws InitializationError { in run()
142 public static class Runner extends RobolectricTestRunner { class in TestRunnerSequenceTest
143 public Runner(Class<?> testClass) throws InitializationError { in Runner() method in TestRunnerSequenceTest.Runner
/external/llvm-project/libc/benchmarks/
DLibcMemoryBenchmarkMain.cpp60 std::unique_ptr<BenchmarkRunner> Runner = getRunner(S.Configuration); in Main() local
62 Runner->getFunctionNames().size() * Runs * ((SR.To - SR.From) / SR.Step); in Main()
64 for (auto FunctionName : Runner->getFunctionNames()) { in Main()
69 const auto Result = Runner->benchmark(S.Options, FunctionName, Size); in Main()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/params/
DParameterizedRunner.java8 import org.junit.runner.Runner;
33 private final List<Runner> mRunners;
48 protected List<Runner> getChildren() { in getChildren()
127 static List<Runner> createRunners(TestClass testClass) in createRunners()
142 List<Runner> runnersForTestClass = new ArrayList<>(); in createRunners()

1234