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

Unified Diff: lib/src/backend/test.dart

Issue 1469863005: Add JSON protocol support for groups. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 1 month 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 | « lib/src/backend/live_test_controller.dart ('k') | lib/src/runner/browser/iframe_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/backend/test.dart
diff --git a/lib/src/backend/test.dart b/lib/src/backend/test.dart
index 681c12f69078384925ec7c4a8e1e4d5ac1e4e0d9..0552dcb0fe8a87b41b6aaedc14613ed0750deff7 100644
--- a/lib/src/backend/test.dart
+++ b/lib/src/backend/test.dart
@@ -4,6 +4,7 @@
library test.backend.test;
+import 'group.dart';
import 'live_test.dart';
import 'metadata.dart';
import 'operating_system.dart';
@@ -24,8 +25,10 @@ abstract class Test implements GroupEntry {
/// Loads a live version of this test, which can be used to run it a single
/// time.
///
- /// [suite] is the suite within which this test is being run.
- LiveTest load(Suite suite);
+ /// [suite] is the suite within which this test is being run. If [groups] is
+ /// passed, it's the list of groups containing this test; otherwise, it
+ /// defaults to just containing `suite.group`.
+ LiveTest load(Suite suite, {Iterable<Group> groups});
Test forPlatform(TestPlatform platform, {OperatingSystem os});
« no previous file with comments | « lib/src/backend/live_test_controller.dart ('k') | lib/src/runner/browser/iframe_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698