The class for describing the actions that user specified in preference file
| 21 | |
| 22 | /// The class for describing the actions that user specified in preference file |
| 23 | class CustomAction : public Action { |
| 24 | public: |
| 25 | OperatePtr toOperate() const override; |
| 26 | |
| 27 | CustomAction(); |
| 28 | |
| 29 | explicit CustomAction(ActionType act); |
| 30 | |
| 31 | XpathPtr xpath; |
| 32 | std::string resourceID; |
| 33 | std::string contentDescription; |
| 34 | std::string text; |
| 35 | std::string classname; |
| 36 | std::string activity; |
| 37 | std::string command; |
| 38 | std::vector<float> bounds; |
| 39 | bool allowFuzzing{true}; |
| 40 | bool clearText{}; |
| 41 | int throttle{}; |
| 42 | int waitTime{}; |
| 43 | bool adbInput{}; |
| 44 | |
| 45 | ~CustomAction() override = default; |
| 46 | }; |
| 47 | |
| 48 | typedef std::shared_ptr<CustomAction> CustomActionPtr; |
| 49 | typedef std::vector<CustomActionPtr> CustomActionPtrVec; |
nothing calls this directly
no outgoing calls
no test coverage detected