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

Unified Diff: lib/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_test.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/test.dart
diff --git a/lib/test.dart b/lib/test.dart
index 7a5589a5646bf352900404c403c4023ff5b9e432..689017cf722fd2bf0135dfef2aa539b48ff5af18 100644
--- a/lib/test.dart
+++ b/lib/test.dart
@@ -50,11 +50,11 @@ Declarer get _declarer {
// finished being defined.
_globalDeclarer = new Declarer();
scheduleMicrotask(() async {
- var suite =
- new Suite(_globalDeclarer.tests,
- path: p.prettyUri(Uri.base),
- platform: "VM")
- .forPlatform(TestPlatform.vm, os: currentOSGuess);
+ var suite = new Suite(
+ _globalDeclarer.tests,
+ path: p.prettyUri(Uri.base),
+ platform: TestPlatform.vm,
+ os: currentOSGuess);
var engine = new Engine();
engine.suiteSink.add(suite);
« no previous file with comments | « lib/src/runner/vm/isolate_test.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698