All Classes
-
All Classes Interface Summary Class Summary Annotation Types Summary Class Description AbstractRetryStrategy Retry strategy base class.AllCallbackWrapper<C extends CustomExtension> An extension wrap logic forBeforeAllCallbackandAfterAllCallback.BlockerSync A utility to help synchronize two threads in cases where one of them is supposed to reach a blocking state before the other may continue.CheckedThread A thread that additionally catches exceptions and offers a joining method that re-throws the exceptions.CommonTestUtils This class contains reusable utility methods for unit tests.CompletedScheduledFuture<T> CompletedScheduledFutureimplementation.ContextClassLoaderExtension JUnit extension to customize the classloader that a test is run with.ContextClassLoaderExtension.ContextClassLoaderExtensionBuilder Builder forContextClassLoaderExtension.CustomExtension An extension that is invoked before/after all/each tests, depending on whether it is wrapped in aEachCallbackWrapperorAllCallbackWrapper.DockerImageVersions Utility class for defining the image names and versions of Docker containers used during the Java tests.EachCallbackWrapper<C extends CustomExtension> An extension wrap logic forBeforeEachCallbackandAfterEachCallback.ExternalResource Modified version of the jUnitExternalResource.FailsInGHAContainerWithRootUser Collects tests that fail in GitHub Actions workflows that execute the tests in containers as a root user.FailsOnJava11 Marker interface for tests that fail on Java 11.FailsOnJava17 Marker interface for tests that fail on Java 17.FailsWithAdaptiveScheduler Marker for explicitly ignoring a test which fails with adaptive scheduler.FilteredClassLoader A ClassLoader that filters out certain classes (by name) and throws a ClassNotFoundException when they should be loaded.FlinkAssertions Some reusable assertions and utilities for AssertJ.FlinkCompletableFutureAssert<T> Enhanced version ofCompletableFutureAssert, that allows asserting futures without relying on timeouts.FlinkCompletableFutureAssert.WithThrowable A strongly typed alternative toWithThrowable.LoggerAuditingExtension Utility for auditing logged messages.LogLevelExtension A extension that sets the log level for specific class/package loggers for a test.ManuallyTriggeredScheduledExecutorService SimpleScheduledExecutorServiceimplementation for testing purposes.ManuallyTriggeredScheduledExecutorService.RunnableCaller<T> MultiShotLatch Latch for synchronizing parts of code in tests.NoOpTestExtension A specialTestTemplateInvocationContextProviderthat return defaultTestTemplateInvocationContext.OneShotLatch Latch for synchronizing parts of code in tests.OSSTestCredentials Access to credentials to access OSS buckets during integration tests.Parameter The annotation is used to replaceParameterized.Parameterfor Junit 5 parameterized tests.ParameterizedTestExtension This extension is used to implement parameterized tests for Junit 5 to replace Parameterized in Junit4.Parameters The annotation is used to replace Parameterized.Parameters(Junit4) for Junit 5 parameterized tests.RetryExtension An extension to let failed test retry.RetryOnException Annotation to use withRetryRule.RetryOnExceptionStrategy A retry strategy that will ignore a specific type of exception and retry a test if it occurs, up to a fixed number of times.RetryOnFailure Annotation to use withRetryRule.RetryOnFailureStrategy Retry strategy that retry fixed times.RetryRule A rule to retry failed tests for a fixed number of times.RetryStrategy Retry strategy for executing retry tests.RetryTestExecutionExtension Extension to decide whether a retry test should run.S3TestCredentials Access to credentials to access S3 buckets during integration tests.ScheduledTask<T> ScheduledTask represents a task which is executed at a later point in time.SharedObjects This rule allows objects to be used both in the main test case as well as in UDFs by using serializableSharedReferences.SharedObjectsExtension This rule allows objects to be used both in the main test case as well as in UDFs by using serializableSharedReferences.SharedReference<T> Represents an object managed in aSharedObjects.TempDirUtils The utils contains some methods same as org.junit.rules.TemporaryFolder in Junit4.TestContainerExtension<T extends org.testcontainers.containers.GenericContainer<T>> TestContainerExtensionprovides common functionality forTestContainerimplementations.TestExecutorExtension<T extends ExecutorService> Extension which starts/stops anExecutorServicefor testing purposes.TestExecutorResource<T extends ExecutorService> Resource which starts/stops anExecutorServicefor testing purposes.TestLogger Adds automatic test name logging.TestLoggerExtension A JUnit-5-style test logger.TestLoggerResource Utility for auditing logged messages.TestLoggerResource.SingleTestResource SingleTestResource re-uses the code inTestLoggerResourcefor try-with-resources statement.TestNameProvider A rule that provides the current test name per thread.TestSignalHandler This signal handler / signal logger is based on Apache Hadoop's org.apache.hadoop.util.SignalLogger.Whitebox Copied from mockito.