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

Unified Diff: tests/standalone/io/dart_std_io_pipe_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
« no previous file with comments | « no previous file | tests/standalone/io/delete_symlink_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/dart_std_io_pipe_test.dart
diff --git a/tests/standalone/io/dart_std_io_pipe_test.dart b/tests/standalone/io/dart_std_io_pipe_test.dart
index cc37115afaf4e1ebce546adce5def41a8d836b64..9e89392f4a1fe3a8496c91458bcdfda063cd6d46 100644
--- a/tests/standalone/io/dart_std_io_pipe_test.dart
+++ b/tests/standalone/io/dart_std_io_pipe_test.dart
@@ -32,7 +32,7 @@ void checkFileContent(String fileName, String content) {
void test(String shellScript, String dartScript, String type, bool devNull) {
- Directory dir = new Directory("").createTempSync();
+ Directory dir = Directory.createSystemTempSync('dart_dart_std_io_pipe');
Søren Gjesse 2013/10/01 14:38:41 Great to have the name of the test in the temp dir
// The shell script will run the dart executable passed with a
// number of different redirections of stdio.
« no previous file with comments | « no previous file | tests/standalone/io/delete_symlink_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698