Home
last modified time | relevance | path

Searched refs:pathCounts (Results 1 – 4 of 4) sorted by relevance

/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DPathUtilsCountingTest.java39 final PathCounters pathCounts = PathUtils.countDirectory(tempDir.get()); in testCountEmptyFolder() local
40 assertCounts(1, 0, 0, pathCounts); in testCountEmptyFolder()
49 final PathCounters pathCounts = PathUtils in testCountFolders1FileSize0() local
51 assertCounts(1, 1, 0, pathCounts); in testCountFolders1FileSize0()
69 final PathCounters pathCounts = PathUtils in testCountFolders2FileSize2() local
71 assertCounts(3, 2, 2, pathCounts); in testCountFolders2FileSize2()
79 final PathCounters pathCounts = PathUtils in testCountFolders2FileSize4() local
81 assertCounts(3, 4, 8, pathCounts); in testCountFolders2FileSize4()
DPathUtilsDeleteTest.java149 private void testDeleteEmptyDirectory(final PathCounters pathCounts) { in testDeleteEmptyDirectory() argument
150 assertCounts(1, 0, 0, pathCounts); in testDeleteEmptyDirectory()
DPathUtilsDeleteFileTest.java110 private void testDeleteFileEmpty(final PathCounters pathCounts) { in testDeleteFileEmpty() argument
111 assertCounts(0, 0, 0, pathCounts); in testDeleteFileEmpty()
/external/apache-commons-io/src/main/java/org/apache/commons/io/file/
DPathUtils.java535 final PathCounters pathCounts = Counters.longPathCounters(); in deleteFile() local
540 pathCounts.getFileCounter().increment(); in deleteFile()
541 pathCounts.getByteCounter().add(size); in deleteFile()
542 return pathCounts; in deleteFile()
558 pathCounts.getFileCounter().increment(); in deleteFile()
559 pathCounts.getByteCounter().add(size); in deleteFile()
566 return pathCounts; in deleteFile()