OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:verifyFileSystemCondition
(Results
1 - 12
of
12
) sorted by null
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
RmdCommandHandler.java
43
verifyFileSystemCondition
(getFileSystem().exists(path), path, "filesystem.doesNotExist");
44
verifyFileSystemCondition
(getFileSystem().isDirectory(path), path, "filesystem.isNotADirectory");
45
verifyFileSystemCondition
(getFileSystem().listNames(path).size() == 0, path, "filesystem.directoryIsNotEmpty");
CdupCommandHandler.java
43
verifyFileSystemCondition
(notNullOrEmpty(path), currentDirectory, "filesystem.parentDirectoryDoesNotExist");
44
verifyFileSystemCondition
(getFileSystem().isDirectory(path), path, "filesystem.isNotADirectory");
CwdCommandHandler.java
44
verifyFileSystemCondition
(getFileSystem().exists(path), path, "filesystem.doesNotExist");
45
verifyFileSystemCondition
(getFileSystem().isDirectory(path), path, "filesystem.isNotADirectory");
MkdCommandHandler.java
46
verifyFileSystemCondition
(getFileSystem().exists(parent), parent, "filesystem.doesNotExist");
47
verifyFileSystemCondition
(!getFileSystem().exists(path), path, "filesystem.alreadyExists");
RntoCommandHandler.java
47
verifyFileSystemCondition
(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory");
51
verifyFileSystemCondition
(notNullOrEmpty(parentPath), parentPath, "filesystem.doesNotExist");
52
verifyFileSystemCondition
(getFileSystem().exists(parentPath), parentPath, "filesystem.doesNotExist");
DeleCommandHandler.java
43
verifyFileSystemCondition
(getFileSystem().isFile(path), path, "filesystem.isNotAFile");
PwdCommandHandler.java
38
verifyFileSystemCondition
(notNullOrEmpty(currentDirectory), currentDirectory, "filesystem.currentDirectoryNotSet");
RnfrCommandHandler.java
44
verifyFileSystemCondition
(getFileSystem().exists(fromPath), fromPath, "filesystem.doesNotExist");
AbstractStoreFileCommandHandler.java
53
verifyFileSystemCondition
(!getFileSystem().isDirectory(path), path, "filesystem.isDirectory");
55
verifyFileSystemCondition
(getFileSystem().isDirectory(parentPath), parentPath, "filesystem.isNotADirectory");
RetrCommandHandler.java
55
verifyFileSystemCondition
(entry != null, path, "filesystem.doesNotExist");
56
verifyFileSystemCondition
(!entry.isDirectory(), path, "filesystem.isNotAFile");
AbstractFakeCommandHandler.java
262
protected void
verifyFileSystemCondition
(boolean condition, String path, String messageKey) {
278
verifyFileSystemCondition
(userAccount.canExecute(entry), path, "filesystem.cannotExecute");
291
verifyFileSystemCondition
(userAccount.canWrite(entry), path, "filesystem.cannotWrite");
304
verifyFileSystemCondition
(userAccount.canRead(entry), path, "filesystem.cannotRead");
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
_AbstractFakeCommandHandlerTest.groovy
135
commandHandler.
verifyFileSystemCondition
(true, PATH, '') // no exception expected
136
shouldFail(FileSystemException) { commandHandler.
verifyFileSystemCondition
(false, PATH, '') }
Completed in 712 milliseconds