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

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: Code review changes 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..5bbba17b936c919b0f4919c2af68c00e532c4c60 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -305,9 +305,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