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

Unified Diff: tests/standalone/io/test_extension_fail_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/stream_pipe_test.dart ('k') | tests/standalone/io/test_extension_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_extension_fail_test.dart
diff --git a/tests/standalone/io/test_extension_fail_test.dart b/tests/standalone/io/test_extension_fail_test.dart
index 5c7abf345112968dd9af71e0543280dcdd7d9884..76f294b1a0ded2b5b3afe71b53b3d0a591fc2aec 100644
--- a/tests/standalone/io/test_extension_fail_test.dart
+++ b/tests/standalone/io/test_extension_fail_test.dart
@@ -38,7 +38,8 @@ String getExtensionPath(String buildDirectory) {
void main() {
String scriptDirectory = dirname(Platform.script);
String buildDirectory = dirname(Platform.executable);
- Directory tempDirectory = new Directory('').createTempSync();
+ Directory tempDirectory =
+ Directory.systemTemp.createTempSync('dart_test_extension_fail');
String testDirectory = tempDirectory.path;
// Copy test_extension shared library, test_extension.dart and
« no previous file with comments | « tests/standalone/io/stream_pipe_test.dart ('k') | tests/standalone/io/test_extension_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698