Lines Matching refs:cmdLine
37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine) in TestCommandFnExec() argument
39 cmd->Init(cmdLine); in TestCommandFnExec()
79 std::string cmdLine = std::string("erase 2,0,1"); variable
80 CommandResult ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
82 cmdLine = "free 2,0,1";
83 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
86 cmdLine = "move ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7 2,3,4 1 2,1,2";
88 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
90 cmdLine = R"(bsdiff 0 132 ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb4
95 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
97 cmdLine = "abort";
98 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
100 cmdLine = "new 2,0,1";
101 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
103 cmdLine = "stash ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7 2,2,3";
104 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
106 cmdLine = "ppop";
107 cmd->Init(cmdLine);