OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ftpServer
(Results
1 - 2
of
2
) sorted by null
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/server/
AbstractFtpServer_StartTestCase.java
32
private AbstractFtpServer
ftpServer
;
38
ftpServer
.setServerControlPort(PortTestUtil.getFtpServerControlPort());
39
assertEquals("started - before", false,
ftpServer
.isStarted());
41
ftpServer
.start();
43
assertEquals("started - after start()", true,
ftpServer
.isStarted());
44
assertEquals("shutdown - after start()", false,
ftpServer
.isShutdown());
46
ftpServer
.stop();
48
assertEquals("shutdown - after stop()", true,
ftpServer
.isShutdown());
57
ftpServer
.setServerControlPort(SERVER_CONTROL_PORT);
58
ftpServer
.start();
[
all
...]
AbstractFtpServerTestCase.java
40
protected AbstractFtpServer
ftpServer
;
52
ftpServer
.setCommandHandlers(mapping);
53
assertSame("commandHandler1", commandHandler,
ftpServer
.getCommandHandler("AAA"));
54
assertSame("commandHandler2", commandHandler2,
ftpServer
.getCommandHandler("BBB"));
60
assertTrue("ConnectCommandHandler",
ftpServer
.getCommandHandler(CommandNames.CONNECT) != null);
68
ftpServer
.setCommandHandlers(null);
80
ftpServer
.setCommandHandler("ZZZ", commandHandler2);
81
assertSame("commandHandler", commandHandler2,
ftpServer
.getCommandHandler("ZZZ"));
91
ftpServer
.setCommandHandler(null, commandHandler);
104
ftpServer
.setCommandHandler("ZZZ", null);
[
all
...]
Completed in 728 milliseconds