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

Side by Side Diff: tests/fletch_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/fletch_tests/test_suite_consumer.dart ('k') | tests/fletch_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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library fletch_tests.utils;
6
7 import 'dart:async' show
8 Future;
9
10 import 'dart:io' show
11 Directory;
12
13 Future withTempDirectory(Future f(Directory)) async {
14 var directory = await Directory.systemTemp.createTemp();
15 try {
16 return await f(directory);
17 } finally {
18 await directory.delete(recursive: true);
19 }
20 }
21
OLDNEW
« no previous file with comments | « tests/fletch_tests/test_suite_consumer.dart ('k') | tests/fletch_tests/verb_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698