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

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

Issue 14642012: dart:io | Add asynchronous versions of the methods of FileSystemEntity and Link. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 7 years, 7 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 | Annotate | Revision Log
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 "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 import "dart:io"; 6 import "dart:io";
7 import "dart:isolate"; 7 import "dart:isolate";
8 8
9 9
10 createLink(String dst, String link, void callback()) { 10 createLink(String dst, String link, void callback()) {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 Expect.equals(0, dirs.length); 232 Expect.equals(0, dirs.length);
233 Expect.equals(0, errors.length); 233 Expect.equals(0, errors.length);
234 temp.deleteSync(recursive: true); 234 temp.deleteSync(recursive: true);
235 keepAlive.close(); 235 keepAlive.close();
236 }); 236 });
237 }); 237 });
238 } 238 }
239 239
240 240
241 main() { 241 main() {
242 testFileExistsCreate(); 242 // Links on Windows are tested by windows_file_system_[async_]links_test.
243 testFileDelete(); 243 if (Platform.operatingSystem != 'windows') {
244 testFileWriteRead(); 244 testFileExistsCreate();
245 testDirectoryExistsCreate(); 245 testFileDelete();
246 testDirectoryDelete(); 246 testFileWriteRead();
247 testDirectoryListing(); 247 testDirectoryExistsCreate();
248 testDirectoryListingBrokenLink(); 248 testDirectoryDelete();
249 testDirectoryListing();
250 testDirectoryListingBrokenLink();
251 }
249 } 252 }
OLDNEW
« no previous file with comments | « tests/standalone/io/file_system_async_links_test.dart ('k') | tests/standalone/io/link_async_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698