Chromium Code Reviews| Index: tests/standalone/io/directory_test.dart |
| diff --git a/tests/standalone/io/directory_test.dart b/tests/standalone/io/directory_test.dart |
| index 405366653ad1bdd391b2c98b4d8c9aed2404a194..b3d8a0083d19e97eed04e2e995646a190c5ae78c 100644 |
| --- a/tests/standalone/io/directory_test.dart |
| +++ b/tests/standalone/io/directory_test.dart |
| @@ -594,32 +594,6 @@ testCreateDirExistingFile() { |
| } |
| -testCreateRecursiveSync() { |
|
Anders Johnsen
2013/10/30 12:23:56
These tests could be copied directory to the new f
|
| - var temp = Directory.systemTemp.createTempSync('directory_test'); |
| - var d = new Directory('${temp.path}/a/b/c'); |
| - d.createSync(recursive: true); |
| - Expect.isTrue(new Directory('${temp.path}/a').existsSync()); |
| - Expect.isTrue(new Directory('${temp.path}/a/b').existsSync()); |
| - Expect.isTrue(new Directory('${temp.path}/a/b/c').existsSync()); |
| - temp.deleteSync(recursive: true); |
| -} |
| - |
| - |
| -testCreateRecursive() { |
| - asyncStart(); |
| - Directory.systemTemp.createTemp('dart_directory').then((temp) { |
| - var d = new Directory('${temp.path}/a/b/c'); |
| - d.create(recursive: true).then((_) { |
| - Expect.isTrue(new Directory('${temp.path}/a').existsSync()); |
| - Expect.isTrue(new Directory('${temp.path}/a/b').existsSync()); |
| - Expect.isTrue(new Directory('${temp.path}/a/b/c').existsSync()); |
| - temp.deleteSync(recursive: true); |
| - asyncEnd(); |
| - }); |
| - }); |
| -} |
| - |
| - |
| testRename() { |
| var temp1 = Directory.systemTemp.createTempSync('directory_test'); |
| var temp2 = Directory.systemTemp.createTempSync('directory_test'); |
| @@ -647,7 +621,5 @@ main() { |
| testCreateExisting(); |
| testCreateDirExistingFileSync(); |
| testCreateDirExistingFile(); |
| - testCreateRecursive(); |
| - testCreateRecursiveSync(); |
| testRename(); |
| } |