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

Unified Diff: tests/standalone/io/resolve_symbolic_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/resolve_symbolic_links_test.dart
diff --git a/tests/standalone/io/resolve_symbolic_links_test.dart b/tests/standalone/io/resolve_symbolic_links_test.dart
index 485f84e8465dafe26ac52adace37ad903f6e4724..2a16ce88da795e6b769120f74a3d1ec96ce8c01e 100644
--- a/tests/standalone/io/resolve_symbolic_links_test.dart
+++ b/tests/standalone/io/resolve_symbolic_links_test.dart
@@ -29,7 +29,8 @@ main() {
'resolve_symbolic_links_test.dart')));
asyncTest(() => testDir('\\\\?\\$testsDir'));
}
- asyncTest(() => new Directory('').createTemp().then((tempDir) {
+ asyncTest(() => Directory.createSystemTemp('dart_resolve_symbolic_links')
+ .then((tempDir) {
String temp = tempDir.path;
return makeEntities(temp).then((_) => Future.wait(
[testFile(join(temp, 'dir1', 'file1')),

Powered by Google App Engine
This is Rietveld 408576698