Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: test/utils.dart

Issue 2099553002: Add an option to run skipped tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Fix bugs. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/runner/runner_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/utils.dart
diff --git a/test/utils.dart b/test/utils.dart
index 03d457d8ef73b1d69f29b616bdf6fdad34c796ba..52ecf8829e6db3b056ddceb2ed87abeac3568df6 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -14,6 +14,7 @@ import 'package:test/src/backend/metadata.dart';
import 'package:test/src/backend/state.dart';
import 'package:test/src/backend/suite.dart';
import 'package:test/src/runner/application_exception.dart';
+import 'package:test/src/runner/configuration.dart';
kevmoo 2016/07/06 21:34:27 now unused?
nweiz 2016/07/06 21:36:08 Done.
import 'package:test/src/runner/engine.dart';
import 'package:test/src/runner/load_exception.dart';
import 'package:test/src/runner/plugin/environment.dart';
@@ -305,9 +306,9 @@ List<GroupEntry> declare(void body()) {
}
/// Runs [body] with a declarer and returns an engine that runs those tests.
-Engine declareEngine(void body()) {
+Engine declareEngine(void body(), {bool runSkipped: false}) {
var declarer = new Declarer()..declare(body);
return new Engine.withSuites([
new RunnerSuite(const PluginEnvironment(), declarer.build())
- ]);
+ ], runSkipped: runSkipped);
}
« no previous file with comments | « test/runner/runner_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698