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

Unified Diff: tests/standalone/io/skipping_dart2js_compilations_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/resolve_symbolic_links_test.dart ('k') | tests/standalone/io/stdout_close_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/skipping_dart2js_compilations_test.dart
diff --git a/tests/standalone/io/skipping_dart2js_compilations_test.dart b/tests/standalone/io/skipping_dart2js_compilations_test.dart
index d2be72ede24c2ddadef94be8c2fb7df318e7d560..dc39ca4fdeeb0af256a017cb1a8c685fdd40a106 100644
--- a/tests/standalone/io/skipping_dart2js_compilations_test.dart
+++ b/tests/standalone/io/skipping_dart2js_compilations_test.dart
@@ -38,7 +38,8 @@ class FileUtils {
bool createJsDeps,
bool createDart,
bool createSnapshot}) {
- tempDir = new Directory('').createTempSync();
+ tempDir = Directory.systemTemp
+ .createTempSync('dart_skipping_dart2js_compilations');
if (createJs) {
testJs = _createFile(testJsFilePath);
_writeToFile(testJs, "test.js content");
« no previous file with comments | « tests/standalone/io/resolve_symbolic_links_test.dart ('k') | tests/standalone/io/stdout_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698