Lines Matching refs:cmd
37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine)
39 cmd->Init(cmdLine);
40 CommandFunction* cf = CommandFunctionFactory::GetInstance().GetCommandFunction(cmd->GetCommandHead());
41 CommandResult ret = cf->Execute(const_cast<Command &>(*cmd.get()));
66 std::shared_ptr<Command> cmd = std::make_shared<Command>(transferParams.get());
77 cmd->SetFileDescriptor(fd);
79 CommandResult ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
82 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
87 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
94 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
97 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
100 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
103 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
106 cmd->Init(cmdLine);
107 CommandFunction* cf = CommandFunctionFactory::GetInstance().GetCommandFunction(cmd->GetCommandHead());