Index: tests/standalone/io/directory_test.dart |
diff --git a/tests/standalone/io/directory_test.dart b/tests/standalone/io/directory_test.dart |
index d871fd6fa40c3caabcc6709aecab808eab2d3a5c..d06c77f4f8b8e5494b888b323256237f0ed6b31f 100644 |
--- a/tests/standalone/io/directory_test.dart |
+++ b/tests/standalone/io/directory_test.dart |
@@ -595,32 +595,6 @@ testCreateDirExistingFile() { |
} |
-testCreateRecursiveSync() { |
- 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'); |
@@ -648,7 +622,5 @@ main() { |
testCreateExisting(); |
testCreateDirExistingFileSync(); |
testCreateDirExistingFile(); |
- testCreateRecursive(); |
- testCreateRecursiveSync(); |
testRename(); |
} |