Class ScheduleRunTest
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.ScheduleRunTest
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ScheduleRunTest extends Object implements Serializable, Cloneable
Represents additional test settings.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduleRunTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleRunTest
addParametersEntry(String key, String value)
ScheduleRunTest
clearParametersEntries()
Removes all the entries added into Parameters.ScheduleRunTest
clone()
boolean
equals(Object obj)
String
getFilter()
The test's filter.Map<String,String>
getParameters()
The test's parameters, such as test framework parameters and fixture settings.String
getTestPackageArn()
The ARN of the uploaded test that will be run.String
getType()
The test's type.int
hashCode()
void
setFilter(String filter)
The test's filter.void
setParameters(Map<String,String> parameters)
The test's parameters, such as test framework parameters and fixture settings.void
setTestPackageArn(String testPackageArn)
The ARN of the uploaded test that will be run.void
setType(TestType type)
The test's type.void
setType(String type)
The test's type.String
toString()
Returns a string representation of this object; useful for testing and debugging.ScheduleRunTest
withFilter(String filter)
The test's filter.ScheduleRunTest
withParameters(Map<String,String> parameters)
The test's parameters, such as test framework parameters and fixture settings.ScheduleRunTest
withTestPackageArn(String testPackageArn)
The ARN of the uploaded test that will be run.ScheduleRunTest
withType(TestType type)
The test's type.ScheduleRunTest
withType(String type)
The test's type.
-
-
-
Method Detail
-
setType
public void setType(String type)
The test's type.
Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
- Parameters:
type
- The test's type.Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
-
- See Also:
TestType
-
-
getType
public String getType()
The test's type.
Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
- Returns:
- The test's type.
Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
-
- See Also:
TestType
-
-
withType
public ScheduleRunTest withType(String type)
The test's type.
Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
- Parameters:
type
- The test's type.Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestType
-
-
setType
public void setType(TestType type)
The test's type.
Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
- Parameters:
type
- The test's type.Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
-
- See Also:
TestType
-
-
withType
public ScheduleRunTest withType(TestType type)
The test's type.
Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
- Parameters:
type
- The test's type.Must be one of the following values:
-
BUILTIN_FUZZ: The built-in fuzz type.
-
BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
-
APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
-
APPIUM_PYTHON: The Appium Python type.
-
APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
-
APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
-
APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
-
CALABASH: The Calabash type.
-
INSTRUMENTATION: The Instrumentation type.
-
UIAUTOMATION: The uiautomation type.
-
UIAUTOMATOR: The uiautomator type.
-
XCTEST: The XCode test type.
-
XCTEST_UI: The XCode UI test type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TestType
-
-
setTestPackageArn
public void setTestPackageArn(String testPackageArn)
The ARN of the uploaded test that will be run.
- Parameters:
testPackageArn
- The ARN of the uploaded test that will be run.
-
getTestPackageArn
public String getTestPackageArn()
The ARN of the uploaded test that will be run.
- Returns:
- The ARN of the uploaded test that will be run.
-
withTestPackageArn
public ScheduleRunTest withTestPackageArn(String testPackageArn)
The ARN of the uploaded test that will be run.
- Parameters:
testPackageArn
- The ARN of the uploaded test that will be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFilter
public void setFilter(String filter)
The test's filter.
- Parameters:
filter
- The test's filter.
-
getFilter
public String getFilter()
The test's filter.
- Returns:
- The test's filter.
-
withFilter
public ScheduleRunTest withFilter(String filter)
The test's filter.
- Parameters:
filter
- The test's filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getParameters
public Map<String,String> getParameters()
The test's parameters, such as test framework parameters and fixture settings.
- Returns:
- The test's parameters, such as test framework parameters and fixture settings.
-
setParameters
public void setParameters(Map<String,String> parameters)
The test's parameters, such as test framework parameters and fixture settings.
- Parameters:
parameters
- The test's parameters, such as test framework parameters and fixture settings.
-
withParameters
public ScheduleRunTest withParameters(Map<String,String> parameters)
The test's parameters, such as test framework parameters and fixture settings.
- Parameters:
parameters
- The test's parameters, such as test framework parameters and fixture settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addParametersEntry
public ScheduleRunTest addParametersEntry(String key, String value)
-
clearParametersEntries
public ScheduleRunTest clearParametersEntries()
Removes all the entries added into Parameters. <p> Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduleRunTest clone()
-
-