| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // Directory listing test. | 5 // Directory listing test. |
| 6 | 6 |
| 7 import "package:expect/expect.dart"; | |
| 8 import "dart:async"; | 7 import "dart:async"; |
| 9 import "dart:io"; | 8 import "dart:io"; |
| 10 import "dart:isolate"; | 9 import "dart:isolate"; |
| 11 | 10 |
| 12 class DirectoryTest { | 11 class DirectoryTest { |
| 13 static void testListing() { | 12 static void testListing() { |
| 14 bool listedDir = false; | 13 bool listedDir = false; |
| 15 bool listedFile = false; | 14 bool listedFile = false; |
| 16 | 15 |
| 17 Directory directory = new Directory("").createTempSync(); | 16 Directory directory = new Directory("").createTempSync(); |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 testCreateTempErrorSync(); | 519 testCreateTempErrorSync(); |
| 521 testCreateTempError(); | 520 testCreateTempError(); |
| 522 testCreateExistingSync(); | 521 testCreateExistingSync(); |
| 523 testCreateExisting(); | 522 testCreateExisting(); |
| 524 testCreateDirExistingFileSync(); | 523 testCreateDirExistingFileSync(); |
| 525 testCreateDirExistingFile(); | 524 testCreateDirExistingFile(); |
| 526 testCreateRecursive(); | 525 testCreateRecursive(); |
| 527 testCreateRecursiveSync(); | 526 testCreateRecursiveSync(); |
| 528 testRename(); | 527 testRename(); |
| 529 } | 528 } |
| OLD | NEW |