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("dart:io"); | 7 #import("dart:io"); |
8 #import("dart:isolate"); | 8 #import("dart:isolate"); |
9 | 9 |
10 class DirectoryTest { | 10 class DirectoryTest { |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 dir.createTemp(() => resultPort.toSendPort().send("success")); | 451 dir.createTemp(() => resultPort.toSendPort().send("success")); |
452 } | 452 } |
453 | 453 |
454 | 454 |
455 main() { | 455 main() { |
456 DirectoryTest.testMain(); | 456 DirectoryTest.testMain(); |
457 NestedTempDirectoryTest.testMain(); | 457 NestedTempDirectoryTest.testMain(); |
458 testCreateTempErrorSync(); | 458 testCreateTempErrorSync(); |
459 testCreateTempError(); | 459 testCreateTempError(); |
460 } | 460 } |
OLD | NEW |