| 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 // Dart test program for testing error handling in file I/O. | 5 // Dart test program for testing error handling in file I/O. |
| 6 | 6 |
| 7 #import("dart:io"); | 7 #import("dart:io"); |
| 8 #import("dart:isolate"); | 8 #import("dart:isolate"); |
| 9 | 9 |
| 10 Directory tempDir() { | 10 Directory tempDir() { |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 testDirectoryInNonExistentDirectory(); | 456 testDirectoryInNonExistentDirectory(); |
| 457 testReadAsBytesNonExistent(); | 457 testReadAsBytesNonExistent(); |
| 458 testReadAsTextNonExistent(); | 458 testReadAsTextNonExistent(); |
| 459 testReadAsLinesNonExistent(); | 459 testReadAsLinesNonExistent(); |
| 460 testWriteByteToReadOnlyFile(); | 460 testWriteByteToReadOnlyFile(); |
| 461 testWriteListToReadOnlyFile(); | 461 testWriteListToReadOnlyFile(); |
| 462 testTruncateReadOnlyFile(); | 462 testTruncateReadOnlyFile(); |
| 463 testOperateOnClosedFile(); | 463 testOperateOnClosedFile(); |
| 464 testRepeatedlyCloseFile(); | 464 testRepeatedlyCloseFile(); |
| 465 } | 465 } |
| OLD | NEW |