Class Suite
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a collection of one or more tests.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The suite's ARN.The suite's result counters.When the suite was created.Represents the total (metered or unmetered) minutes used by the test suite.A message about the suite's result.getName()
The suite's name.The suite's result.The suite's start time.The suite's status.The suite's stop time.getType()
The suite's type.int
hashCode()
void
The suite's ARN.void
setCounters
(Counters counters) The suite's result counters.void
setCreated
(Date created) When the suite was created.void
setDeviceMinutes
(DeviceMinutes deviceMinutes) Represents the total (metered or unmetered) minutes used by the test suite.void
setMessage
(String message) A message about the suite's result.void
The suite's name.void
setResult
(ExecutionResult result) The suite's result.void
The suite's result.void
setStarted
(Date started) The suite's start time.void
setStatus
(ExecutionStatus status) The suite's status.void
The suite's status.void
setStopped
(Date stopped) The suite's stop time.void
The suite's type.void
The suite's type.toString()
Returns a string representation of this object; useful for testing and debugging.The suite's ARN.withCounters
(Counters counters) The suite's result counters.withCreated
(Date created) When the suite was created.withDeviceMinutes
(DeviceMinutes deviceMinutes) Represents the total (metered or unmetered) minutes used by the test suite.withMessage
(String message) A message about the suite's result.The suite's name.withResult
(ExecutionResult result) The suite's result.withResult
(String result) The suite's result.withStarted
(Date started) The suite's start time.withStatus
(ExecutionStatus status) The suite's status.withStatus
(String status) The suite's status.withStopped
(Date stopped) The suite's stop time.The suite's type.The suite's type.
-
Constructor Details
-
Suite
public Suite()
-
-
Method Details
-
setArn
The suite's ARN.
- Parameters:
arn
- The suite's ARN.
-
getArn
The suite's ARN.
- Returns:
- The suite's ARN.
-
withArn
The suite's ARN.
- Parameters:
arn
- The suite's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The suite's name.
- Parameters:
name
- The suite's name.
-
getName
The suite's name.
- Returns:
- The suite's name.
-
withName
The suite's name.
- Parameters:
name
- The suite's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
The suite'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 suite'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:
-
-
getType
The suite'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 suite'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:
-
-
withType
The suite'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 suite'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:
-
-
setType
The suite'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 suite'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:
-
-
withType
The suite'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 suite'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:
-
-
setCreated
When the suite was created.
- Parameters:
created
- When the suite was created.
-
getCreated
When the suite was created.
- Returns:
- When the suite was created.
-
withCreated
When the suite was created.
- Parameters:
created
- When the suite was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The suite's status.
Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
- Parameters:
status
- The suite's status.Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
-
- See Also:
-
-
getStatus
The suite's status.
Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
- Returns:
- The suite's status.
Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
-
- See Also:
-
-
withStatus
The suite's status.
Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
- Parameters:
status
- The suite's status.Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setStatus
The suite's status.
Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
- Parameters:
status
- The suite's status.Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
-
- See Also:
-
-
withStatus
The suite's status.
Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
- Parameters:
status
- The suite's status.Allowed values include:
-
PENDING: A pending status.
-
PENDING_CONCURRENCY: A pending concurrency status.
-
PENDING_DEVICE: A pending device status.
-
PROCESSING: A processing status.
-
SCHEDULING: A scheduling status.
-
PREPARING: A preparing status.
-
RUNNING: A running status.
-
COMPLETED: A completed status.
-
STOPPING: A stopping status.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setResult
The suite's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The suite's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- See Also:
-
-
getResult
The suite's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Returns:
- The suite's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- See Also:
-
-
withResult
The suite's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The suite's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setResult
The suite's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The suite's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- See Also:
-
-
withResult
The suite's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The suite's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setStarted
The suite's start time.
- Parameters:
started
- The suite's start time.
-
getStarted
The suite's start time.
- Returns:
- The suite's start time.
-
withStarted
The suite's start time.
- Parameters:
started
- The suite's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopped
The suite's stop time.
- Parameters:
stopped
- The suite's stop time.
-
getStopped
The suite's stop time.
- Returns:
- The suite's stop time.
-
withStopped
The suite's stop time.
- Parameters:
stopped
- The suite's stop time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCounters
The suite's result counters.
- Parameters:
counters
- The suite's result counters.
-
getCounters
The suite's result counters.
- Returns:
- The suite's result counters.
-
withCounters
The suite's result counters.
- Parameters:
counters
- The suite's result counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
A message about the suite's result.
- Parameters:
message
- A message about the suite's result.
-
getMessage
A message about the suite's result.
- Returns:
- A message about the suite's result.
-
withMessage
A message about the suite's result.
- Parameters:
message
- A message about the suite's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeviceMinutes
Represents the total (metered or unmetered) minutes used by the test suite.
- Parameters:
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test suite.
-
getDeviceMinutes
Represents the total (metered or unmetered) minutes used by the test suite.
- Returns:
- Represents the total (metered or unmetered) minutes used by the test suite.
-
withDeviceMinutes
Represents the total (metered or unmetered) minutes used by the test suite.
- Parameters:
deviceMinutes
- Represents the total (metered or unmetered) minutes used by the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-