Lines Matching defs:command
20 void AssertIsAbleToInitialize(ImplicitWaitCommand* const command) {
22 EXPECT_TRUE(command->Init(&response));
28 ImplicitWaitCommand* const command) {
30 command->ExecutePost(&response);
44 ImplicitWaitCommand* const command) {
46 command->ExecutePost(&response);
65 new base::DictionaryValue; // Owned by |command|.
66 ImplicitWaitCommand command(path_segments, parameters);
68 AssertIsAbleToInitialize(&command);
70 AssertError(kBadRequest, "Request missing ms parameter", &command);
73 AssertError(kBadRequest, "ms parameter is not a number", &command);
76 AssertError(kBadRequest, "ms parameter is not a number", &command);
79 AssertError(kBadRequest, "Timeout must be non-negative", &command);
82 AssertError(kBadRequest, "Timeout must be non-negative", &command);
85 AssertTimeoutSet(test_session, 1, &command);
87 AssertTimeoutSet(test_session, 2, &command);
89 AssertTimeoutSet(test_session, 0, &command);