/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
CdupCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.CdupCommandHandler;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
56 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp() [all...] |
CwdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.CwdCommandHandler;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
63 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp() [all...] |
DeleCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.DeleCommandHandler;
33 private Command command1;
34 private Command command2;
37 * Test the handleCommand(Command,Session) method
63 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp() [all...] |
HelpCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.HelpCommandHandler;
46 final Command COMMAND1 = new Command(CommandNames.HELP, EMPTY);
47 final Command COMMAND2 = new Command(CommandNames.HELP, array("abc")); [all...] |
ListCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
22 import org.mockftpserver.stub.command.ListCommandHandler;
55 Command command1 = new Command(CommandNames.LIST, array(DIR1));
56 Command command2 = new Command(CommandNames.LIST, EMPTY); [all...] |
MkdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.MkdCommandHandler;
33 private Command command1;
34 private Command command2;
64 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
71 command1 = new Command(CommandNames.MKD, array(DIR1)); [all...] |
ModeCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.ModeCommandHandler;
36 private Command command1;
37 private Command command2;
67 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
73 command1 = new Command(CommandNames.MODE, array(CODE1)); [all...] |
NlstCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
53 Command command1 = new Command(CommandNames.LIST, array(DIR1));
54 Command command2 = new Command(CommandNames.LIST, EMPTY);
66 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp() [all...] |
PassCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.PassCommandHandler;
36 private Command command1;
37 private Command command2;
66 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
72 command1 = new Command(CommandNames.PASS, array(PASSWORD1)); [all...] |
RestCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.RestCommandHandler;
36 private Command command1;
37 private Command command2;
67 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
74 command1 = new Command(CommandNames.REST, array(MARKER1)); [all...] |
RmdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.RmdCommandHandler;
33 private Command command1;
34 private Command command2;
62 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
68 command1 = new Command(CommandNames.RMD, array(DIR1)); [all...] |
RnfrCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.RnfrCommandHandler;
33 private Command command1;
34 private Command command2;
64 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
70 command1 = new Command(CommandNames.RNFR, array(FILENAME1)); [all...] |
RntoCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.RntoCommandHandler;
33 private Command command1;
34 private Command command2;
64 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
70 command1 = new Command(CommandNames.RNTO, array(FILENAME1)); [all...] |
SiteCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
35 private Command command1;
36 private Command command2;
39 * Test the handleCommand(Command,Session) method
65 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
71 command1 = new Command(CommandNames.SITE, array(PARAMETERS1)); [all...] |
SmntCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
32 private Command command1;
33 private Command command2;
36 * Test the handleCommand(Command,Session) method
62 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
68 command1 = new Command(CommandNames.SMNT, array(DIR1)); [all...] |
StruCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.StruCommandHandler;
36 private Command command1;
37 private Command command2;
67 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
73 command1 = new Command(CommandNames.STRU, array(CODE1)); [all...] |
UserCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.UserCommandHandler;
36 private Command command1;
37 private Command command2;
77 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
82 command1 = new Command(CommandNames.USER, array(USERNAME1)); [all...] |
/external/emma/core/java12/ |
emma.java | 10 import com.vladium.emma.Command; 39 final Command command = Command.create (commandName, "emma ".concat (commandName), commandArgs); local 40 command.run (); 53 "emma usage: emma <command> [command options]," + EOL + 54 " where <command> is one of:" + EOL + 61 " {use '<command> -h' to see usage help for a given command}" + EOL [all...] |
/external/libweave/include/weave/test/ |
mock_command.h | 8 #include <weave/command.h> 19 class MockCommand : public Command { 26 MOCK_CONST_METHOD0(GetState, Command::State()); 27 MOCK_CONST_METHOD0(GetOrigin, Command::Origin());
|
/external/libweave/src/commands/ |
command_instance_unittest.cc | 20 CommandInstance instance{"robot.speak", Command::Origin::kCloud, *params}; 27 EXPECT_EQ(Command::Origin::kCloud, instance.GetOrigin()); 32 CommandInstance instance2{"base.reboot", Command::Origin::kLocal, {}}; 33 EXPECT_EQ(Command::Origin::kLocal, instance2.GetOrigin()); 37 CommandInstance instance{"base.reboot", Command::Origin::kLocal, {}}; 54 auto instance = CommandInstance::FromJson(json.get(), Command::Origin::kCloud, 66 auto instance = CommandInstance::FromJson(json.get(), Command::Origin::kCloud, 75 auto instance = CommandInstance::FromJson(json.get(), Command::Origin::kCloud, 84 auto instance = CommandInstance::FromJson(json.get(), Command::Origin::kCloud, 96 auto instance = CommandInstance::FromJson(json.get(), Command::Origin::kCloud [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
ListCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
24 * CommandHandler for the LIST command. Return the configured directory listing on the data
29 * The interpretation of the value returned from this command is dependent upon the value returned
30 * by the SYST command. The format of the directory listing should match the format associated with
31 * the system named by the SYST command. For example, if the SYST command returns "WINDOWS", then [all...] |
NlstCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
24 * CommandHandler for the NLST command. Return the configured directory listing on the data
32 * invocation (the first command parameter); this parameter is optional, so the value may be null.
45 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord) [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
NoopCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
38 final Command COMMAND = new Command(CommandNames.NOOP, EMPTY);
43 commandHandler.handleCommand(COMMAND, session); [all...] |
PwdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandNames;
21 import org.mockftpserver.core.command.ReplyCodes;
45 final Command COMMAND = new Command(CommandNames.PWD, EMPTY);
47 commandHandler.handleCommand(COMMAND, session); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
AppeCommandHandler.java | 16 package org.mockftpserver.stub.command;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandHandler;
21 import org.mockftpserver.core.command.InvocationRecord;
25 * CommandHandler for the APPE (Append) command. Send back two replies on the control connection: a
30 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
46 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord) [all...] |