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

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

Issue 1239693002: Pass actual TestPlatform and OperatingSystem values to Suite. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Update pubspec. Created 5 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 | « lib/src/runner/vm/isolate_listener.dart ('k') | lib/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_test.dart
diff --git a/lib/src/runner/vm/isolate_test.dart b/lib/src/runner/vm/isolate_test.dart
index ad327f56a56f86e9478b11d0d5fdf869af7db92d..ecdf7eb0c6b026c744f7cf2c8c56338c5593f302 100644
--- a/lib/src/runner/vm/isolate_test.dart
+++ b/lib/src/runner/vm/isolate_test.dart
@@ -17,7 +17,7 @@ import '../../util/remote_exception.dart';
import '../../utils.dart';
/// A test in another isolate.
-class IsolateTest extends Test {
+class IsolateTest implements Test {
final String name;
final Metadata metadata;
@@ -86,6 +86,7 @@ class IsolateTest extends Test {
}
Test change({String name, Metadata metadata}) {
+ if (name == name && metadata == this.metadata) return this;
if (name == null) name = this.name;
if (metadata == null) metadata = this.metadata;
return new IsolateTest(name, metadata, _sendPort);
« no previous file with comments | « lib/src/runner/vm/isolate_listener.dart ('k') | lib/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698