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

Side by Side Diff: tests/dartino_tests/utils.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « tests/dartino_tests/test_suite_consumer.dart ('k') | tests/dartino_tests/verb_tests.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library fletch_tests.utils; 5 library dartino_tests.utils;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:io' show 10 import 'dart:io' show
11 Directory; 11 Directory;
12 12
13 Future withTempDirectory(Future f(Directory)) async { 13 Future withTempDirectory(Future f(Directory)) async {
14 var directory = await Directory.systemTemp.createTemp(); 14 var directory = await Directory.systemTemp.createTemp();
15 try { 15 try {
16 return await f(directory); 16 return await f(directory);
17 } finally { 17 } finally {
18 await directory.delete(recursive: true); 18 await directory.delete(recursive: true);
19 } 19 }
20 } 20 }
21 21
OLDNEW
« no previous file with comments | « tests/dartino_tests/test_suite_consumer.dart ('k') | tests/dartino_tests/verb_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698