/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/fake/example/ |
SimpleUnixFakeFtpServerTest.java | 18 import org.mockftpserver.fake.FakeFtpServer;
28 * Example code illustrating how to programmatically configure a FakeFtpServer with a (simulated) Unix
34 FakeFtpServer fakeFtpServer = new FakeFtpServer();
35 fakeFtpServer.setServerControlPort(9981);
36 fakeFtpServer.addUserAccount(new UserAccount("user", "password", "c:\\data"));
42 fakeFtpServer.setFileSystem(fileSystem);
44 fakeFtpServer.start();
46 fakeFtpServer.stop(); [all...] |
SimpleWindowsFakeFtpServerTest.java | 18 import org.mockftpserver.fake.FakeFtpServer;
28 * Example code illustrating how to programmatically configure a FakeFtpServer with a (simulated) Windows
34 FakeFtpServer fakeFtpServer = new FakeFtpServer();
35 fakeFtpServer.setServerControlPort(9981);
36 fakeFtpServer.addUserAccount(new UserAccount("user", "password", "c:\\data"));
42 fakeFtpServer.setFileSystem(fileSystem);
44 fakeFtpServer.start();
46 fakeFtpServer.stop(); [all...] |
RemoteFileTest.java | 18 import org.mockftpserver.fake.FakeFtpServer;
30 * Example test using FakeFtpServer, with programmatic configuration.
39 private FakeFtpServer fakeFtpServer;
58 fakeFtpServer = new FakeFtpServer();
59 fakeFtpServer.setServerControlPort(0); // use any free port
63 fakeFtpServer.setFileSystem(fileSystem);
66 fakeFtpServer.addUserAccount(userAccount);
68 fakeFtpServer.start(); [all...] |
WindowsFakeFileSystemPermissionsTest.java | 20 import org.mockftpserver.fake.FakeFtpServer;
30 * Example code illustrating how to programmatically configure a FakeFtpServer with a (simulated) Windows
70 FakeFtpServer fakeFtpServer = new FakeFtpServer();
71 fakeFtpServer.setFileSystem(fileSystem);
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/example/ |
FakeFtpServerSpringConfigurationTest.groovy | 5 import org.mockftpserver.fake.FakeFtpServer
32 private FakeFtpServer fakeFtpServer
36 startFtpServer('fakeftpserver-beans.xml')
55 startFtpServer('fakeftpserver-permissions-beans.xml')
86 fakeFtpServer?.stop()
91 fakeFtpServer = (FakeFtpServer) context.getBean("fakeFtpServer")
92 fakeFtpServer.start() [all...] |
/external/mockftpserver/MockFtpServer/src/site/apt/ |
fakeftpserver-versus-stubftpserver.apt | 2 FakeFtpServer versus StubFtpServer
5 FakeFtpServer or StubFtpServer?
12 * FakeFtpServer
15 <<FakeFtpServer>> provides a high-level abstraction for an FTP Server and is suitable for most testing
22 <<FakeFtpServer>> processes FTP client requests and responds with reply codes and reply messages
26 <<FakeFtpServer>> can be fully configured programmatically or within a
29 See the {{{./fakeftpserver-features.html}FakeFtpServer Features and Limitations}} page for more information on
50 In general, if your testing and simulation needs are pretty straightforward, then using <<FakeFtpServer>> is
51 probably the best choice. See the {{{./fakeftpserver-features.html}FakeFtpServer Features and Limitations}} page [all...] |
fakeftpserver-getting-started.apt | 2 FakeFtpServer Getting Started
5 FakeFtpServer - Getting Started
8 <<FakeFtpServer>> is a "fake" implementation of an FTP server. It provides a high-level abstraction for
15 <<FakeFtpServer>> processes FTP client requests and responds with reply codes and reply messages
19 See the {{{./fakeftpserver-features.html}FakeFtpServer Features and Limitations}} page for more information on
22 In general the steps for setting up and starting the <<<FakeFtpServer>>> are:
24 * Create a new <<<FakeFtpServer>>> instance, and optionally set the server control port (use a value of 0
27 * Create and configure a <<<FileSystem>>>, and attach to the <<<FakeFtpServer>>> instance.
29 * Create and configure one or more <<<UserAccount>>> objects and attach to the <<<FakeFtpServer>>> instance. [all...] |
index.apt | 12 <<FakeFtpServer>> provides a higher-level abstraction for an FTP server and is suitable for most testing
17 ownership for new files. See {{{./fakeftpserver-features.html}FakeFtpServer Features and Limitations}}.
26 See the {{{./fakeftpserver-versus-stubftpserver.html}FakeFtpServer or StubFtpServer?}} page for more
27 information on deciding whether to use <<FakeFtpServer>> or <<StubFtpServer>>.
|
fakeftpserver-features.apt | 2 FakeFtpServer Features and Limitations
5 FakeFtpServer Features
36 FTP Scenarios Supported by FakeFtpServer
39 Some of the mainline success scenarios that you can simulate with <<FakeFtpServer>> include:
65 Some of the error scenarios that you can simulate with <<FakeFtpServer>> include:
86 FakeFtpServer Limitations
89 Not all FTP features, error scenarios and reply codes can be simulated using <<FakeFtpServer>>. Features and
|
fakeftpserver-filesystems.apt | 2 FakeFtpServer Filesystems
5 FakeFtpServer Filesystems
8 <<FakeFtpServer>> provides a simulated server file system, including support for file and directory permissions
20 not depend on the <real> operating systems or file systems on which <<FakeFtpServer>> is running. In other
21 words, you can configure and run a <<FakeFtpServer>> with a <<<WindowsFakeFileSystem>>> on top of a <real>
22 Unix system, or run a <<FakeFtpServer>> with a <<<UnixFakeFileSystem>>> on top of a <real> Windows system.
160 <<<FakeFtpServer>>> filesystem. In this case, the filesystem is an instance of <<<WindowsFakeFileSystem>>>,
195 FakeFtpServer fakeFtpServer = new FakeFtpServer();
[all...] |
/external/mockftpserver/MockFtpServer/src/site/ |
site.xml | 30 <item name="FakeFtpServer or StubFtpServer?" href="/fakeftpserver-versus-stubftpserver.html"/>
37 <menu name="FakeFtpServer">
38 <item name="Features and Limitations" href="/fakeftpserver-features.html"/>
39 <item name="Getting Started" href="/fakeftpserver-getting-started.html"/>
40 <item name="File Systems" href="/fakeftpserver-filesystems.html"/>
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
FakeFtpServer_AlreadyStartedTest.groovy | 22 private FakeFtpServer ftpServer1 = new FakeFtpServer()
23 private FakeFtpServer ftpServer2 = new FakeFtpServer()
|
FakeFtpServer_StartTest.groovy | 22 * Tests for FakeFtpServer that require the server thread to be started.
31 return new FakeFtpServer();
|
RunFakeFtpServer.groovy | 18 import org.mockftpserver.fake.FakeFtpServer
25 * Run the FakeFtpServer with a minimal configuration for interactive testing and exploration.
48 def ftpServer = new FakeFtpServer()
|
FakeFtpServerTest.groovy | 26 * Tests for FakeFtpServer.
114 return new FakeFtpServer();
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
FakeFtpServer.java | 32 * <b>FakeFtpServer</b> is the top-level class for a "fake" implementation of an FTP Server,
35 * <b>FakeFtpServer</b> provides a high-level abstraction for an FTP Server and is suitable
41 * <p> <b>FakeFtpServer</b> processes FTP client requests and responds with reply codes and
45 * <b>FakeFtpServer</b> can be fully configured programmatically or within the
48 * In general the steps for setting up and starting the <b>FakeFtpServer</b> are:
50 * <li>Create a new <b>FakeFtpServer</b> instance, and optionally set the server control port.</li>
51 * <li>Create and configure a <b>FileSystem</b>, and attach to the <b>FakeFtpServer</b> instance.</li>
52 * <li>Create and configure one or more <b>UserAccount</b> objects and attach to the <b>FakeFtpServer</b> instance.</li>
53 * <li>Start the <b>FakeFtpServer</b> instance.</li>
57 * FakeFtpServer fakeFtpServer = new FakeFtpServer(); [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/server/ |
AbstractFtpServer_MultipleStartAndStopTest.groovy | 18 import org.mockftpserver.fake.FakeFtpServer
31 private FakeFtpServer ftpServer = new FakeFtpServer()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
StatCommandHandler.java | 26 * {@link org.mockftpserver.fake.FakeFtpServer}.</li>
32 * @see org.mockftpserver.fake.FakeFtpServer
|
HelpCommandHandler.java | 35 * The help text is configured within the {@link org.mockftpserver.fake.FakeFtpServer}.
40 * @see org.mockftpserver.fake.FakeFtpServer
|
SystCommandHandler.java | 28 * {@link org.mockftpserver.fake.FakeFtpServer} .
|
/external/mockftpserver/MockFtpServer/src/test/resources/ |
fakeftpserver-beans.xml | 18 <!-- Spring Framework configuration for FakeFtpServer -->
27 <bean id="fakeFtpServer" class="org.mockftpserver.fake.FakeFtpServer">
|
fakeftpserver-permissions-beans.xml | 18 <!-- Spring Framework configuration for FakeFtpServer -->
27 <bean id="fakeFtpServer" class="org.mockftpserver.fake.FakeFtpServer">
|
/external/mockftpserver/MockFtpServer/ |
README.txt | 8 FakeFtpServer provides a higher-level abstraction. You define a virtual file system, including
9 directories and files, as well as a set of valid user accounts and credentials. The FakeFtpServer
|
CHANGELOG.txt | 10 - Update ?Log4J Configuration Required to See Log Output? section on ?FakeFtpServer ? Getting Started? with info for SLF4J.
25 if you specify 0 for the serverControlPort property of FakeFtpServer or StubFtpServer. Then call
35 - FakeFtpServer: Support renaming of directories.
38 - BUG FIX: #2828362: "Unit tests using FakeFtpServer are slow" https://sourceforge.net/tracker/?func=detail&atid=1006533&aid=2828362&group_id=208647. DefaultSession.readCommand().
41 - FakeFtpServer (AbstractFakeFileSystem): Change rename() to fail if the TO file already exists.
49 - Added support for IPv6 (EPRT and EPSV commands) to FakeFtpServer and StubFtpServer. Thanks to Fernando Martinez for testing.
88 - [BREAKING CHANGE] Unify Fake and Stub CommandHandlers. Change ServerConfiguration to remove getReplyTextBundle(); make AbstractFakeCommandHandler implement ReplyTextBundleAware instead. Change FakeFtpServer to check for ReplyTextBundleAware and set replyTextBundle. Pull common from stub/fake into AbstractCommandHandler.
91 - Create new UnrecognizedCommandHandler, and use to return 502 reply from FakeFtpServer and StubFtpServer when a requested command is not supported.
92 - Add support for STAT command; Add systemStatus property to FakeFtpServer.
93 - Add support for SMNT command to FakeFtpServer;
[all...] |
pom.xml | 10 FakeFtpServer provides a higher-level abstraction. You define a virtual file system, including
11 directories and files, as well as a set of valid user accounts and credentials. The FakeFtpServer
|