net.openhft.chronicle.testframework package provides a collection of utility classes and enums
for various common programming tasks, such as handling closeable resources, generating combinations and permutations,
building delegator instances, managing executor services, handling flaky tests, interacting with garbage collection,
providing network-related functionalities, generating series of numbers, and thread-related functionalities.See: Description
| Interface | Description |
|---|---|
| Delegation.Builder<T,D> |
Interface for building a delegation object.
|
| FlakyTestRunner.Builder<X extends Throwable> |
Defines the interface for constructing and configuring a flaky test runner.
|
| FlakyTestRunner.RunnableThrows<T extends Throwable> |
A functional interface representing a runnable action that might throw a specific exception.
|
| Product.HasFirst<T> |
An interface representing an object that has a first component.
|
| Product.HasSecond<U> |
An interface representing an object that has a second component.
|
| Product.HasThird<V> |
Interface representing an object that has a third component of type
V. |
| Product.Product2<T,U> |
A Product2 is a composite object comprising two components.
|
| Product.Product3<T,U,V> |
A Product3 is a composite object comprising three components.
|
| Product.TriFunction<T,U,V,R> |
Function interface representing a function that accepts three arguments and produces a result.
|
| Class | Description |
|---|---|
| Combination |
Utility class that provides functionality to generate all possible combinations
of a given set of elements.
|
| Delegation |
Utility class to build delegator instances that forward method invocations
to a specified delegate object.
|
| FlakyTestRunner |
Provides a runner for handling flaky tests, allowing configuration of various options like
retry count, delay between iterations, and logging.
|
| Permutation |
General Permutation support from
http://minborgsjavapot.blogspot.com/2015/07/java-8-master-permutations.html
|
| Product | |
| Series |
This class provides utility methods to generate series of numbers,
such as powers of two, powers of two and adjacent values, Fibonacci series, and prime numbers.
|
| Waiters |
A utility class providing methods to create wait conditions.
|
| Waiters.WaiterBuilder<T> |
| Enum | Description |
|---|---|
| CloseableUtil |
Utility class to handle closing of
Closeable or AutoCloseable resources. |
| ExecutorServiceUtil |
Utility class providing methods to shut down an
ExecutorService
and wait for its termination, with or without forcibly interrupting running tasks. |
| GcControls |
Provides utility methods for interacting with garbage collection (GC) within the JVM.
|
| NetworkUtil |
Utility class to provide network-related functionalities.
|
| ThreadUtil |
Utility class for thread-related functionalities.
|
| Exception | Description |
|---|---|
| Waiters.ConditionNotMetException |
An exception class that is thrown when a condition is not met within the specified time.
|
net.openhft.chronicle.testframework package provides a collection of utility classes and enums
for various common programming tasks, such as handling closeable resources, generating combinations and permutations,
building delegator instances, managing executor services, handling flaky tests, interacting with garbage collection,
providing network-related functionalities, generating series of numbers, and thread-related functionalities.
This package includes:
CloseableUtil for handling closeable resources.Combination for generating all possible combinations of elements.Delegation for building delegator instances.ExecutorServiceUtil for managing executor services.FlakyTestRunner for handling flaky tests.GcControls for interacting with garbage collection.NetworkUtil for providing network-related functionalities.Permutation for general permutation support.Product for representing a product of elements.Series for generating series of numbers.ThreadUtil for thread-related functionalities.Waiters for waiting for specific conditions to be met.Copyright © 2023. All rights reserved.