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

Unified Diff: pkg/scheduled_test/test/metatest.dart

Issue 50303006: Use Platform rather than dart:platform in scheduled_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | pkg/scheduled_test/test/scheduled_process_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/test/metatest.dart
diff --git a/pkg/scheduled_test/test/metatest.dart b/pkg/scheduled_test/test/metatest.dart
index 6a3b76de46a52be33d845956704a57603bfe4560..0c7725d41d64dbf7770da1c8651b86a87ccd91e2 100644
--- a/pkg/scheduled_test/test/metatest.dart
+++ b/pkg/scheduled_test/test/metatest.dart
@@ -12,7 +12,6 @@ library metatest;
import 'dart:async';
import 'dart:io';
import 'dart:isolate';
-import 'dart:platform' as platform;
import 'package:path/path.dart' as path;
import 'package:unittest/unittest.dart';
@@ -120,7 +119,7 @@ void initMetatest(message) {
/// describing the results of that test run.
Future<Map> _runInIsolate(String description) {
var replyPort = new ReceivePort();
- return Isolate.spawnUri(platform.script, [], {
+ return Isolate.spawnUri(Uri.parse(Platform.script), [], {
'testToRun': description,
'replyTo': replyPort.sendPort
}).then((_) {
« no previous file with comments | « no previous file | pkg/scheduled_test/test/scheduled_process_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698