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

Unified Diff: tests/standalone/io/directory_chdir_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/delete_symlink_test.dart ('k') | tests/standalone/io/directory_create_race_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/directory_chdir_test.dart
diff --git a/tests/standalone/io/directory_chdir_test.dart b/tests/standalone/io/directory_chdir_test.dart
index 682698fd424ab6c444f1bcd9d8d1a9ea6cc237de..1833d54a210c5743c968a364181b6d8811342b94 100644
--- a/tests/standalone/io/directory_chdir_test.dart
+++ b/tests/standalone/io/directory_chdir_test.dart
@@ -12,7 +12,7 @@ import "package:expect/expect.dart";
testChangeDirectory() {
asyncStart();
- new Directory("").createTemp().then((temp) {
+ Directory.systemTemp.createTemp('dart_directory_chdir').then((temp) {
var initialCurrent = Directory.current;
Directory.current = temp;
var newCurrent = Directory.current;
« no previous file with comments | « tests/standalone/io/delete_symlink_test.dart ('k') | tests/standalone/io/directory_create_race_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698