Lines Matching defs:cmdLine
37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine)
39 cmd->Init(cmdLine);
78 std::string cmdLine = std::string("erase 2,0,1");
79 CommandResult ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
81 cmdLine = "free 2,0,1";
82 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
85 cmdLine = "move ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7 2,3,4 1 2,1,2";
87 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
89 cmdLine = R"(bsdiff 0 132 ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb4
94 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
96 cmdLine = "abort";
97 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
99 cmdLine = "new 2,0,1";
100 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
102 cmdLine = "stash ad7facb2586fc6e966c004d7d1d16b024f5805ff7cb47c7a85dabd8b48892ca7 2,2,3";
103 ret = CommandFunctionUnitTest::TestCommandFnExec(cmd, cmdLine);
105 cmdLine = "ppop";
106 cmd->Init(cmdLine);