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

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: 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/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..4721342619744fa6fd9a18b06056ab279862f112 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.createSystemTempSync('dart_skipping_dart2js_compilations');
if (createJs) {
testJs = _createFile(testJsFilePath);
_writeToFile(testJs, "test.js content");

Powered by Google App Engine
This is Rietveld 408576698