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

Unified Diff: pkg/scheduled_test/lib/descriptor.dart

Issue 25731003: Use Directory.systemTemp getter in pkg subdirectory of repository. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix formatting 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 | « pkg/http_server/test/virtual_directory_test.dart ('k') | pkg/scheduled_test/test/descriptor/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/lib/descriptor.dart
diff --git a/pkg/scheduled_test/lib/descriptor.dart b/pkg/scheduled_test/lib/descriptor.dart
index 6692591024c86f55bf466cae1cc9994b5111b30a..0004236695c080ee7b4d6650ff8678168ea3e03c 100644
--- a/pkg/scheduled_test/lib/descriptor.dart
+++ b/pkg/scheduled_test/lib/descriptor.dart
@@ -46,7 +46,9 @@
/// setUp(() {
/// var tempDir;
/// schedule(() {
-/// return new Directory('').createTemp().then((dir) {
+/// return Directory.systemTemp
+/// .createTemp('my_temp_dir_')
+/// .then((dir) {
/// tempDir = dir;
/// d.defaultRoot = tempDir.path;
/// });
« no previous file with comments | « pkg/http_server/test/virtual_directory_test.dart ('k') | pkg/scheduled_test/test/descriptor/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698