Class TestTableItem.Builder
-
- All Implemented Interfaces:
public abstract class TestTableItem.BuilderBuilder for TestTableItem.
-
-
Constructor Summary
Constructors Constructor Description TestTableItem.Builder()
-
Method Summary
Modifier and Type Method Description abstract TestTableItem.Buildername(String name)Setter for name. TestTableItem.BuilderclearName()Clears the value of name field. abstract TestTableItem.Builderparameters(Map<String, Object> parameters)Setter for parameters. TestTableItem.BuilderclearParameters()Clears the value of parameters field. abstract TestTableItem.BuilderexceptionIfMldev(String exceptionIfMldev)Setter for exceptionIfMldev. TestTableItem.BuilderclearExceptionIfMldev()Clears the value of exceptionIfMldev field. abstract TestTableItem.BuilderexceptionIfVertex(String exceptionIfVertex)Setter for exceptionIfVertex. TestTableItem.BuilderclearExceptionIfVertex()Clears the value of exceptionIfVertex field. abstract TestTableItem.BuilderoverrideReplayId(String overrideReplayId)Setter for overrideReplayId. TestTableItem.BuilderclearOverrideReplayId()Clears the value of overrideReplayId field. abstract TestTableItem.BuilderhasUnion(boolean hasUnion)Setter for hasUnion. TestTableItem.BuilderclearHasUnion()Clears the value of hasUnion field. abstract TestTableItem.BuilderskipInApiMode(String skipInApiMode)Setter for skipInApiMode. TestTableItem.BuilderclearSkipInApiMode()Clears the value of skipInApiMode field. abstract TestTableItem.BuilderignoreKeys(List<String> ignoreKeys)Setter for ignoreKeys. TestTableItem.BuilderignoreKeys(Array<String> ignoreKeys)Setter for ignoreKeys. TestTableItem.BuilderclearIgnoreKeys()Clears the value of ignoreKeys field. abstract TestTableItembuild()-
-
Method Detail
-
name
abstract TestTableItem.Builder name(String name)
Setter for name.
name: The name of the test. This is used to derive the replay id.
-
clearName
@CanIgnoreReturnValue() TestTableItem.Builder clearName()
Clears the value of name field.
-
parameters
abstract TestTableItem.Builder parameters(Map<String, Object> parameters)
Setter for parameters.
parameters: The parameters to the test. Use pydantic models.
-
clearParameters
@CanIgnoreReturnValue() TestTableItem.Builder clearParameters()
Clears the value of parameters field.
-
exceptionIfMldev
abstract TestTableItem.Builder exceptionIfMldev(String exceptionIfMldev)
Setter for exceptionIfMldev.
exceptionIfMldev: Expects an exception for MLDev matching the string.
-
clearExceptionIfMldev
@CanIgnoreReturnValue() TestTableItem.Builder clearExceptionIfMldev()
Clears the value of exceptionIfMldev field.
-
exceptionIfVertex
abstract TestTableItem.Builder exceptionIfVertex(String exceptionIfVertex)
Setter for exceptionIfVertex.
exceptionIfVertex: Expects an exception for Vertex matching the string.
-
clearExceptionIfVertex
@CanIgnoreReturnValue() TestTableItem.Builder clearExceptionIfVertex()
Clears the value of exceptionIfVertex field.
-
overrideReplayId
abstract TestTableItem.Builder overrideReplayId(String overrideReplayId)
Setter for overrideReplayId.
overrideReplayId: Use if you don't want to use the default replay id which is derived from the test name.
-
clearOverrideReplayId
@CanIgnoreReturnValue() TestTableItem.Builder clearOverrideReplayId()
Clears the value of overrideReplayId field.
-
hasUnion
abstract TestTableItem.Builder hasUnion(boolean hasUnion)
Setter for hasUnion.
hasUnion: True if the parameters contain an unsupported union type. This test will be skipped for languages that do not support the union type.
-
clearHasUnion
@CanIgnoreReturnValue() TestTableItem.Builder clearHasUnion()
Clears the value of hasUnion field.
-
skipInApiMode
abstract TestTableItem.Builder skipInApiMode(String skipInApiMode)
Setter for skipInApiMode.
skipInApiMode: When set to a reason string, this test will be skipped in the API mode. Use this flag for tests that can not be reproduced with the real API. E.g. a test that deletes a resource.
-
clearSkipInApiMode
@CanIgnoreReturnValue() TestTableItem.Builder clearSkipInApiMode()
Clears the value of skipInApiMode field.
-
ignoreKeys
abstract TestTableItem.Builder ignoreKeys(List<String> ignoreKeys)
Setter for ignoreKeys.
ignoreKeys: Keys to ignore when comparing the request and response. This is useful for tests that are not deterministic.
-
ignoreKeys
@CanIgnoreReturnValue() TestTableItem.Builder ignoreKeys(Array<String> ignoreKeys)
Setter for ignoreKeys.
ignoreKeys: Keys to ignore when comparing the request and response. This is useful for tests that are not deterministic.
-
clearIgnoreKeys
@CanIgnoreReturnValue() TestTableItem.Builder clearIgnoreKeys()
Clears the value of ignoreKeys field.
-
build
abstract TestTableItem build()
-
-
-
-