Home
last modified time | relevance | path

Searched refs:runner (Results 1 – 25 of 999) sorted by relevance

12345678910>>...40

/external/expat/tests/
Dminicheck.c78 SRunner *runner = calloc(1, sizeof(SRunner)); in srunner_create() local
79 if (runner != NULL) { in srunner_create()
80 runner->suite = suite; in srunner_create()
82 return runner; in srunner_create()
101 add_failure(SRunner *runner, int verbosity) in add_failure() argument
103 runner->nfailures++; in add_failure()
111 srunner_run_all(SRunner *runner, int verbosity) in srunner_run_all() argument
115 assert(runner != NULL); in srunner_run_all()
116 suite = runner->suite; in srunner_run_all()
121 runner->nchecks++; in srunner_run_all()
[all …]
/external/vogar/test/vogar/target/
DTestRunnerTest.java20 import com.google.caliper.runner.UserCodeException;
24 import org.junit.runner.RunWith;
46 TestRunner runner = testRunnerRule.createTestRunner(); in testConstructor_JUnit3Test() local
47 runner.run(); in testConstructor_JUnit3Test()
66 TestRunner runner = testRunnerRule.createTestRunner(); in testConstructor_MonitorPortOverridden() local
67 assertEquals(2345, (int) runner.monitorPort); in testConstructor_MonitorPortOverridden()
69 runner = testRunnerRule.createTestRunner("--monitorPort", "10"); in testConstructor_MonitorPortOverridden()
70 assertEquals(10, (int) runner.monitorPort); in testConstructor_MonitorPortOverridden()
77 TestRunner runner = testRunnerRule.createTestRunner("--skipPast", failingTestName); in testConstructor_SkipPastJUnitRunner() local
78 String skipPast = runner.skipPastReference.get(); in testConstructor_SkipPastJUnitRunner()
[all …]
DJUnitRunnerTest.java55 Runner runner = new JUnitRunner(monitor, skipPastReference, testEnvironment, 0, tests); in test_run_for_SimpleTest_should_perform_test() local
56 runner.run(null); in test_run_for_SimpleTest_should_perform_test()
66 Runner runner = new JUnitRunner(monitor, skipPastReference, testEnvironment, 0, tests); in test_run_for_SuiteTest_should_perform_tests() local
67 runner.run(null); in test_run_for_SuiteTest_should_perform_tests()
83 Runner runner = new JUnitRunner(monitor, skipPastReference, testEnvironment, 0, tests); in test_run_for_SimpleTest2_with_ActionName_should_perform_test() local
84 runner.run(null); in test_run_for_SimpleTest2_with_ActionName_should_perform_test()
99 Runner runner = new JUnitRunner(monitor, skipPastReference, testEnvironment, 0, tests); in test_run_for_SimpleTest2_limiting_to_1method_should_perform_test() local
100 runner.run(null); in test_run_for_SimpleTest2_limiting_to_1method_should_perform_test()
111 Runner runner = new JUnitRunner(monitor, skipPastReference, testEnvironment, 0, tests); in test_run_for_SimpleTest2_limiting_to_2methods_should_perform_test() local
112 runner.run(null); in test_run_for_SimpleTest2_limiting_to_2methods_should_perform_test()
[all …]
/external/webrtc/webrtc/base/
Dcriticalsection_unittest.cc247 AtomicOpRunner<IncrementOp, UniqueValueVerifier> runner(0); in TEST() local
249 StartThreads(&threads, &runner); in TEST()
250 runner.SetExpectedThreadCount(kNumThreads); in TEST()
253 EXPECT_TRUE(runner.Run()); in TEST()
254 EXPECT_EQ(kOperationsToRun * kNumThreads, runner.shared_value()); in TEST()
259 AtomicOpRunner<DecrementOp, UniqueValueVerifier> runner( in TEST() local
262 StartThreads(&threads, &runner); in TEST()
263 runner.SetExpectedThreadCount(kNumThreads); in TEST()
266 EXPECT_TRUE(runner.Run()); in TEST()
267 EXPECT_EQ(0, runner.shared_value()); in TEST()
[all …]
/external/mockito/src/org/mockito/runners/
DVerboseMockitoJUnitRunner.java9 import org.junit.runner.Description;
10 import org.junit.runner.Runner;
11 import org.junit.runner.manipulation.Filter;
12 import org.junit.runner.manipulation.Filterable;
13 import org.junit.runner.manipulation.NoTestsRemainException;
14 import org.junit.runner.notification.Failure;
15 import org.junit.runner.notification.RunListener;
16 import org.junit.runner.notification.RunNotifier;
40 private RunnerImpl runner; field in VerboseMockitoJUnitRunner
47 this.runner = runnerImpl; in VerboseMockitoJUnitRunner()
[all …]
DConsoleSpammingMockitoJUnitRunner.java9 import org.junit.runner.Description;
10 import org.junit.runner.Runner;
11 import org.junit.runner.manipulation.Filter;
12 import org.junit.runner.manipulation.Filterable;
13 import org.junit.runner.manipulation.NoTestsRemainException;
14 import org.junit.runner.notification.Failure;
15 import org.junit.runner.notification.RunListener;
16 import org.junit.runner.notification.RunNotifier;
92 private RunnerImpl runner; field in ConsoleSpammingMockitoJUnitRunner
99 this.runner = runnerImpl; in ConsoleSpammingMockitoJUnitRunner()
[all …]
DMockitoJUnitRunner.java7 import org.junit.runner.Description;
8 import org.junit.runner.Runner;
9 import org.junit.runner.manipulation.Filter;
10 import org.junit.runner.manipulation.Filterable;
11 import org.junit.runner.manipulation.NoTestsRemainException;
12 import org.junit.runner.notification.RunNotifier;
54 private final RunnerImpl runner; field in MockitoJUnitRunner
57 runner = new RunnerFactory().create(klass); in MockitoJUnitRunner()
62 runner.run(notifier); in run()
67 return runner.getDescription(); in getDescription()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Drun_tests.py114 runner = typ.Runner()
116 runner.host.stdout = self.stream
133 runner.args.jobs = 1
136 runner.args.jobs = len(android_devs)
137 if runner.args.jobs == 0:
139 print 'Running tests with %d Android device(s).' % runner.args.jobs
143 runner.args.jobs = max(int(args.jobs) // 4, 1)
145 runner.args.jobs = max(int(args.jobs) // 2, 1)
147 runner.args.metadata = args.metadata
148 runner.args.passthrough = args.passthrough
[all …]
/external/caliper/expectations/
Dknownfailures.txt12 "com.google.caliper.runner.StreamServiceTest",
13 "com.google.caliper.runner.WorkerProcessTest"
21 "com.google.caliper.runner.ExperimentingRunnerModuleTest"
33 "com.google.caliper.runner.AllocationInstrumentTest",
34 …"com.google.caliper.runner.BadUserCodeTest#testComplexNonDeterministicAllocation_noTrackAllocation…
35 …"com.google.caliper.runner.BadUserCodeTest#testComplexNonDeterministicAllocation_trackAllocations",
36 "com.google.caliper.runner.BadUserCodeTest#testNonDeterministicAllocation_noTrackAllocations",
37 "com.google.caliper.runner.BadUserCodeTest#testNonDeterministicAllocation_trackAllocations",
38 "com.google.caliper.runner.MalformedBenchmarksTest#noBenchmarkMethods"
44 "com.google.caliper.runner.ArbitraryMeasurmentInstrumentTest"
[all …]
/external/v8/benchmarks/
Dbase.js105 BenchmarkSuite.RunSuites = function(runner) { argument
117 if (runner.NotifyStart) runner.NotifyStart(suite.name);
118 continuation = suite.RunStep(runner);
125 if (runner.NotifyScore) {
128 runner.NotifyScore(formatted);
171 if (this.runner.NotifyStep) this.runner.NotifyStep(result.benchmark.name);
181 if (this.runner.NotifyResult) {
183 this.runner.NotifyResult(this.name, formatted);
190 if (this.runner.NotifyError) {
191 this.runner.NotifyError(this.name, error);
[all …]
/external/v8/test/js-perf-test/
Dbase.js117 BenchmarkSuite.RunSuites = function(runner, skipBenchmarks) { argument
130 if (runner.NotifyStart) runner.NotifyStart(suite.name);
132 suite.NotifySkipped(runner);
134 continuation = suite.RunStep(runner);
144 if (runner.NotifyScore) {
147 runner.NotifyScore(formatted);
218 if (this.runner.NotifyStep) this.runner.NotifyStep(result.benchmark.name);
228 if (this.runner.NotifyResult) {
230 this.runner.NotifyResult(this.name, formatted);
237 if (this.runner.NotifyResult) {
[all …]
/external/mockito/src/org/mockito/internal/runners/
DJUnit44RunnerImpl.java10 import org.junit.runner.Description;
11 import org.junit.runner.manipulation.Filter;
12 import org.junit.runner.manipulation.NoTestsRemainException;
13 import org.junit.runner.notification.RunNotifier;
20 JUnit4ClassRunner runner; field in JUnit44RunnerImpl
23 this.runner = new JUnit4ClassRunner(klass) { in JUnit44RunnerImpl()
37 runner.run(notifier); in run()
41 return runner.getDescription(); in getDescription()
45 runner.filter(filter); in filter()
DJUnit45AndHigherRunnerImpl.java7 import org.junit.runner.Description;
8 import org.junit.runner.manipulation.Filter;
9 import org.junit.runner.manipulation.NoTestsRemainException;
10 import org.junit.runner.notification.RunNotifier;
20 private BlockJUnit4ClassRunner runner; field in JUnit45AndHigherRunnerImpl
23 runner = new BlockJUnit4ClassRunner(klass) { in JUnit45AndHigherRunnerImpl()
37 runner.run(notifier); in run()
41 return runner.getDescription(); in getDescription()
45 runner.filter(filter); in filter()
/external/libchrome/base/
Dcallback_helpers_unittest.cc20 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST() local
30 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST() local
31 c = runner.Release(); in TEST()
43 base::ScopedClosureRunner runner; in TEST() local
44 runner.Reset(base::Bind(&Increment, &run_count_1)); in TEST()
45 runner.Reset(base::Bind(&Increment, &run_count_2)); in TEST()
53 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_3)); in TEST() local
55 runner.Reset(); in TEST()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DBadUserCodeTest.java15 package com.google.caliper.runner;
26 import org.junit.runner.RunWith;
36 @Rule public CaliperTestWatcher runner = new CaliperTestWatcher(); field in BadUserCodeTest
42 runner.forBenchmark(ExceptionInInitBenchmark.class).run(); in testExceptionInInit()
65 runner.forBenchmark(ExceptionInConstructorBenchmark.class).run(); in testExceptionInConstructor()
84 runner.forBenchmark(ExceptionInMethodBenchmark.class).run(); in testExceptionInMethod()
99 runner.forBenchmark(ExceptionLateInMethodBenchmark.class).run(); in testExceptionInMethod_notInDryRun()
118 runner.forBenchmark(ExceptionInSetUpBenchmark.class).run(); in testExceptionInSetUp()
137 runner.forBenchmark(NonDeterministicAllocationBenchmark.class) in testNonDeterministicAllocation_noTrackAllocations()
153 runner.forBenchmark(NonDeterministicAllocationBenchmark.class) in testNonDeterministicAllocation_trackAllocations()
[all …]
/external/junit/src/org/junit/internal/requests/
DSortingRequest.java5 import org.junit.runner.Description;
6 import org.junit.runner.Request;
7 import org.junit.runner.Runner;
8 import org.junit.runner.manipulation.Sorter;
21 Runner runner= fRequest.getRunner(); in getRunner() local
22 new Sorter(fComparator).apply(runner); in getRunner()
23 return runner; in getRunner()
DFilterRequest.java7 import org.junit.runner.Request;
8 import org.junit.runner.Runner;
9 import org.junit.runner.manipulation.Filter;
10 import org.junit.runner.manipulation.NoTestsRemainException;
33 Runner runner= fRequest.getRunner(); in getRunner() local
34 fFilter.apply(runner); in getRunner()
35 return runner; in getRunner()
/external/v8/tools/testrunner/local/
Dprogress.py45 self.runner = None
47 def SetRunner(self, runner): argument
48 self.runner = runner
76 command = execution.GetCommand(test, self.runner.context)
116 print 'Running %i tests' % self.runner.total
120 for failed in self.runner.failed:
134 if len(self.runner.failed) == 0:
141 print "=== %i tests failed" % len(self.runner.failed)
142 if self.runner.crashed > 0:
143 print "=== %i tests CRASHED" % self.runner.crashed
[all …]
/external/junit/src/org/junit/experimental/
DParallelComputer.java10 import org.junit.runner.Computer;
11 import org.junit.runner.Runner;
35 private static <T> Runner parallelize(Runner runner) { in parallelize() argument
36 if (runner instanceof ParentRunner<?>) { in parallelize()
37 ((ParentRunner<?>) runner).setScheduler(new RunnerScheduler() { in parallelize()
62 return runner; in parallelize()
75 Runner runner= super.getRunner(builder, testClass); in getRunner() local
76 return fMethods ? parallelize(runner) : runner; in getRunner()
/external/junit/src/junit/framework/
DJUnit4TestAdapter.java6 import org.junit.runner.Describable;
7 import org.junit.runner.Description;
8 import org.junit.runner.Request;
9 import org.junit.runner.Runner;
10 import org.junit.runner.manipulation.Filter;
11 import org.junit.runner.manipulation.Filterable;
12 import org.junit.runner.manipulation.NoTestsRemainException;
13 import org.junit.runner.manipulation.Sortable;
14 import org.junit.runner.manipulation.Sorter;
/external/junit/
DCommon.mk28 junit-runner-files := \
29 src/junit/runner/BaseTestRunner.java \
30 src/junit/runner/TestRunListener.java \
31 src/junit/runner/TestSuiteLoader.java \
32 src/junit/runner/StandardTestSuiteLoader.java \
33 src/junit/runner/Version.java \
41 $(junit-runner-files)
50 src/junit/runner \
/external/libchrome/base/threading/
Dsimple_thread_unittest.cc78 SetIntRunner runner(&stack_int, 7); in TEST() local
81 DelegateSimpleThread thread(&runner, "int_setter"); in TEST()
100 WaitEventRunner runner(&event); in TEST() local
101 DelegateSimpleThread thread(&runner, "event_waiter"); in TEST()
113 WaitEventRunner runner(&event); in TEST() local
115 DelegateSimpleThread thread(&runner, "event_waiter", options); in TEST()
136 SeqRunner runner(&seq); in TEST() local
140 pool.AddWork(&runner, 300); in TEST()
146 pool.AddWork(&runner, 300); in TEST()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/node_modules/mocha/
Dmocha.js1582 Mocha.prototype._growl = function(runner, reporter) { argument
1585 runner.on('end', function(){
1588 var msg = stats.failures + ' of ' + runner.total + ' tests failed';
1773 var runner = new exports.Runner(suite);
1774 var reporter = new this._reporter(runner, options);
1775 runner.ignoreLeaks = false !== options.ignoreLeaks;
1776 runner.asyncOnly = options.asyncOnly;
1777 if (options.grep) runner.grep(options.grep, options.invert);
1778 if (options.globals) runner.globals(options.globals);
1779 if (options.growl) this._growl(runner, reporter);
[all …]
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/
DIcuTestGroupRunner.java22 import org.junit.runner.Description;
23 import org.junit.runner.Runner;
24 import org.junit.runner.notification.RunNotifier;
51 Runner runner; in IcuTestGroupRunner() local
55 runner = runnerBuilder.safeRunnerForClass(childTestClass); in IcuTestGroupRunner()
57 runner = new ErrorReportingRunner(className, e); in IcuTestGroupRunner()
60 runners.add(runner); in IcuTestGroupRunner()
/external/junit/src/org/junit/runner/
DRequest.java1 package org.junit.runner;
10 import org.junit.runner.manipulation.Filter;
70 return runner(suite); in classes()
93 return runner(new ErrorReportingRunner(klass, cause)); in errorReport()
100 public static Request runner(final Runner runner) { in runner() method in Request
104 return runner; in runner()

12345678910>>...40