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

Unified Diff: lib/src/runner/browser/iframe_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/browser/iframe_listener.dart ('k') | lib/src/runner/loader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/iframe_test.dart
diff --git a/lib/src/runner/browser/iframe_test.dart b/lib/src/runner/browser/iframe_test.dart
index e4aee5282384ecf711ae2d81ef41e2c58045615d..fa7b02389711ccc02f8eeb22f2fbe93dd62d0f90 100644
--- a/lib/src/runner/browser/iframe_test.dart
+++ b/lib/src/runner/browser/iframe_test.dart
@@ -6,6 +6,7 @@ library unittest.runner.browser.iframe_test;
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';
@@ -15,11 +16,12 @@ import '../../util/remote_exception.dart';
/// A test in a running iframe.
class IframeTest implements Test {
final String name;
+ final Metadata metadata;
/// The channel used to communicate with the test's [IframeListener].
final MultiChannel _channel;
- IframeTest(this.name, this._channel);
+ IframeTest(this.name, this.metadata, this._channel);
LiveTest load(Suite suite) {
var controller;
« no previous file with comments | « lib/src/runner/browser/iframe_listener.dart ('k') | lib/src/runner/loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698