/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | DrawableResourceLoaderNoRunnerTest.java | 65 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile}); in shouldFindDrawableResourcesWorkWithUnixJarFilePath() 68 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir}); in shouldFindDrawableResourcesWorkWithUnixJarFilePath() 88 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile}); in shouldFindDrawableResourcesWorkWithUnixFilePath() 91 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir}); in shouldFindDrawableResourcesWorkWithUnixFilePath() 111 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile}); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath() 114 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir}); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath() 134 when(mockTestDir.listFiles()).thenReturn(new FsFile[]{mockTestFile}); in shouldFindDrawableResourcesWorkWithWindowsFilePath() 137 when(mockTestBaseDir.listFiles()).thenReturn(new FsFile[]{mockTestDir}); in shouldFindDrawableResourcesWorkWithWindowsFilePath()
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 170 assert [] == fileSystem.listFiles(NEW_DIR) 175 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 178 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 189 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 193 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 195 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 197 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 209 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 210 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
D | TestUnixFakeFileSystem.groovy | 54 List listFiles(String path) { 58 super.listFiles(path)
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 170 assert [] == fileSystem.listFiles(NEW_DIR) 175 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 178 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 189 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 193 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 195 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 197 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 209 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 210 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
D | TestUnixFakeFileSystem.groovy | 54 List listFiles(String path) { 58 super.listFiles(path)
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 170 assert [] == fileSystem.listFiles(NEW_DIR) 175 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 178 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 189 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 193 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 195 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 197 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 209 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 210 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
D | TestUnixFakeFileSystem.groovy | 54 List listFiles(String path) { 58 super.listFiles(path)
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 170 assert [] == fileSystem.listFiles(NEW_DIR) 175 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 178 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 189 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 193 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 195 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 197 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 209 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 210 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
D | TestUnixFakeFileSystem.groovy | 54 List listFiles(String path) { 58 super.listFiles(path)
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTestCase.groovy | 170 assert [] == fileSystem.listFiles(NEW_DIR) 175 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 178 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 189 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 193 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 195 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 197 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 209 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 210 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 159 assert [] == fileSystem.listFiles(NEW_DIR) 164 assert fileSystem.listFiles(NEW_DIR) == [fileEntry1] 167 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1] 171 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 178 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2] as Set 182 assert fileSystem.listFiles(NEW_DIR) as Set == [fileEntry1, fileEntry2, dirEntry3] as Set 184 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 186 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) } 198 assert fileSystem.listFiles(p(NEW_DIR, '*.txt')) as Set == [fileEntry1, fileEntry2] as Set 199 assert fileSystem.listFiles(p(NEW_DIR, '*')) as Set == [fileEntry1, fileEntry2] as Set [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | FileFsFile.java | 43 public FsFile[] listFiles() { in listFiles() method in FileFsFile 44 return asFsFiles(file.listFiles()); in listFiles() 48 public FsFile[] listFiles(final Filter filter) { in listFiles() method in FileFsFile 49 return asFsFiles(file.listFiles(pathname -> filter.accept(new FileFsFile(pathname)))); in listFiles() 54 File[] files = file.listFiles(); in listFileNames()
|
D | FsFile.java | 14 FsFile[] listFiles(); in listFiles() method 16 FsFile[] listFiles(Filter filter); in listFiles() method
|
D | DocumentLoader.java | 22 FsFile[] files = resourceBase.listFiles(new StartsWithFilter(folderBaseName)); in load() 47 for (FsFile file : dir.listFiles(ENDS_WITH_XML)) { in loadFile()
|
D | Fs.java | 147 @Override public FsFile[] listFiles() { in listFiles() method in Fs.JarFs.JarFsFile 148 return listFiles(fsFile -> true); in listFiles() 151 @Override public FsFile[] listFiles(Filter filter) { in listFiles() method in Fs.JarFs.JarFsFile 188 for (FsFile fsFile : listFiles()) { in listFileNames()
|
D | RawResourceLoader.java | 19 FsFile[] files = resourceBase.listFiles(new StartsWithFilter(folderBaseName)); in load() 29 FsFile[] files = rawDir.listFiles(); in loadRawFiles()
|
D | DrawableResourceLoader.java | 21 FsFile[] files = resourcePath.getResourceBase().listFiles(); in findDrawableResources() 34 FsFile[] files = dir.listFiles(); in listDrawableResources()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemTest.groovy | 242 * Test listFiles() method 247 assert [] == fileSystem.listFiles(NEW_DIR) 251 assert [fileInfo1] == fileSystem.listFiles(NEW_DIR) 254 assert [fileInfo1] == fileSystem.listFiles(p(NEW_DIR,FILENAME1)) 258 assert [fileInfo1, fileInfo2] as Set == fileSystem.listFiles(NEW_DIR) as Set 266 assert [fileInfo1, fileInfo2] as Set == fileSystem.listFiles(NEW_DIR) as Set 270 assert [fileInfo1, fileInfo2, fileInfo3] as Set == fileSystem.listFiles(NEW_DIR) as Set 272 assert fileSystem.listFiles(NO_SUCH_DIR) == [] 274 shouldFailWithMessageContaining("path") { fileSystem.listFiles(null) }
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 95 for (File f : getDataDirectory().listFiles()) { in clearDataDirectory() 2021 int origSize = getDataDirectory().listFiles().length; in testCaching_Methods() 2028 int numFiles = getDataDirectory().listFiles().length; in testCaching_Methods() 2039 assertEquals(numFiles, getDataDirectory().listFiles().length); in testCaching_Methods() 2047 assertTrue(numFiles < getDataDirectory().listFiles().length); in testCaching_Methods() 2048 numFiles = getDataDirectory().listFiles().length; in testCaching_Methods() 2054 assertTrue(numFiles < getDataDirectory().listFiles().length); in testCaching_Methods() 2055 numFiles = getDataDirectory().listFiles().length; in testCaching_Methods() 2062 assertTrue(numFiles < getDataDirectory().listFiles().length); in testCaching_Methods() 2063 numFiles = getDataDirectory().listFiles().length; in testCaching_Methods() [all …]
|