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

Unified Diff: lib/src/runner/vm/isolate_test.dart

Issue 1036943002: Add a testOn parameter to test() and group(). (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 years, 9 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 | « lib/src/runner/vm/isolate_listener.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/vm/isolate_test.dart
diff --git a/lib/src/runner/vm/isolate_test.dart b/lib/src/runner/vm/isolate_test.dart
index 12a45eef5ac3c1b32e5e85ef186d03d2088ad363..76f8f77669979ec975f08d34b8197b72c4ba5c17 100644
--- a/lib/src/runner/vm/isolate_test.dart
+++ b/lib/src/runner/vm/isolate_test.dart
@@ -8,6 +8,7 @@ import 'dart:isolate';
import '../../backend/live_test.dart';
import '../../backend/live_test_controller.dart';
+import '../../backend/metadata.dart';
import '../../backend/state.dart';
import '../../backend/suite.dart';
import '../../backend/test.dart';
@@ -16,11 +17,12 @@ import '../../util/remote_exception.dart';
/// A test in another isolate.
class IsolateTest implements Test {
final String name;
+ final Metadata metadata;
/// The port on which to communicate with the remote test.
final SendPort _sendPort;
- IsolateTest(this.name, this._sendPort);
+ IsolateTest(this.name, this.metadata, this._sendPort);
/// Loads a single runnable instance of this test.
LiveTest load(Suite suite) {
« no previous file with comments | « lib/src/runner/vm/isolate_listener.dart ('k') | lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698