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

Unified Diff: lib/src/runner/vm/isolate_listener.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/loader.dart ('k') | lib/src/runner/vm/isolate_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/vm/isolate_listener.dart
diff --git a/lib/src/runner/vm/isolate_listener.dart b/lib/src/runner/vm/isolate_listener.dart
index 53fb69e13da8c65f95dd18ed3fae2e8e5fa63e9a..352490fc7ea4bc9ded169b90d1c7b6fcf8408acb 100644
--- a/lib/src/runner/vm/isolate_listener.dart
+++ b/lib/src/runner/vm/isolate_listener.dart
@@ -75,7 +75,11 @@ class IsolateListener {
for (var i = 0; i < _suite.tests.length; i++) {
var test = _suite.tests[i];
var receivePort = new ReceivePort();
- tests.add({"name": test.name, "sendPort": receivePort.sendPort});
+ tests.add({
+ "name": test.name,
+ "metadata": test.metadata.serialize(),
+ "sendPort": receivePort.sendPort
+ });
receivePort.listen((message) {
assert(message['command'] == 'run');
« no previous file with comments | « lib/src/runner/loader.dart ('k') | lib/src/runner/vm/isolate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698