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

Side by Side Diff: tests/standalone/io/create_recursive_test.dart

Issue 52723003: Fix create_recursive_test.dart on dartanalyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:async';
6 7
7 import "package:async_helper/async_helper.dart"; 8 import "package:async_helper/async_helper.dart";
8 import "package:expect/expect.dart"; 9 import "package:expect/expect.dart";
9 import "package:path/path.dart"; 10 import "package:path/path.dart";
10 11
11 main() { 12 main() {
12 testCreateDirectoryRecursiveSync(); 13 testCreateDirectoryRecursiveSync();
13 testCreateLinkRecursiveSync(); 14 testCreateLinkRecursiveSync();
14 testCreateFileRecursiveSync(); 15 testCreateFileRecursiveSync();
15 testCreateDirectoryRecursive(); 16 testCreateDirectoryRecursive();
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 .then((_) => expectFutureIsTrue(link.exists())) 134 .then((_) => expectFutureIsTrue(link.exists()))
134 .then((_) => expectFileSystemException( 135 .then((_) => expectFileSystemException(
135 () => link.create(temp.path, recursive: true), 136 () => link.create(temp.path, recursive: true),
136 'existing link.create')) 137 'existing link.create'))
137 .then((_) => expectFutureIsTrue(link.exists())) 138 .then((_) => expectFutureIsTrue(link.exists()))
138 139
139 .then((_) => asyncEnd()) 140 .then((_) => asyncEnd())
140 .whenComplete(() => temp.delete(recursive: true)); 141 .whenComplete(() => temp.delete(recursive: true));
141 }); 142 });
142 } 143 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698