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

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: 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
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..11b171c59359bb22cd5b03da470a13b7a11e1edd 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.systemTemp.createTemp('dart_resolve_symbolic_links')
+ .then((tempDir) {
String temp = tempDir.path;
return makeEntities(temp).then((_) => Future.wait(
[testFile(join(temp, 'dir1', 'file1')),
« no previous file with comments | « tests/standalone/io/regress_7679_test.dart ('k') | tests/standalone/io/skipping_dart2js_compilations_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698