Home
last modified time | relevance | path

Searched refs:JsonConfigConstants (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/
DValidateUiElement.java20 import android.platform.spectatio.constants.JsonConfigConstants;
45 JsonConfigConstants.CLICKABLE,
46 JsonConfigConstants.SCROLLABLE,
47 JsonConfigConstants.TEXT,
48 JsonConfigConstants.TEXT_CONTAINS,
49 JsonConfigConstants.DESCRIPTION,
50 JsonConfigConstants.CLASS,
51 JsonConfigConstants.HAS_ANCESTOR,
52 JsonConfigConstants.HAS_DESCENDANT,
53 JsonConfigConstants.MULTIPLE,
[all …]
DValidateScrollConfig.java21 import android.platform.spectatio.constants.JsonConfigConstants;
22 import android.platform.spectatio.constants.JsonConfigConstants.ScrollActions;
23 import android.platform.spectatio.constants.JsonConfigConstants.ScrollDirection;
49 JsonConfigConstants.SCROLL_ACTION,
50 JsonConfigConstants.SCROLL_DIRECTION,
51 JsonConfigConstants.SCROLL_FORWARD,
52 JsonConfigConstants.SCROLL_BACKWARD,
53 JsonConfigConstants.SCROLL_ELEMENT,
54 JsonConfigConstants.SCROLL_MARGIN,
55 JsonConfigConstants.SCROLL_WAIT_TIME);
[all …]
DValidateWorkflowTask.java23 import android.platform.spectatio.constants.JsonConfigConstants;
24 import android.platform.spectatio.constants.JsonConfigConstants.SupportedWorkFlowTasks;
49 JsonConfigConstants.NAME,
50 JsonConfigConstants.WORKFLOW_TYPE,
51 JsonConfigConstants.CONFIG,
52 JsonConfigConstants.REPEAT_COUNT,
53 JsonConfigConstants.SCROLL_CONFIG,
54 JsonConfigConstants.SWIPE_CONFIG);
66 JsonConfigConstants.NAME, jsonObject, /*isOptional= */ false); in deserialize()
70 JsonConfigConstants.WORKFLOW_TYPE, jsonObject, /*isOptional= */ false); in deserialize()
[all …]
DValidateWorkflowTaskConfig.java21 import android.platform.spectatio.constants.JsonConfigConstants;
43 Set.of(JsonConfigConstants.CONFIG_TEXT, JsonConfigConstants.CONFIG_UI_ELEMENT);
53 String textValue = validateAndGetTextValue(JsonConfigConstants.CONFIG_TEXT, jsonObject); in deserialize()
57 JsonConfigConstants.CONFIG_UI_ELEMENT, jsonObject, context); in deserialize()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DUiElement.java19 import android.platform.spectatio.constants.JsonConfigConstants;
82 mType = JsonConfigConstants.MULTIPLE; in UiElement()
89 case JsonConfigConstants.HAS_DESCENDANT: in UiElement()
92 case JsonConfigConstants.HAS_ANCESTOR: in UiElement()
119 case JsonConfigConstants.RESOURCE_ID: in getBySelectorForUiElement()
124 case JsonConfigConstants.CLICKABLE: in getBySelectorForUiElement()
126 case JsonConfigConstants.SCROLLABLE: in getBySelectorForUiElement()
128 case JsonConfigConstants.TEXT: in getBySelectorForUiElement()
130 case JsonConfigConstants.TEXT_CONTAINS: in getBySelectorForUiElement()
132 case JsonConfigConstants.DESCRIPTION: in getBySelectorForUiElement()
[all …]
DSpectatioConfig.java19 import android.platform.spectatio.constants.JsonConfigConstants;
118 return getValueFromConfig(mActions, actionName, JsonConfigConstants.ACTIONS); in getActionFromConfig()
122 return getValueFromConfig(mCommands, commandName, JsonConfigConstants.COMMANDS); in getCommandFromConfig()
126 return getValueFromConfig(mPackages, packageName, JsonConfigConstants.PACKAGES); in getPackageFromConfig()
131 return getValueFromConfig(mUiElements, uiElementName, JsonConfigConstants.UI_ELEMENTS); in getUiElementFromConfig()
135 return getValueFromConfig(mWorkflows, workflowName, JsonConfigConstants.WORKFLOWS); in getWorkflowFromConfig()
DWorkflowTask.java19 import android.platform.spectatio.constants.JsonConfigConstants.FindType;
20 import android.platform.spectatio.constants.JsonConfigConstants.ScrollActions;
21 import android.platform.spectatio.constants.JsonConfigConstants.ScrollDirection;
22 import android.platform.spectatio.constants.JsonConfigConstants.SupportedWorkFlowTasks;
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/constants/
DJsonConfigConstants.java19 public class JsonConfigConstants { class