| 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 dir.createTemp(() => resultPort.toSendPort().send("success")); | 450 dir.createTemp(() => resultPort.toSendPort().send("success")); |
| 451 } | 451 } |
| 452 | 452 |
| 453 | 453 |
| 454 main() { | 454 main() { |
| 455 DirectoryTest.testMain(); | 455 DirectoryTest.testMain(); |
| 456 NestedTempDirectoryTest.testMain(); | 456 NestedTempDirectoryTest.testMain(); |
| 457 testCreateTempErrorSync(); | 457 testCreateTempErrorSync(); |
| 458 testCreateTempError(); | 458 testCreateTempError(); |
| 459 } | 459 } |
| OLD | NEW |