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

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

Issue 25471003: Modify tests to use Directory.systemTemp (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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
Index: tests/standalone/io/pipe_server_test.dart
diff --git a/tests/standalone/io/pipe_server_test.dart b/tests/standalone/io/pipe_server_test.dart
index 90bfb5e1cca165d705831153ae33cd2398dc75ec..14a809a47ad5e9026f67bfec5c226b416f1915fd 100644
--- a/tests/standalone/io/pipe_server_test.dart
+++ b/tests/standalone/io/pipe_server_test.dart
@@ -52,7 +52,7 @@ class PipeServerGame {
getDataFilename("tests/standalone/io/readline_test1.dat");
Stream fileInput = new File(srcFileName).openRead();
fileInput.pipe(_socket).then((_) {
- var tempDir = new Directory('').createTempSync();
+ var tempDir = Directory.createSystemTempSync('dart_pipe_server');
var dstFileName = tempDir.path + "/readline_test1.dat";
var dstFile = new File(dstFileName);
dstFile.createSync();

Powered by Google App Engine
This is Rietveld 408576698