Home
last modified time | relevance | path

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

12345678910>>...19

/external/vogar/test/vogar/target/
DJUnitRunnerTest.java44 private Runner runner; field in JUnitRunnerTest
50 runner = new JUnitRunner(); in setUp()
55 assertEquals(false, runner.supports(Object.class)); in test_supports_should_judge_whether_Object_is_not_supported()
59 assertEquals(true, runner.supports(SimpleTest.class)); in test_supports_should_judge_whether_SimpleTest_which_inferits_from_TestCase_is_supported()
63 assertEquals(false, runner.supports(WrongSuiteTest.class)); in test_supports_should_judge_whether_WrongSuiteTest_which_has_suite_non_static_method_is_not_supported()
67 assertEquals(true, runner.supports(SuiteTest.class)); in test_supports_should_judge_whether_SuiteTest_which_has_suite_static_method_is_supported()
72 runner.init(monitor, "", null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SimpleTest_should_perform_test()
73 runner.run("", null, null); in test_init_and_run_for_SimpleTest_should_perform_test()
75 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest_should_perform_test()
82 runner.init(monitor, "", null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SuiteTest_should_perform_tests()
[all …]
/external/lldb/test/unittest2/test/
Dtest_runner.py13 runner = unittest2.TextTestRunner()
14 self.assertFalse(runner.failfast)
15 self.assertFalse(runner.buffer)
16 self.assertEqual(runner.verbosity, 1)
17 self.assertTrue(runner.descriptions)
18 self.assertEqual(runner.resultclass, unittest2.TextTestResult)
26 runner = unittest2.TextTestRunner(stream=StringIO(), failfast=True,
29 runner._makeResult = lambda: result
30 runner.run(Test('testFoo'))
39 originalRegisterResult = unittest2.runner.registerResult
[all …]
/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/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/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/perf-test/Collections/
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/v8/tools/testrunner/local/
Dprogress.py55 self.runner = None
84 print 'Running %i tests' % self.runner.total
88 for failed in self.runner.failed:
96 print "Command: %s" % EscapeCommand(self.runner.GetCommand(failed))
102 if len(self.runner.failed) == 0:
109 print "=== %i tests failed" % len(self.runner.failed)
110 if self.runner.crashed > 0:
111 print "=== %i tests CRASHED" % self.runner.crashed
135 total = self.runner.succeeded + len(self.runner.failed)
179 print "Command: %s" % EscapeCommand(self.runner.GetCommand(test))
[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/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/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/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()
DJUnitCore.java1 package org.junit.runner;
6 import junit.runner.Version;
11 import org.junit.runner.notification.Failure;
12 import org.junit.runner.notification.RunListener;
13 import org.junit.runner.notification.RunNotifier;
151 public Result run(Runner runner) { in run() argument
156 fNotifier.fireTestRunStarted(runner.getDescription()); in run()
157 runner.run(fNotifier); in run()
/external/vixl/tools/
Dtest.py85 def __init__(self, name, runner, debugger, coloured_trace, verbose): argument
87 self.runner = runner
91 self.logpath = os.path.join('log', os.path.basename(self.runner))
104 [self.runner, '--trace_sim', '--trace_reg', '--trace_write', self.name]
142 def ReadManifest(runner, filters = [], argument
144 status, output = util.getstatusoutput(runner + ' --list')
152 Test(x, runner, debugger, coloured_trace, verbose), names)
230 args.runner = os.path.join('.', args.runner)
232 if not os.access(args.runner, os.X_OK):
237 manifest = ReadManifest(args.runner, args.filters,
/external/owasp/sanitizer/lib/junit/
Djunit-dep.jar ... org/junit/rules/ org/junit/runner/ org/junit/runner/manipulation/ org ...
Djunit.jar ... org/junit/rules/ org/junit/runner/ org/junit/runner/manipulation/ org ...
/external/junit/src/org/junit/internal/runners/
DJUnit4ClassRunner.java11 import org.junit.runner.Description;
12 import org.junit.runner.Runner;
13 import org.junit.runner.manipulation.Filter;
14 import org.junit.runner.manipulation.Filterable;
15 import org.junit.runner.manipulation.NoTestsRemainException;
16 import org.junit.runner.manipulation.Sortable;
17 import org.junit.runner.manipulation.Sorter;
18 import org.junit.runner.notification.Failure;
19 import org.junit.runner.notification.RunNotifier;
DJUnit38ClassRunner.java10 import org.junit.runner.Describable;
11 import org.junit.runner.Description;
12 import org.junit.runner.Runner;
13 import org.junit.runner.manipulation.Filter;
14 import org.junit.runner.manipulation.Filterable;
15 import org.junit.runner.manipulation.NoTestsRemainException;
16 import org.junit.runner.manipulation.Sortable;
17 import org.junit.runner.manipulation.Sorter;
18 import org.junit.runner.notification.Failure;
19 import org.junit.runner.notification.RunNotifier;
/external/libphonenumber/lib/
Djunit-4.8.1.jar ... org/junit/rules/ org/junit/runner/ org/junit/runner/manipulation/ org ...
/external/chromium-trace/trace-viewer/tracing/third_party/mocha/
Dmocha.js1604 Mocha.prototype._growl = function(runner, reporter) { argument
1607 runner.on('end', function(){
1610 var msg = stats.failures + ' of ' + runner.total + ' tests failed';
1826 var runner = new exports.Runner(suite, options.delay);
1827 var reporter = new this._reporter(runner, options);
1828 runner.ignoreLeaks = false !== options.ignoreLeaks;
1829 runner.fullStackTrace = options.fullStackTrace;
1830 runner.asyncOnly = options.asyncOnly;
1831 if (options.grep) runner.grep(options.grep, options.invert);
1832 if (options.globals) runner.globals(options.globals);
[all …]

12345678910>>...19