public final class FlakyTestRunner extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FlakyTestRunner.Builder<X extends Throwable> |
static interface |
FlakyTestRunner.RunnableThrows<T extends Throwable> |
| Modifier and Type | Method and Description |
|---|---|
static <X extends Throwable> |
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> |
builderUnchecked(@NotNull Runnable action)
Creates and returns a new Builder for the provided
action that might throw un-checked Exceptions only. |
public static <X extends Throwable> FlakyTestRunner.Builder<X> builder(@NotNull @NotNull FlakyTestRunner.RunnableThrows<X> action)
action that might throw checked Exceptions.X - exception typeaction - to performpublic static FlakyTestRunner.Builder<RuntimeException> builderUnchecked(@NotNull @NotNull Runnable action)
action that might throw un-checked Exceptions only.action - to performCopyright © 2023. All rights reserved.