Home
last modified time | relevance | path

Searched refs:deleteDirectory (Results 1 – 25 of 25) sorted by relevance

/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DPathUtilsDeleteDirectoryTest.java39 assertCounts(1, 1, 0, PathUtils.deleteDirectory(tempDirPath)); in testDeleteDirectory1FileSize0()
50 assertCounts(1, 1, 0, PathUtils.deleteDirectory(tempDirPath, options)); in testDeleteDirectory1FileSize0()
71 assertCounts(1, 1, 1, PathUtils.deleteDirectory(tempDirPath)); in testDeleteDirectory1FileSize1()
82 assertCounts(3, 2, 2, PathUtils.deleteDirectory(tempDirPath)); in testDeleteDirectory2FileSize2()
92 assertCounts(1, 0, 0, PathUtils.deleteDirectory(tempDirPath)); in testDeleteEmptyDirectory()
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DFileUtilsDeleteDirectoryBaseTest.java42 assertThrows(NullPointerException.class, () -> FileUtils.deleteDirectory(null)); in testDeleteDirectoryNullArgument()
69 FileUtils.deleteDirectory(realOuter); in testDeleteDirWithASymlinkDir()
100 FileUtils.deleteDirectory(realOuter); in testDeleteDirWithASymlinkDir2()
130 FileUtils.deleteDirectory(realOuter); in testDeleteDirWithSymlinkFile()
156 FileUtils.deleteDirectory(aFile); in testDeleteInvalidLinks()
157 FileUtils.deleteDirectory(cFile); in testDeleteInvalidLinks()
187 FileUtils.deleteDirectory(symlinkParentDirectory); in testDeleteParentSymlink()
220 FileUtils.deleteDirectory(symlinkParentDirectory); in testDeleteParentSymlink2()
239 FileUtils.deleteDirectory(nested); in testDeletesNested()
253 FileUtils.deleteDirectory(nested); in testDeletesRegular()
DFileUtilsDeleteDirectoryLinuxTest.java87 FileUtils.deleteDirectory(nested); in testThrowsOnCannotDeleteFile()
94 FileUtils.deleteDirectory(nested); in testThrowsOnCannotDeleteFile()
110 FileUtils.deleteDirectory(nested); in testThrowsOnNullList()
116 FileUtils.deleteDirectory(nested); in testThrowsOnNullList()
DDeleteDirectoryTest.java81 testDeleteDirectory(dir -> FileUtils.deleteDirectory(dir.toFile())); in testDeleteDirectoryWithFileUtils()
86 testDeleteDirectory(PathUtils::deleteDirectory); in testDeleteDirectoryWithPathUtils()
91 …testDeleteDirectory(dir -> PathUtils.deleteDirectory(dir, StandardDeleteOption.OVERRIDE_READ_ONLY)… in testDeleteDirectoryWithPathUtilsOverrideReadOnly()
DFileUtilsTest.java245 FileUtils.deleteDirectory(grandParentDir); in createFilesForTestCopyDirectory()
354 FileUtils.deleteDirectory(tempDirFile);
851 FileUtils.deleteDirectory(target);
858 FileUtils.deleteDirectory(target);
866 FileUtils.deleteDirectory(target);
874 FileUtils.deleteDirectory(target);
916 FileUtils.deleteDirectory(destDir);
927 FileUtils.deleteDirectory(destDir);
952 FileUtils.deleteDirectory(destDir);
1010 FileUtils.deleteDirectory(destDir);
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/
DSynchronousFileStorageTest.java135 storage.deleteDirectory(file1Uri); in deleteDir_shouldInvokeBackend()
136 verify(fileBackend).deleteDirectory(file1Uri); in deleteDir_shouldInvokeBackend()
155 verify(fileBackend).deleteDirectory(dir2Uri); in deleteRecursively_shouldRecurse()
156 verify(fileBackend).deleteDirectory(dir1Uri); in deleteRecursively_shouldRecurse()
172 verify(fileBackend, never()).deleteDirectory(dir1Uri); in deleteRecursively_failsOnAccessError()
336 storage.deleteDirectory(file1CompressUri); in deleteDirectory_shouldNOTInvokeTransformEncode()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/spi/
DForwardingBackend.java91 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in ForwardingBackend
92 delegate().deleteDirectory(rewriteUri(uri)); in deleteDirectory()
DBackend.java108 default void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/
DSynchronousFileStorage.java191 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in SynchronousFileStorage
193 backend.deleteDirectory(stripFragment(uri)); in deleteDirectory()
215 deleteDirectory(uri); in deleteRecursively()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFakeFileBackendTest.java120 assertThrows(FakeIOException.class, () -> backend.deleteDirectory(dir)); in throwsExceptions_forManage()
130 backend.deleteDirectory(dir); in throwsExceptions_forManage()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DBackendTestBase.java434 storage.deleteDirectory(uri); in deleteDirectory_shouldDeleteEmptyDirectory()
448 assertThrows(IOException.class, () -> storage.deleteDirectory(uri)); in deleteDirectory_shouldNOTDeleteNonEmptyDirectory()
452 storage.deleteDirectory(uri); in deleteDirectory_shouldNOTDeleteNonEmptyDirectory()
463 assertThrows(IOException.class, () -> storage.deleteDirectory(uri)); in deleteDirectory_onFileShouldThrow()
DFakeFileBackend.java203 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in FakeFileBackend
205 delegate.deleteDirectory(uri); in deleteDirectory()
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/
DPathUtils.java422 …return Files.isDirectory(path, LinkOption.NOFOLLOW_LINKS) ? deleteDirectory(path, deleteOptions) :… in delete()
445 …return Files.isDirectory(path, linkOptions) ? deleteDirectory(path, linkOptions, deleteOptions) : … in delete()
455 public static PathCounters deleteDirectory(final Path directory) throws IOException { in deleteDirectory() method in PathUtils
456 return deleteDirectory(directory, EMPTY_DELETE_OPTION_ARRAY); in deleteDirectory()
468 …public static PathCounters deleteDirectory(final Path directory, final DeleteOption... deleteOptio… in deleteDirectory() method in PathUtils
485 …public static PathCounters deleteDirectory(final Path directory, final LinkOption[] linkOptions, f… in deleteDirectory() method in PathUtils
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/
DRecursiveDeleteOpener.java87 storage.deleteDirectory(uri); in deleteRecursively()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DDefaultFileSystemTest.groovy245 deleteDirectory(new File(EXISTING_DIR))
256 private void deleteDirectory(File dirFile) {
260 deleteDirectory(file)
/external/apache-commons-io/src/test/java/org/apache/commons/io/monitor/
DFileAlterationObserverTest.java113 FileUtils.deleteDirectory(testDirB); in testDirectory()
120 FileUtils.deleteDirectory(testDir); in testDirectory()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DJimfsSecureDirectoryStream.java160 public void deleteDirectory(Path path) throws IOException { in deleteDirectory() method in JimfsSecureDirectoryStream
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DJavaFileBackend.java101 public void deleteDirectory(Uri uri) throws IOException { in deleteDirectory() method in JavaFileBackend
/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/
DFileFilterTest.java882 FileUtils.deleteDirectory(file); in testMakeCVSAware()
930 FileUtils.deleteDirectory(fileA); in testMakeDirectoryOnly()
931 FileUtils.deleteDirectory(fileB); in testMakeDirectoryOnly()
969 FileUtils.deleteDirectory(fileA); in testMakeFileOnly()
970 FileUtils.deleteDirectory(fileB); in testMakeFileOnly()
1001 FileUtils.deleteDirectory(file); in testMakeSVNAware()
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java637 dir.deleteDirectory(path);
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileUtils.java1194 public static void deleteDirectory(final File directory) throws IOException { in deleteDirectory() method in FileUtils
2312 deleteDirectory(srcDir); in moveDirectory()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/internal/
DExpirationHandlerTest.java1719 verify(mockBackend).deleteDirectory(symlinkDirForGroup1); in updateExpiration_expiredGroups_withIsolatedStructure()
1752 verify(mockBackend, never()).deleteDirectory(symlinkDirForGroup1); in updateExpiration_noExpiredGroups_doesNotRemoveIsolatedStructure()
1808 verify(mockBackend).deleteDirectory(symlinkDirForGroup1); in updateExpiration_expiredStaleGroup_withIsolatedStructure_deletesFiles()
/external/apache-commons-io/
DRELEASE-NOTES.txt24 o IO-724: FileUtils#deleteDirectory(File) exception Javadoc inaccurate update #245. Thanks to lira…
166 o Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption...). Thanks to Gar…
173 Add PathUtils.deleteDirectory(Path, DeleteOption...).
535 o IO-435: Document that FileUtils.deleteDirectory, directoryContains and cleanDirectory
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsUnixLikeFileSystemTest.java2035 secureStream.deleteDirectory(path("a")); in testSecureDirectoryStream()
2135 stream.deleteDirectory(fs.getPath("a")); in testClosedSecureDirectoryStream()
/external/apache-commons-io/src/changes/
Drelease-notes.vm196 o Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption...). Thanks to Gar…
203 Add PathUtils.deleteDirectory(Path, DeleteOption...).
565 o IO-435: Document that FileUtils.deleteDirectory, directoryContains and cleanDirectory