Home | History | Annotate | Download | only in cts

Lines Matching refs:action

32         final String action = "start";
36 cp = CommandParser.parse(action + " " + option + " " + value);
38 assertEquals(action, cp.getAction());
48 final String action = "start";
55 cp = CommandParser.parse(action + " " + option1 + " " + value1
58 assertEquals(action, cp.getAction());
70 final String action = "ls";
76 CommandParser.parse(action + " " + option1 + " "
88 final String action = "ls";
92 cp = CommandParser.parse(action + " " + option1);
94 assertEquals(action, cp.getAction());
104 final String action = "ls";
106 CommandParser cp = CommandParser.parse(action + " " + actionValue);
107 assertEquals(action, cp.getAction());
117 final String action = "ls";
123 CommandParser.parse(action + " " + option1 + " " + value1 + " "
135 final String action = "ls";
141 cp = CommandParser.parse(action + " " + option1 + " " + value1
167 final String action = "exit";
169 cp = CommandParser.parse(action);
170 assertEquals(action, cp.getAction());
180 final String action = "h";
183 cp = CommandParser.parse(action + " " + actionValue);
184 assertEquals(action, cp.getAction());
198 final String action = "ls";
202 cp = CommandParser.parse(action + " " + resultOption + " "
204 assertEquals(action, cp.getAction());
215 final String action = "LS";
219 cp = CommandParser.parse(action + " " + resultOption + " "
221 assertEquals(action.toLowerCase(), cp.getAction());
228 * Test parsing command with multiple action values.
232 final String action = "h";
235 CommandParser cp = CommandParser.parse(action + " " + actionValue1 + " "
237 assertEquals(action, cp.getAction());
250 final String action = "ls";
259 cmdStr = action + " " + resultOpt + " " + sessionOpt + " " + sessionId;
261 assertEquals(action, cp.getAction());
266 cmdStr = action + " " + resultOpt + " " + sessionOptComplete + " "
269 assertEquals(action, cp.getAction());
274 cmdStr = action + " " + resultOpt + " " + resultValue + " " + sessionOptComplete + " "
277 assertEquals(action, cp.getAction());