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

Unified Diff: tests/standalone/io/file_read_encoded_test.dart

Issue 25471003: Modify tests to use Directory.systemTemp (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase 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 | « tests/standalone/io/file_output_stream_test.dart ('k') | tests/standalone/io/file_stat_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_read_encoded_test.dart
diff --git a/tests/standalone/io/file_read_encoded_test.dart b/tests/standalone/io/file_read_encoded_test.dart
index 23715c041245b14350861dbdb58c18277df1b936..75d4be61b1a90945ce95c84d5ac682e36ee7257f 100644
--- a/tests/standalone/io/file_read_encoded_test.dart
+++ b/tests/standalone/io/file_read_encoded_test.dart
@@ -7,7 +7,7 @@ import "package:async_helper/async_helper.dart";
import 'dart:io';
void testReadAsString() {
- var tmp = new Directory('').createTempSync();
+ var tmp = Directory.systemTemp.createTempSync('dart_file_read_encoded');
var file = new File('${tmp.path}/file');
file.createSync();
@@ -26,7 +26,7 @@ void testReadAsString() {
}
void testReadAsLines() {
- var tmp = new Directory('').createTempSync();
+ var tmp = Directory.systemTemp.createTempSync('dart_file_read_encoded');
var file = new File('${tmp.path}/file');
file.createSync();
« no previous file with comments | « tests/standalone/io/file_output_stream_test.dart ('k') | tests/standalone/io/file_stat_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698