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

Unified Diff: tests/standalone/io/windows_file_system_async_links_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/windows_file_system_async_links_test.dart
diff --git a/tests/standalone/io/windows_file_system_async_links_test.dart b/tests/standalone/io/windows_file_system_async_links_test.dart
index 44fb229f9b93ef7f7f26648e2d919171924d3f1b..429a711d6c99f2ba440965fd24a6936089037b41 100644
--- a/tests/standalone/io/windows_file_system_async_links_test.dart
+++ b/tests/standalone/io/windows_file_system_async_links_test.dart
@@ -27,7 +27,8 @@ class FutureExpect {
Future testJunctionTypeDelete() {
- return new Directory('').createTemp().then((temp) {
+ return Directory.createSystemTemp('dart_windows_file_system_async_links')
+ .then((temp) {
var x = '${temp.path}${Platform.pathSeparator}x';
var y = '${temp.path}${Platform.pathSeparator}y';
return new Directory(x).create()

Powered by Google App Engine
This is Rietveld 408576698