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

Unified Diff: tools/testing/dart/http_server.dart

Issue 11884029: Upload new Dart binaries and re-enable unit tests for test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change Futures.wait to Future.wait in two test script files. Created 7 years, 11 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 | « tools/testing/dart/drt_updater.dart ('k') | tools/testing/dart/multitest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/http_server.dart
diff --git a/tools/testing/dart/http_server.dart b/tools/testing/dart/http_server.dart
index 5837e92360c67562a00cde02a38f213a170b73a8..b774319e984fc30be701843158bee2090f62c5b4 100644
--- a/tools/testing/dart/http_server.dart
+++ b/tools/testing/dart/http_server.dart
@@ -31,9 +31,11 @@ main() {
// Pretend we're running test.dart so that TestUtils doesn't get confused
// about the "current directory." This is only used if we're trying to run
// this file independently for local testing.
- TestUtils.testScriptPath = new Path.fromNative(
- new Options().script).directoryPath.join(
- new Path('../../test.dart')).canonicalize().toNativePath();
+ TestUtils.testScriptPath = new Path(new Options().script)
+ .directoryPath
+ .join(new Path('../../test.dart'))
+ .canonicalize()
+ .toNativePath();
TestingServerRunner.setPackageRootDir({'mode': args['mode'],
'arch': args['arch'], 'system': Platform.operatingSystem,
'build_directory': ''});
« no previous file with comments | « tools/testing/dart/drt_updater.dart ('k') | tools/testing/dart/multitest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698