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

Unified Diff: tests/standalone/io/test_extension_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/test_extension_test.dart
diff --git a/tests/standalone/io/test_extension_test.dart b/tests/standalone/io/test_extension_test.dart
index c807e82bb85d4057fa3cc25ab025b690b8bed6c4..096024f67cd91d67124b06c2c30cb8596de68902 100644
--- a/tests/standalone/io/test_extension_test.dart
+++ b/tests/standalone/io/test_extension_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');
String testDirectory = tempDirectory.path;
// Copy test_extension shared library, test_extension.dart and
« no previous file with comments | « tests/standalone/io/test_extension_fail_test.dart ('k') | tests/standalone/io/windows_environment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698