/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AppeCommandHandlerTest.java | 56 Command command = new Command(CommandNames.APPE, array(FILENAME1));
61 verifyTwoDataElements(commandHandler.getInvocation(0), AppeCommandHandler.PATHNAME_KEY, FILENAME1,
|
DeleCommandHandlerTest.java | 50 verifyOneDataElement(commandHandler.getInvocation(0), DeleCommandHandler.PATHNAME_KEY, FILENAME1);
69 command1 = new Command(CommandNames.DELE, array(FILENAME1));
|
RnfrCommandHandlerTest.java | 48 verifyOneDataElement(commandHandler.getInvocation(0), RnfrCommandHandler.PATHNAME_KEY, FILENAME1);
68 command1 = new Command(CommandNames.RNFR, array(FILENAME1));
|
RntoCommandHandlerTest.java | 48 verifyOneDataElement(commandHandler.getInvocation(0), RntoCommandHandler.PATHNAME_KEY, FILENAME1);
68 command1 = new Command(CommandNames.RNTO, array(FILENAME1));
|
StorCommandHandlerTest.java | 56 Command command = new Command(CommandNames.STOR, array(FILENAME1));
61 verifyTwoDataElements(commandHandler.getInvocation(0), StorCommandHandler.PATHNAME_KEY, FILENAME1,
|
RetrCommandHandlerTest.java | 108 Command command = new Command(CommandNames.RETR, array(FILENAME1));
113 verifyOneDataElement(commandHandler.getInvocation(0), RetrCommandHandler.PATHNAME_KEY, FILENAME1);
|
FileRetrCommandHandlerTest.java | 120 Command command = new Command(CommandNames.RETR, array(FILENAME1));
125 verifyOneDataElement(commandHandler.getInvocation(0), FileRetrCommandHandler.PATHNAME_KEY, FILENAME1);
|
StouCommandHandlerTest.java | 59 Command command = new Command(CommandNames.STOU, array(FILENAME1));
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AppeCommandHandlerTest.java | 59 Command command = new Command(CommandNames.APPE, array(FILENAME1));
64 verifyTwoDataElements(commandHandler.getInvocation(0), AppeCommandHandler.PATHNAME_KEY, FILENAME1,
|
DeleCommandHandlerTest.java | 50 verifyOneDataElement(commandHandler.getInvocation(0), DeleCommandHandler.PATHNAME_KEY, FILENAME1);
69 command1 = new Command(CommandNames.DELE, array(FILENAME1));
|
RnfrCommandHandlerTest.java | 50 verifyOneDataElement(commandHandler.getInvocation(0), RnfrCommandHandler.PATHNAME_KEY, FILENAME1);
70 command1 = new Command(CommandNames.RNFR, array(FILENAME1));
|
RntoCommandHandlerTest.java | 50 verifyOneDataElement(commandHandler.getInvocation(0), RntoCommandHandler.PATHNAME_KEY, FILENAME1);
70 command1 = new Command(CommandNames.RNTO, array(FILENAME1));
|
StorCommandHandlerTest.java | 59 Command command = new Command(CommandNames.STOR, array(FILENAME1));
64 verifyTwoDataElements(commandHandler.getInvocation(0), StorCommandHandler.PATHNAME_KEY, FILENAME1,
|
RetrCommandHandlerTest.java | 107 Command command = new Command(CommandNames.RETR, array(FILENAME1));
112 verifyOneDataElement(commandHandler.getInvocation(0), RetrCommandHandler.PATHNAME_KEY, FILENAME1);
|
FileRetrCommandHandlerTest.java | 121 Command command = new Command(CommandNames.RETR, array(FILENAME1));
126 verifyOneDataElement(commandHandler.getInvocation(0), FileRetrCommandHandler.PATHNAME_KEY, FILENAME1);
|
StouCommandHandlerTest.java | 60 Command command = new Command(CommandNames.STOU, array(FILENAME1));
|
AbstractCommandHandlerTest.java | 46 protected static final String FILENAME1 = "sample1.txt";
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
FakeFtpServerIntegrationTest.groovy | 53 static final FILENAME1 = "abc.txt"
55 static final FILE1 = p(HOME_DIR, FILENAME1)
158 assert ftpClient.deleteFile(FILENAME1)
160 assert !fileSystem.exists(FILENAME1)
202 fileSystem.add(new FileEntry(path: p(SUBDIR, FILENAME1), lastModified: LAST_MODIFIED, contents: ASCII_DATA))
213 verifyFTPFile(fileEntry, FTPFile.FILE_TYPE, FILENAME1, ASCII_DATA.size())
229 unixFileSystem.add(new FileEntry(path: p('/', FILENAME1), lastModified: LAST_MODIFIED, contents: ASCII_DATA))
242 verifyFTPFile(fileEntry, FTPFile.FILE_TYPE, FILENAME1, ASCII_DATA.size())
280 fileSystem.add(new FileEntry(path: p(SUBDIR, FILENAME1)))
286 assert filenames as Set == [FILENAME1, SUBDIR_NAME2] as Set [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
AbstractFileSystemTestCase.groovy | 30 public static final FILENAME1 = "File1.txt" 126 shouldFailWithMessageContaining("fromPath") { fileSystem.rename(null, FILENAME1) } 130 shouldFailWithMessageContaining("toPath") { fileSystem.rename(FILENAME1, null) } 137 fileSystem.add(new FileEntry(p(NEW_DIR, FILENAME1))) 144 assertSameIgnoringOrder(filenames, [FILENAME1, FILENAME2, DIR1]) 147 assert [FILENAME1] == fileSystem.listNames(p(NEW_DIR, FILENAME1)) 172 def path1 = p(NEW_DIR, FILENAME1) 178 assert fileSystem.listFiles(p(NEW_DIR, FILENAME1)) == [fileEntry1]
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
AbstractCommandHandlerTestCase.java | 41 protected static final String FILENAME1 = "sample1.txt";
|