public static interface Test.Builder extends SdkPojo, CopyableBuilder<Test.Builder,Test>
| Modifier and Type | Method and Description |
|---|---|
Test.Builder |
arn(String arn)
The test's ARN.
|
default Test.Builder |
counters(Consumer<Counters.Builder> counters)
The test's result counters.
|
Test.Builder |
counters(Counters counters)
The test's result counters.
|
Test.Builder |
created(Instant created)
When the test was created.
|
default Test.Builder |
deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test.
|
Test.Builder |
deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test.
|
Test.Builder |
message(String message)
A message about the test's result.
|
Test.Builder |
name(String name)
The test's name.
|
Test.Builder |
result(ExecutionResult result)
The test's result.
|
Test.Builder |
result(String result)
The test's result.
|
Test.Builder |
started(Instant started)
The test's start time.
|
Test.Builder |
status(ExecutionStatus status)
The test's status.
|
Test.Builder |
status(String status)
The test's status.
|
Test.Builder |
stopped(Instant stopped)
The test's stop time.
|
Test.Builder |
type(String type)
The test's type.
|
Test.Builder |
type(TestType type)
The test's type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTest.Builder arn(String arn)
The test's ARN.
arn - The test's ARN.Test.Builder name(String name)
The test's name.
name - The test's name.Test.Builder type(String type)
The test's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
type - The test's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
TestType,
TestTypeTest.Builder type(TestType type)
The test's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
type - The test's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
TestType,
TestTypeTest.Builder created(Instant created)
When the test was created.
created - When the test was created.Test.Builder status(String status)
The test's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status - The test's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus,
ExecutionStatusTest.Builder status(ExecutionStatus status)
The test's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
status - The test's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
PREPARING
RUNNING
COMPLETED
STOPPING
ExecutionStatus,
ExecutionStatusTest.Builder result(String result)
The test's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The test's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult,
ExecutionResultTest.Builder result(ExecutionResult result)
The test's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
result - The test's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
ExecutionResult,
ExecutionResultTest.Builder started(Instant started)
The test's start time.
started - The test's start time.Test.Builder stopped(Instant stopped)
The test's stop time.
stopped - The test's stop time.Test.Builder counters(Counters counters)
The test's result counters.
counters - The test's result counters.default Test.Builder counters(Consumer<Counters.Builder> counters)
The test's result counters.
This is a convenience that creates an instance of theCounters.Builder avoiding the need to create
one manually via Counters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to counters(Counters).counters - a consumer that will call methods on Counters.Buildercounters(Counters)Test.Builder message(String message)
A message about the test's result.
message - A message about the test's result.Test.Builder deviceMinutes(DeviceMinutes deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test.
deviceMinutes - Represents the total (metered or unmetered) minutes used by the test.default Test.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)
Represents the total (metered or unmetered) minutes used by the test.
This is a convenience that creates an instance of theDeviceMinutes.Builder avoiding the need to
create one manually via DeviceMinutes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to deviceMinutes(DeviceMinutes).deviceMinutes - a consumer that will call methods on DeviceMinutes.BuilderdeviceMinutes(DeviceMinutes)Copyright © 2020. All rights reserved.