Index
All Classes and Interfaces|All Packages
A
- always(boolean, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
Assert that
condition
is true every time this function is called, and that it is called at least once. - Always - Enum constant in enum class com.antithesis.sdk.Assert.AssertType
-
Condition must always be true
- alwaysGreaterThan(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
alwaysGreaterThan(x, y, ...)
is mostly equivalent toalways(x > y, ...)
. - alwaysGreaterThanOrEqualTo(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
alwaysGreaterThanOrEqualTo(x, y, ...)
is mostly equivalent toalways(x >= y, ...)
. - alwaysLessThan(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
alwaysLessThan(x, y, ...)
is mostly equivalent toalways(x < y, ...)
. - alwaysLessThanOrEqualTo(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
alwaysLessThanOrEqualTo(x, y, ...)
is mostly equivalent toalways(x <= y, ...)
. - alwaysOrUnreachable(boolean, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
Assert that
condition
is true every time this function is called. - alwaysSome(Map<String, Boolean>, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
alwaysSome(Map.of("a", x, "b", y, ...), ...)
is similar toalways(x || y || ..., ...)
. - Assert - Class in com.antithesis.sdk
-
The Assert class enables defining test properties about your program or workload.
- Assert() - Constructor for class com.antithesis.sdk.Assert
-
Default constructor
- Assert.AssertType - Enum Class in com.antithesis.sdk
-
Types of assertions available
- Assertion - Class in com.antithesis.sdk.internal
- Assertion() - Constructor for class com.antithesis.sdk.internal.Assertion
C
- com.antithesis.sdk - package com.antithesis.sdk
- com.antithesis.sdk.internal - package com.antithesis.sdk.internal
D
- dispatchOutput(ObjectNode) - Static method in class com.antithesis.sdk.internal.Internal
- dispatchRandom() - Static method in class com.antithesis.sdk.internal.Internal
- dispatchVersionInfo() - Static method in class com.antithesis.sdk.internal.Internal
G
- get() - Static method in class com.antithesis.sdk.internal.HandlerFactory
- getLocationInfo(String) - Static method in class com.antithesis.sdk.internal.Assertion
- getRandom() - Static method in class com.antithesis.sdk.Random
-
Returns a value chosen by Antithesis.
- Guidance - Class in com.antithesis.sdk.internal
- Guidance() - Constructor for class com.antithesis.sdk.internal.Guidance
H
- HandlerFactory - Class in com.antithesis.sdk.internal
- HandlerFactory() - Constructor for class com.antithesis.sdk.internal.HandlerFactory
I
- Internal - Class in com.antithesis.sdk.internal
- Internal() - Constructor for class com.antithesis.sdk.internal.Internal
L
- Lifecycle - Class in com.antithesis.sdk
-
The Lifecycle class contains methods which inform the Antithesis environment that particular test phases or milestones have been reached.
- Lifecycle() - Constructor for class com.antithesis.sdk.Lifecycle
-
Default constructor
- LocationInfo - Class in com.antithesis.sdk.internal
- LocationInfo() - Constructor for class com.antithesis.sdk.internal.LocationInfo
R
- Random - Class in com.antithesis.sdk
-
The Random class provides methods that request both structured and unstructured randomness from the Antithesis environment.
- Random() - Constructor for class com.antithesis.sdk.Random
-
Default constructor
- randomChoice(List<T>) - Static method in class com.antithesis.sdk.Random
-
Returns a randomly chosen item from a list of options.
- rawAssert(Assert.AssertType, String, String, String, String, int, int, String, boolean, String, ObjectNode, boolean, boolean) - Static method in class com.antithesis.sdk.Assert
-
This is a low-level method designed to be used by third-party frameworks.
- Reachability - Enum constant in enum class com.antithesis.sdk.Assert.AssertType
-
Indicates if an assertion should be encountered
- reachable(String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
Assert that a line of code is reached at least once.
S
- sendEvent(String, ObjectNode) - Static method in class com.antithesis.sdk.Lifecycle
-
Indicates to Antithesis that a certain event has been reached.
- setupComplete(ObjectNode) - Static method in class com.antithesis.sdk.Lifecycle
-
Indicates to Antithesis that setup has completed.
- sometimes(boolean, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
Assert that
condition
is true at least one time that this function was called. - Sometimes - Enum constant in enum class com.antithesis.sdk.Assert.AssertType
-
Condition must be true at least once
- sometimesAll(Map<String, Boolean>, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
sometimesAll(Map.of("a", x, "b", y, ...), ...)
is similar tosometimes(x && y && ..., ...)
. - sometimesGreaterThan(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
sometimesGreaterThan(x, y, ...)
is mostly equivalent tosometimes(x > y, ...)
. - sometimesGreaterThanOrEqualTo(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
sometimesGreaterThanOrEqualTo(x, y, ...)
is mostly equivalent tosometimes(x >= y, ...)
. - sometimesLessThan(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
sometimesLessThan(x, y, ...)
is mostly equivalent tosometimes(x < y, ...)
. - sometimesLessThanOrEqualTo(T, T, String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
sometimesLessThanOrEqualTo(x, y, ...)
is mostly equivalent tosometimes(x <= y, ...)
.
T
- trackEntry() - Method in class com.antithesis.sdk.internal.Assertion
- trackEntry() - Method in class com.antithesis.sdk.internal.Guidance
U
- unreachable(String, ObjectNode) - Static method in class com.antithesis.sdk.Assert
-
Assert that a line of code is never reached.
V
- valueOf(String) - Static method in enum class com.antithesis.sdk.Assert.AssertType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.antithesis.sdk.Assert.AssertType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages