Class TestTableItem.Builder
- Enclosing class:
- TestTableItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TestTableItembuild()Clears the value of exceptionIfMldev field.Clears the value of exceptionIfVertex field.Clears the value of hasUnion field.Clears the value of ignoreKeys field.Clears the value of name field.Clears the value of overrideReplayId field.Clears the value of parameters field.Clears the value of skipInApiMode field.abstract TestTableItem.BuilderexceptionIfMldev(String exceptionIfMldev) Setter for exceptionIfMldev.abstract TestTableItem.BuilderexceptionIfVertex(String exceptionIfVertex) Setter for exceptionIfVertex.abstract TestTableItem.BuilderhasUnion(boolean hasUnion) Setter for hasUnion.ignoreKeys(String... ignoreKeys) Setter for ignoreKeys.abstract TestTableItem.BuilderignoreKeys(List<String> ignoreKeys) Setter for ignoreKeys.abstract TestTableItem.BuilderSetter for name.abstract TestTableItem.BuilderoverrideReplayId(String overrideReplayId) Setter for overrideReplayId.abstract TestTableItem.Builderparameters(Map<String, Object> parameters) Setter for parameters.abstract TestTableItem.BuilderskipInApiMode(String skipInApiMode) Setter for skipInApiMode.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Setter for name.name: The name of the test. This is used to derive the replay id.
-
clearName
Clears the value of name field. -
parameters
Setter for parameters.parameters: The parameters to the test. Use pydantic models.
-
clearParameters
Clears the value of parameters field. -
exceptionIfMldev
Setter for exceptionIfMldev.exceptionIfMldev: Expects an exception for MLDev matching the string.
-
clearExceptionIfMldev
Clears the value of exceptionIfMldev field. -
exceptionIfVertex
Setter for exceptionIfVertex.exceptionIfVertex: Expects an exception for Vertex matching the string.
-
clearExceptionIfVertex
Clears the value of exceptionIfVertex field. -
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
Clears the value of overrideReplayId field. -
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
Clears the value of hasUnion field. -
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
Clears the value of skipInApiMode field. -
ignoreKeys
Setter for ignoreKeys.ignoreKeys: Keys to ignore when comparing the request and response. This is useful for tests that are not deterministic.
-
ignoreKeys
Setter for ignoreKeys.ignoreKeys: Keys to ignore when comparing the request and response. This is useful for tests that are not deterministic.
-
clearIgnoreKeys
Clears the value of ignoreKeys field. -
build
-