/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 30 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 36 stubFtpServer = new StubFtpServer(); in testStartAndStop() 37 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 39 stubFtpServer.start(); in testStartAndStop() 41 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 42 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 44 stubFtpServer.stop(); in testStartAndStop() 46 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop()
|
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 35 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 41 stubFtpServer = new StubFtpServer(); in testStartAndStop() 42 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 44 stubFtpServer.start(); in testStartAndStop() 46 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 47 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 49 stubFtpServer.stop(); in testStartAndStop() 51 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 63 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() 64 stubFtpServer.setServerControlPort(SERVER_CONTROL_PORT); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 46 private StubFtpServer stubFtpServer; field in StubFtpServerTest 58 stubFtpServer.setCommandHandlers(mapping); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 60 …assertSame("commandHandler2", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("B… in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 65 …assertEquals("CwdCommandHandler", CwdCommandHandler.class, stubFtpServer.getCommandHandler("CWD").… in testSetCommandHandlers() 73 stubFtpServer.setCommandHandlers(null); in testSetCommandHandlers_Null() 85 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 86 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() [all …]
|
D | StubFtpServer_StartTest.java | 36 private StubFtpServer stubFtpServer; field in StubFtpServer_StartTest 42 stubFtpServer = new StubFtpServer(); in testStartAndStop() 43 stubFtpServer.setServerControlPort(PortTestUtil.getFtpServerControlPort()); in testStartAndStop() 44 assertEquals("started - before", false, stubFtpServer.isStarted()); in testStartAndStop() 46 stubFtpServer.start(); in testStartAndStop() 48 assertEquals("started - after start()", true, stubFtpServer.isStarted()); in testStartAndStop() 49 assertEquals("shutdown - after start()", false, stubFtpServer.isShutdown()); in testStartAndStop() 51 stubFtpServer.stop(); in testStartAndStop() 53 assertEquals("shutdown - after stop()", true, stubFtpServer.isShutdown()); in testStartAndStop() 65 stubFtpServer = new StubFtpServer(); in testCustomServerControlPort() [all …]
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 38 private StubFtpServer stubFtpServer; field in StubFtpServerTest 50 stubFtpServer.setCommandHandler("ZZZ", commandHandler_NoReplyTextBundle); in testSetCommandHandler_NotReplyTextBundleAware() 51 …assertSame("commandHandler", commandHandler_NoReplyTextBundle, stubFtpServer.getCommandHandler("ZZ… in testSetCommandHandler_NotReplyTextBundleAware() 59 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 60 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 61 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), commandHandler.getReplyTextBundl… in testSetCommandHandler_NullReplyTextBundle() 68 stubFtpServer.setReplyTextBaseName("SampleReplyText"); in testSetReplyTextBaseName() 72 stubFtpServer.setCommandHandler("CWD", commandHandler); in testSetReplyTextBaseName() 87 stubFtpServer = (StubFtpServer) ftpServer; in setUp() 119 …assertSame("replyTextBundle", stubFtpServer.getReplyTextBundle(), stubCommandHandler.getReplyTextB… in verifyCommandHandlerInitialized()
|