Searched refs:action (Results 1 - 8 of 8) sorted by relevance
| /ide/tools/previewer/test/fuzztest/commandparse_fuzzer/ |
| H A D | LiteCommandParseFuzzer.cpp | 42 "abilityName":"hello","message":"{ action:'GET_WEATHER',city:'HangZhou' }"})"},
|
| H A D | RichCommandParseFuzzer.cpp | 49 {"PointEvent", R"({"x":365,"y":1071,"duration":"","button":-1,"action": 3,"axisValues":[0,0,0,0],
|
| /ide/tools/previewer/test/unittest/mock/ |
| H A D | MouseInputImplTest.cpp | 52 int action = 1; in TEST() local 53 MouseInputImpl::GetInstance().SetMouseAction(action); in TEST() 54 EXPECT_EQ(MouseInputImpl::GetInstance().pointAction, action); in TEST()
|
| /ide/tools/previewer/mock/rich/ |
| H A D | KeyInputImpl.cpp | 45 keyEvent->action = KeyAction(keyAction); in DispatchOsKeyEvent()
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineInterfaceTest.cpp | 169 std::string msg = R"({"type" : "action", "command" : "MousePress", "version" : "1.0.1"})"; in TEST() 204 msg = R"({"type" : "action", "command" : "MousePress"})"; in TEST() 207 msg = R"({"type" : "action", "command" : "MousePress", "version" : "s.0.1"})"; in TEST() 210 msg = R"({"type" : "action", "command" : "MousePress", "version" : "1.0.1"})"; in TEST() 221 EXPECT_EQ(instance.GetCommandType("action"), CommandLine::CommandType::ACTION); in TEST() 327 std::string msg = R"({"type":"action","command":"MousePress"})"; in TEST()
|
| H A D | CommandLineTest.cpp | 613 std::string msg1 = R"({"x":365,"y":"aaa","duration":"","button":1,"action": 2,"axisValues":[0,0,0,0], in TEST_F() 620 // action error in TEST_F() 622 args1.Replace("action", "2"); in TEST_F() 628 args1.Replace("action", 2); in TEST_F() 647 std::string msg1 = R"({"x":2000,"y":1071,"duration":"","button":1,"action": 2,"axisValues":[0,0,0,0], in TEST_F() 669 msg1 = R"({"x" : 300, "y" : 1071, "duration" : "", "button" : 1, "action" : 2, in TEST_F() 677 msg1 = R"({"x" : 300, "y" : 1071, "duration" : "", "button" : 1, "action" : 2, in TEST_F() 689 std::string msg1 = R"({"x":365,"y":1071,"duration":"","button":1,"action": 2,"axisValues":[0,0,0,0], in TEST_F() 1301 "abilityName":"hello","message":"{ action:'GET_WEATHER',city:'HangZhou' }"})"; in TEST_F() 1321 "abilityName" : "hello", "message" : "{ action in TEST_F() [all...] |
| /ide/tools/previewer/cli/ |
| H A D | CommandLine.cpp | 173 MouseInputImpl::GetInstance().SetMouseAction(params.action); in SetEventParams() 186 params.action, params.sourceType, params.sourceTool, params.pressedBtnsVec.size(), params.axisVec.size(), in SetEventParams() 223 param.action = MouseInputImpl::GetInstance().defaultAction; in RunAction() 286 param.action = MouseInputImpl::GetInstance().defaultAction; in RunAction() 326 param.action = MouseInputImpl::GetInstance().defaultAction; in RunAction() 1403 if (!args.IsMember("button") || !args.IsMember("action") || in IsArgsExist() 1404 !args["button"].IsInt() || !args["action"].IsInt()) { in IsArgsExist() 1422 int32_t action = args["action"].AsInt(); in IsArgsValid() local 1433 if (button < -1 || action < in IsArgsValid() [all...] |
| H A D | CommandLine.h | 97 int action; member
|
Completed in 9 milliseconds