| Package | Description |
|---|---|
| net.openhft.chronicle.testframework |
This package contains the public API for the chronicle-test-framework library.
|
| Modifier and Type | Method and Description |
|---|---|
static <X extends Throwable> |
FlakyTestRunner.builder(@NotNull FlakyTestRunner.RunnableThrows<X> action)
Creates and returns a new Builder for the provided
action that might throw checked Exceptions. |
static FlakyTestRunner.Builder<RuntimeException> |
FlakyTestRunner.builderUnchecked(@NotNull Runnable action)
Creates and returns a new Builder for the provided
action that might throw un-checked Exceptions only. |
FlakyTestRunner.Builder<X> |
FlakyTestRunner.Builder.withErrorLogger(Consumer<? super String> errorLogger)
Sets the error logger to use for messages.
|
FlakyTestRunner.Builder<X> |
FlakyTestRunner.Builder.withFlakyOnThisArchitecture(boolean flakyOnThisArchitecture)
Sets if the runner is flaky on this architecture.
|
FlakyTestRunner.Builder<X> |
FlakyTestRunner.Builder.withInfoLogger(Consumer<? super String> infoLogger)
Sets the info logger to use for messages.
|
FlakyTestRunner.Builder<X> |
FlakyTestRunner.Builder.withInterIterationGc(boolean interIterationGc)
Sets if a garbage collect should be requested between each iterations.
|
FlakyTestRunner.Builder<X> |
FlakyTestRunner.Builder.withIterationDelay(long delayMs)
Sets the delay between each iteration in ms.
|
FlakyTestRunner.Builder<X> |
FlakyTestRunner.Builder.withMaxIterations(int maxIterations)
Sets the maximum number of iteration before the runner fails.
|
Copyright © 2023. All rights reserved.