/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractCommandHandlerTest.java | 54 private AbstractCommandHandler commandHandler; field in _AbstractCommandHandlerTest 62 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 63 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 64 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 65 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 73 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 86 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 101 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 102 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 103 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/ |
D | StubFtpServerTest.java | 47 private AbstractStubCommandHandler commandHandler; field in StubFtpServerTest 55 mapping.put("AAA", commandHandler); in testSetCommandHandlers() 59 assertSame("commandHandler1", commandHandler, stubFtpServer.getCommandHandler("AAA")); in testSetCommandHandlers() 62 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandlers() 94 stubFtpServer.setCommandHandler("ZZZ", commandHandler); in testSetCommandHandler_NullReplyTextBundle() 95 assertSame("commandHandler", commandHandler, stubFtpServer.getCommandHandler("ZZZ")); in testSetCommandHandler_NullReplyTextBundle() 96 … assertSame("replyTextBundle", stubFtpServer.replyTextBundle, commandHandler.getReplyTextBundle()); in testSetCommandHandler_NullReplyTextBundle() 103 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class); in testSetCommandHandler_NullCommandName() local 105 stubFtpServer.setCommandHandler(null, commandHandler); in testSetCommandHandler_NullCommandName() 131 CwdCommandHandler commandHandler = new CwdCommandHandler(); in testSetReplyTextBaseName() local [all …]
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractTrackingCommandHandlerTest.java | 53 private AbstractTrackingCommandHandler commandHandler; field in _AbstractTrackingCommandHandlerTest 60 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 61 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 62 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 63 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 71 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 84 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 99 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 100 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 101 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractTrackingCommandHandlerTest.java | 52 private AbstractTrackingCommandHandler commandHandler; field in _AbstractTrackingCommandHandlerTest 59 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 60 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 61 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 62 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 70 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 83 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 98 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 99 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 100 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractTrackingCommandHandlerTest.java | 52 private AbstractTrackingCommandHandler commandHandler; field in _AbstractTrackingCommandHandlerTest 59 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 60 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 61 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 62 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 70 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 83 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 98 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 99 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 100 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractTrackingCommandHandlerTest.java | 52 private AbstractTrackingCommandHandler commandHandler; field in _AbstractTrackingCommandHandlerTest 59 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 60 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 61 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 62 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 70 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 83 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 98 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 99 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 100 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractTrackingCommandHandlerTest.java | 52 private AbstractTrackingCommandHandler commandHandler; field in _AbstractTrackingCommandHandlerTest 59 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 60 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 61 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 62 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 70 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 83 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 98 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 99 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 100 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/command/ |
D | _AbstractTrackingCommandHandlerTest.java | 52 private AbstractTrackingCommandHandler commandHandler; field in _AbstractTrackingCommandHandlerTest 59 assertEquals("before", 0, commandHandler.numberOfInvocations()); in testHandleCommand() 60 commandHandler.handleCommand(COMMAND, session); in testHandleCommand() 61 assertEquals("after", 1, commandHandler.numberOfInvocations()); in testHandleCommand() 62 assertTrue("locked", commandHandler.getInvocation(0).isLocked()); in testHandleCommand() 70 commandHandler.handleCommand(null, session); in testHandleCommand_NullCommand() 83 commandHandler.handleCommand(COMMAND, null); in testHandleCommand_NullSession() 98 assertEquals("none", 0, commandHandler.numberOfInvocations()); in testInvocationHistory() 99 commandHandler.handleCommand(COMMAND, session); in testInvocationHistory() 100 assertEquals("1", 1, commandHandler.numberOfInvocations()); in testInvocationHistory() [all …]
|