OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |