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

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

Issue 23568002: Update checked-in binary to 0.6.21.3_r26639 (M6) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | « dart/tools/testing/dart/test_suite.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/dart/utils.dart
diff --git a/dart/tools/testing/dart/utils.dart b/dart/tools/testing/dart/utils.dart
index 888f8cfc7a8bf9139289f2863679fccb60b9d077..51109e5351d7d7c5c7f73f7867f7f3769c4d0d3e 100644
--- a/dart/tools/testing/dart/utils.dart
+++ b/dart/tools/testing/dart/utils.dart
@@ -4,10 +4,13 @@
library utils;
-import 'dart:io';
import 'dart:async';
+import 'dart:io';
+import 'dart:math' show min;
import 'dart:utf' as utf;
+part 'legacy_path.dart';
+
class DebugLogger {
static IOSink _sink;
@@ -17,7 +20,7 @@ class DebugLogger {
static init(Path path, {append: false}) {
if (path != null) {
var mode = append ? FileMode.APPEND : FileMode.WRITE;
- _sink = new File.fromPath(path).openWrite(mode: mode);
+ _sink = new File(path.toNativePath()).openWrite(mode: mode);
}
}
@@ -151,4 +154,4 @@ class UniqueObject {
operator==(other) => other is UniqueObject && _hashCode == other._hashCode;
UniqueObject() : _hashCode = ++_nextId;
-}
+}
« no previous file with comments | « dart/tools/testing/dart/test_suite.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698