A B C D E F G H I J K L M N O P R S T V W Z 
All Classes All Packages

A

AbstractRetryStrategy - Class in org.apache.flink.testutils.junit.extensions.retry.strategy
Retry strategy base class.
AbstractRetryStrategy(int, boolean) - Constructor for class org.apache.flink.testutils.junit.extensions.retry.strategy.AbstractRetryStrategy
 
add(T) - Method in class org.apache.flink.testutils.junit.SharedObjects
Adds a new object to this SharedObjects.
add(T) - Method in class org.apache.flink.testutils.junit.SharedObjectsExtension
Adds a new object to this SharedObjects.
after() - Method in class org.apache.flink.testutils.executor.TestExecutorResource
 
after() - Method in class org.apache.flink.testutils.junit.SharedObjects
 
after() - Method in class org.apache.flink.testutils.logging.TestLoggerResource
 
after(ExtensionContext) - Method in interface org.apache.flink.core.testutils.CustomExtension
 
after(ExtensionContext) - Method in class org.apache.flink.core.testutils.TestContainerExtension
 
afterAll(ExtensionContext) - Method in class org.apache.flink.core.testutils.AllCallbackWrapper
 
afterAll(ExtensionContext) - Method in class org.apache.flink.testutils.executor.TestExecutorExtension
 
afterAll(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.ContextClassLoaderExtension
 
afterAll(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.retry.RetryExtension
 
afterAll(ExtensionContext) - Method in class org.apache.flink.util.LogLevelExtension
 
afterEach(ExtensionContext) - Method in class org.apache.flink.core.testutils.EachCallbackWrapper
 
afterEach(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.retry.RetryTestExecutionExtension
 
afterEach(ExtensionContext) - Method in class org.apache.flink.testutils.junit.SharedObjectsExtension
 
afterEach(ExtensionContext) - Method in class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
afterTestFailure() - Method in interface org.apache.flink.util.ExternalResource
 
afterTestSuccess() - Method in interface org.apache.flink.util.ExternalResource
 
AllCallbackWrapper<C extends CustomExtension> - Class in org.apache.flink.core.testutils
An extension wrap logic for BeforeAllCallback and AfterAllCallback.
AllCallbackWrapper(C) - Constructor for class org.apache.flink.core.testutils.AllCallbackWrapper
 
anyCauseMatches(Class<? extends Throwable>) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
Shorthand to assert the chain of causes includes a Throwable matching a specific Class.
anyCauseMatches(Class<? extends Throwable>, String) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
Shorthand to assert the chain of causes includes a Throwable matching a specific Class and containing the provided message.
anyCauseMatches(String) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
Shorthand to assert the chain of causes includes a Throwable matching a specific Class and containing the provided message.
apply(Statement, Description) - Method in class org.apache.flink.testutils.junit.RetryRule
 
apply(Statement, Description) - Method in interface org.apache.flink.util.ExternalResource
 
apply(Statement, Description) - Method in class org.apache.flink.util.TestNameProvider
 
applySync(Function<T, R>) - Method in interface org.apache.flink.testutils.junit.SharedReference
Executes the code on the referenced object in a synchronized fashion.
assertKeyPresent(String, String, LoggerAuditingExtension, List<String>, String...) - Static method in class org.apache.flink.util.JobIDLoggingUtil
Asserts that the specified key is present in the log events with the expected value.
assertKeyPresent(String, Set<String>, LoggerAuditingExtension, List<String>, String...) - Static method in class org.apache.flink.util.JobIDLoggingUtil
Asserts that the specified key is present in the log events with the expected values.
assertThatChainOfCauses(Throwable) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
Shorthand to assert chain of causes.
assertThatFuture(CompletableFuture<T>) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
Create assertion for CompletableFuture.
assertThatFuture(CompletionStage<T>) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
Create assertion for CompletionStage.
assertThrows(String, Class<? extends Exception>, Callable<?>) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Checks whether an exception with a message occurs when running a piece of code.
asSingleTestResource(String, Level) - Static method in class org.apache.flink.testutils.logging.TestLoggerResource
Enables the use of TestLoggerResource for try-with-resources statement.
assumeCredentialsAvailable() - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
 
assumeCredentialsAvailable() - Static method in class org.apache.flink.testutils.s3.S3TestCredentials
Checks whether credentials are available in the environment variables of this JVM.
await() - Method in class org.apache.flink.core.testutils.MultiShotLatch
Waits until MultiShotLatch.trigger() is called.
await() - Method in class org.apache.flink.core.testutils.OneShotLatch
Waits until OneShotLatch.trigger() is called.
await(long, TimeUnit) - Method in class org.apache.flink.core.testutils.OneShotLatch
Waits until OneShotLatch.trigger() is called.
awaitBlocker() - Method in class org.apache.flink.core.testutils.BlockerSync
Waits until the blocking thread has entered the method BlockerSync.block() or BlockerSync.blockNonInterruptible().
awaitQuietly() - Method in class org.apache.flink.core.testutils.OneShotLatch
awaitQuietly(long, TimeUnit) - Method in class org.apache.flink.core.testutils.OneShotLatch
awaitTermination(long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 

B

before() - Method in class org.apache.flink.testutils.executor.TestExecutorResource
 
before() - Method in class org.apache.flink.testutils.junit.SharedObjects
 
before() - Method in class org.apache.flink.testutils.logging.TestLoggerResource
 
before() - Method in interface org.apache.flink.util.ExternalResource
 
before(ExtensionContext) - Method in interface org.apache.flink.core.testutils.CustomExtension
 
before(ExtensionContext) - Method in class org.apache.flink.core.testutils.TestContainerExtension
 
beforeAll(ExtensionContext) - Method in class org.apache.flink.core.testutils.AllCallbackWrapper
 
beforeAll(ExtensionContext) - Method in class org.apache.flink.testutils.executor.TestExecutorExtension
 
beforeAll(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.ContextClassLoaderExtension
 
beforeAll(ExtensionContext) - Method in class org.apache.flink.util.LogLevelExtension
 
beforeEach(ExtensionContext) - Method in class org.apache.flink.core.testutils.EachCallbackWrapper
 
beforeEach(ExtensionContext) - Method in class org.apache.flink.testutils.junit.SharedObjectsExtension
 
beforeEach(ExtensionContext) - Method in class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
beforeEach(ExtensionContext) - Method in class org.apache.flink.util.TestLoggerExtension
 
block() - Method in class org.apache.flink.core.testutils.BlockerSync
Blocks until BlockerSync.releaseBlocker() is called or this thread is interrupted.
BlockerSync - Class in org.apache.flink.core.testutils
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.
BlockerSync() - Constructor for class org.apache.flink.core.testutils.BlockerSync
 
blockForeverNonInterruptibly() - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Permanently blocks the current thread.
blockNonInterruptible() - Method in class org.apache.flink.core.testutils.BlockerSync
Blocks until BlockerSync.releaseBlocker() is called.
build() - Method in class org.apache.flink.testutils.junit.extensions.ContextClassLoaderExtension.ContextClassLoaderExtensionBuilder
 
builder() - Static method in class org.apache.flink.testutils.junit.extensions.ContextClassLoaderExtension
 

C

call() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService.RunnableCaller
 
cancel(boolean) - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
cancel(boolean) - Method in class org.apache.flink.core.testutils.ScheduledTask
 
chainOfCauses(Throwable) - Static method in class org.apache.flink.core.testutils.FlinkAssertions
You can use this method in combination with AbstractAssert.extracting(Function, AssertFactory) to perform assertions on a chain of causes.
CheckedThread - Class in org.apache.flink.core.testutils
A thread that additionally catches exceptions and offers a joining method that re-throws the exceptions.
CheckedThread() - Constructor for class org.apache.flink.core.testutils.CheckedThread
Unnamed checked thread.
CheckedThread(String) - Constructor for class org.apache.flink.core.testutils.CheckedThread
Checked thread with a name.
close() - Method in class org.apache.flink.testutils.logging.TestLoggerResource.SingleTestResource
 
command - Variable in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService.RunnableCaller
 
CommonTestUtils - Class in org.apache.flink.core.testutils
This class contains reusable utility methods for unit tests.
CommonTestUtils() - Constructor for class org.apache.flink.core.testutils.CommonTestUtils
 
compareTo(Delayed) - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
compareTo(Delayed) - Method in class org.apache.flink.core.testutils.ScheduledTask
 
CompletedScheduledFuture<T> - Class in org.apache.flink.core.testutils
Completed ScheduledFuture implementation.
consumeSync(Consumer<T>) - Method in interface org.apache.flink.testutils.junit.SharedReference
Executes the code on the referenced object in a synchronized fashion.
containsCause(Throwable, Class<? extends Throwable>) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Checks whether the given throwable contains the given cause as a cause.
ContextClassLoaderExtension - Class in org.apache.flink.testutils.junit.extensions
JUnit extension to customize the classloader that a test is run with.
ContextClassLoaderExtension.ContextClassLoaderExtensionBuilder - Class in org.apache.flink.testutils.junit.extensions
create() - Static method in class org.apache.flink.testutils.junit.SharedObjects
Creates a new instance.
create() - Static method in class org.apache.flink.testutils.junit.SharedObjectsExtension
Creates a new instance.
create(T) - Static method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
createCopySerializable(T) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Creates a copy of an object via Java Serialization.
createTempFile(String) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Creates a temporary file that contains the given string.
credentialsAvailable() - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
 
CustomExtension - Interface in org.apache.flink.core.testutils
An extension that is invoked before/after all/each tests, depending on whether it is wrapped in a EachCallbackWrapper or AllCallbackWrapper.

D

DockerImageVersions - Class in org.apache.flink.util
Utility class for defining the image names and versions of Docker containers used during the Java tests.
DockerImageVersions() - Constructor for class org.apache.flink.util.DockerImageVersions
 

E

EachCallbackWrapper<C extends CustomExtension> - Class in org.apache.flink.core.testutils
An extension wrap logic for BeforeEachCallback and AfterEachCallback.
EachCallbackWrapper(C) - Constructor for class org.apache.flink.core.testutils.EachCallbackWrapper
 
equals(Object) - Method in class org.apache.flink.testutils.junit.SharedObjects
 
equals(Object) - Method in class org.apache.flink.testutils.junit.SharedObjectsExtension
 
evaluateExecutionCondition(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.retry.RetryTestExecutionExtension
 
eventuallyFails() - Method in class org.apache.flink.core.testutils.FlinkCompletableFutureAssert
An equivalent of AbstractCompletableFutureAssert.failsWithin(Duration), that doesn't rely on timeouts.
eventuallyFailsWith(Class<E>) - Method in class org.apache.flink.core.testutils.FlinkCompletableFutureAssert
An equivalent of AbstractCompletableFutureAssert.failsWithin(Duration), that doesn't rely on timeouts.
eventuallySucceeds() - Method in class org.apache.flink.core.testutils.FlinkCompletableFutureAssert
An equivalent of AbstractCompletableFutureAssert.succeedsWithin(Duration), that doesn't rely on timeouts.
exception() - Method in annotation type org.apache.flink.testutils.junit.RetryOnException
 
execute() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
execute(Runnable) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
ExternalResource - Interface in org.apache.flink.util
Modified version of the jUnit ExternalResource.

F

FailsInGHAContainerWithRootUser - Interface in org.apache.flink.testutils.junit
Collects tests that fail in GitHub Actions workflows that execute the tests in containers as a root user.
FailsOnJava11 - Interface in org.apache.flink.testutils.junit
Marker interface for tests that fail on Java 11.
FailsOnJava17 - Interface in org.apache.flink.testutils.junit
Marker interface for tests that fail on Java 17.
FailsWithAdaptiveScheduler - Interface in org.apache.flink.testutils.junit
Marker for explicitly ignoring a test which fails with adaptive scheduler.
FilteredClassLoader - Class in org.apache.flink.core.testutils
A ClassLoader that filters out certain classes (by name) and throws a ClassNotFoundException when they should be loaded.
FilteredClassLoader(ClassLoader, String...) - Constructor for class org.apache.flink.core.testutils.FilteredClassLoader
Creates a new filtered classloader.
FlinkAssertions - Class in org.apache.flink.core.testutils
Some reusable assertions and utilities for AssertJ.
FlinkCompletableFutureAssert<T> - Class in org.apache.flink.core.testutils
Enhanced version of CompletableFutureAssert, that allows asserting futures without relying on timeouts.
FlinkCompletableFutureAssert.WithThrowable - Class in org.apache.flink.core.testutils
A strongly typed alternative to WithThrowable.

G

get() - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
get() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
get() - Method in interface org.apache.flink.testutils.junit.SharedReference
Returns the referenced object without giving any visibility guarantees.
get(long, TimeUnit) - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
get(long, TimeUnit) - Method in class org.apache.flink.core.testutils.ScheduledTask
 
getActiveNonPeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
getActivePeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
getActiveScheduledTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
getAllNonPeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
getAllPeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
getAllScheduledTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
getCallable() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
getCurrentTestName() - Static method in class org.apache.flink.util.TestNameProvider
 
getCustomExtension() - Method in class org.apache.flink.core.testutils.AllCallbackWrapper
 
getCustomExtension() - Method in class org.apache.flink.core.testutils.EachCallbackWrapper
 
getDelay(TimeUnit) - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
getDelay(TimeUnit) - Method in class org.apache.flink.core.testutils.ScheduledTask
 
getEvents() - Method in class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
getExecutor() - Method in class org.apache.flink.testutils.executor.TestExecutorExtension
 
getExecutor() - Method in class org.apache.flink.testutils.executor.TestExecutorResource
 
getInternalState(Object, String) - Static method in class org.apache.flink.mock.Whitebox
 
getLoggerName() - Method in class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
getMessages() - Method in class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
getMessages() - Method in class org.apache.flink.testutils.logging.TestLoggerResource
 
getMessages() - Method in class org.apache.flink.testutils.logging.TestLoggerResource.SingleTestResource
 
getOSSAccessKey() - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
Get OSS access key.
getOSSEndpoint() - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
Get OSS endpoint used to connect.
getOSSSecretKey() - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
Get OSS secret key.
getPeriod() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
getS3AccessKey() - Static method in class org.apache.flink.testutils.s3.S3TestCredentials
Gets the S3 Access Key.
getS3SecretKey() - Static method in class org.apache.flink.testutils.s3.S3TestCredentials
Gets the S3 Secret Key.
getTestBucketUri() - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
 
getTestBucketUri() - Static method in class org.apache.flink.testutils.s3.S3TestCredentials
Gets the URI for the path under which all tests should put their data.
getTestBucketUriWithScheme(String) - Static method in class org.apache.flink.testutils.oss.OSSTestCredentials
 
getTestBucketUriWithScheme(String) - Static method in class org.apache.flink.testutils.s3.S3TestCredentials
Gets the URI for the path under which all tests should put their data.
getTestContainer() - Method in class org.apache.flink.core.testutils.TestContainerExtension
 
getWaitersCount() - Method in class org.apache.flink.core.testutils.OneShotLatch
 
go() - Method in class org.apache.flink.core.testutils.CheckedThread
This method needs to be overwritten to contain the main work logic.

H

handleException(String, int, Throwable) - Method in class org.apache.flink.testutils.junit.extensions.retry.strategy.RetryOnExceptionStrategy
 
handleException(String, int, Throwable) - Method in class org.apache.flink.testutils.junit.extensions.retry.strategy.RetryOnFailureStrategy
 
handleException(String, int, Throwable) - Method in interface org.apache.flink.testutils.junit.extensions.retry.strategy.RetryStrategy
Handle an exception that occurred during the annotated test attempt.
handleTestExecutionException(ExtensionContext, Throwable) - Method in class org.apache.flink.testutils.junit.extensions.retry.RetryTestExecutionExtension
 
hashCode() - Method in class org.apache.flink.testutils.junit.SharedObjects
 
hashCode() - Method in class org.apache.flink.testutils.junit.SharedObjectsExtension
 
hasNextAttempt - Variable in class org.apache.flink.testutils.junit.extensions.retry.strategy.AbstractRetryStrategy
 
hasNextAttempt() - Method in class org.apache.flink.testutils.junit.extensions.retry.strategy.AbstractRetryStrategy
 
hasNextAttempt() - Method in interface org.apache.flink.testutils.junit.extensions.retry.strategy.RetryStrategy
Return the next attempt should execute or not.
HIVE2 - Static variable in class org.apache.flink.util.DockerImageVersions
 
HIVE3 - Static variable in class org.apache.flink.util.DockerImageVersions
 

I

invokeAll(Collection<? extends Callable<T>>) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
isCancelled() - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
isCancelled() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
isDone() - Method in class org.apache.flink.core.testutils.CompletedScheduledFuture
 
isDone() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
isPeriodic() - Method in class org.apache.flink.core.testutils.ScheduledTask
 
isShutdown() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
isTerminated() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
isTriggered() - Method in class org.apache.flink.core.testutils.MultiShotLatch
Checks if the latch was triggered.
isTriggered() - Method in class org.apache.flink.core.testutils.OneShotLatch
Checks if the latch was triggered.

J

JobIDLoggingUtil - Class in org.apache.flink.util
Utility class for verifying the presence and correctness of a specific key-value pair in the logging context of log events.
JobIDLoggingUtil() - Constructor for class org.apache.flink.util.JobIDLoggingUtil
 

K

KAFKA - Static variable in class org.apache.flink.util.DockerImageVersions
 
KINESALITE - Static variable in class org.apache.flink.util.DockerImageVersions
 

L

loadClass(String, boolean) - Method in class org.apache.flink.core.testutils.FilteredClassLoader
 
LOCALSTACK - Static variable in class org.apache.flink.util.DockerImageVersions
 
log - Variable in class org.apache.flink.util.TestLogger
 
LOG - Static variable in class org.apache.flink.testutils.junit.RetryRule
 
LoggerAuditingExtension - Class in org.apache.flink.testutils.logging
Utility for auditing logged messages.
LoggerAuditingExtension(Class<?>, Level) - Constructor for class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
LoggerAuditingExtension(String, Level) - Constructor for class org.apache.flink.testutils.logging.LoggerAuditingExtension
 
LOGGING_ENABLED - Static variable in class org.apache.flink.util.LogLevelExtension
 
LogLevelExtension - Class in org.apache.flink.util
A extension that sets the log level for specific class/package loggers for a test.
LogLevelExtension() - Constructor for class org.apache.flink.util.LogLevelExtension
 

M

ManuallyTriggeredScheduledExecutorService - Class in org.apache.flink.core.testutils
Simple ScheduledExecutorService implementation for testing purposes.
ManuallyTriggeredScheduledExecutorService() - Constructor for class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
ManuallyTriggeredScheduledExecutorService.RunnableCaller<T> - Class in org.apache.flink.core.testutils
A Callable that wraps a Runnable.
MINIO - Static variable in class org.apache.flink.util.DockerImageVersions
 
MultiShotLatch - Class in org.apache.flink.core.testutils
Latch for synchronizing parts of code in tests.
MultiShotLatch() - Constructor for class org.apache.flink.core.testutils.MultiShotLatch
 

N

name() - Method in annotation type org.apache.flink.testutils.junit.extensions.parameterized.Parameters
 
nameProvider - Variable in class org.apache.flink.util.TestLogger
 
newFile(Path) - Static method in class org.apache.flink.testutils.junit.utils.TempDirUtils
 
newFile(Path, String) - Static method in class org.apache.flink.testutils.junit.utils.TempDirUtils
 
newFolder(Path) - Static method in class org.apache.flink.testutils.junit.utils.TempDirUtils
 
newFolder(Path, String...) - Static method in class org.apache.flink.testutils.junit.utils.TempDirUtils
 
NoOpTestExtension - Class in org.apache.flink.testutils.junit.extensions.parameterized
A special TestTemplateInvocationContextProvider that return default TestTemplateInvocationContext.
NoOpTestExtension() - Constructor for class org.apache.flink.testutils.junit.extensions.parameterized.NoOpTestExtension
 
numQueuedRunnables() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Gets the number of Runnables currently queued.

O

OneShotLatch - Class in org.apache.flink.core.testutils
Latch for synchronizing parts of code in tests.
OneShotLatch() - Constructor for class org.apache.flink.core.testutils.OneShotLatch
 
org.apache.flink.core.testutils - package org.apache.flink.core.testutils
 
org.apache.flink.mock - package org.apache.flink.mock
 
org.apache.flink.testutils.executor - package org.apache.flink.testutils.executor
 
org.apache.flink.testutils.junit - package org.apache.flink.testutils.junit
 
org.apache.flink.testutils.junit.extensions - package org.apache.flink.testutils.junit.extensions
 
org.apache.flink.testutils.junit.extensions.parameterized - package org.apache.flink.testutils.junit.extensions.parameterized
 
org.apache.flink.testutils.junit.extensions.retry - package org.apache.flink.testutils.junit.extensions.retry
 
org.apache.flink.testutils.junit.extensions.retry.strategy - package org.apache.flink.testutils.junit.extensions.retry.strategy
 
org.apache.flink.testutils.junit.utils - package org.apache.flink.testutils.junit.utils
 
org.apache.flink.testutils.logging - package org.apache.flink.testutils.logging
 
org.apache.flink.testutils.oss - package org.apache.flink.testutils.oss
 
org.apache.flink.testutils.s3 - package org.apache.flink.testutils.s3
 
org.apache.flink.util - package org.apache.flink.util
 
OSSTestCredentials - Class in org.apache.flink.testutils.oss
Access to credentials to access OSS buckets during integration tests.
OSSTestCredentials() - Constructor for class org.apache.flink.testutils.oss.OSSTestCredentials
 

P

Parameter - Annotation Type in org.apache.flink.testutils.junit.extensions.parameterized
The annotation is used to replace Parameterized.Parameter for Junit 5 parameterized tests.
ParameterizedTestExtension - Class in org.apache.flink.testutils.junit.extensions.parameterized
This extension is used to implement parameterized tests for Junit 5 to replace Parameterized in Junit4.
ParameterizedTestExtension() - Constructor for class org.apache.flink.testutils.junit.extensions.parameterized.ParameterizedTestExtension
 
Parameters - Annotation Type in org.apache.flink.testutils.junit.extensions.parameterized
The annotation is used to replace Parameterized.Parameters(Junit4) for Junit 5 parameterized tests.
provideTestTemplateInvocationContexts(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.parameterized.NoOpTestExtension
 
provideTestTemplateInvocationContexts(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.parameterized.ParameterizedTestExtension
 
provideTestTemplateInvocationContexts(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.retry.RetryExtension
 

R

register() - Static method in class org.apache.flink.util.TestSignalHandler
Register some signal handlers.
releaseBlocker() - Method in class org.apache.flink.core.testutils.BlockerSync
Lets the blocked thread continue.
reset() - Method in class org.apache.flink.core.testutils.OneShotLatch
Resets the latch so that OneShotLatch.isTriggered() returns false.
RetryExtension - Class in org.apache.flink.testutils.junit.extensions.retry
An extension to let failed test retry.
RetryExtension() - Constructor for class org.apache.flink.testutils.junit.extensions.retry.RetryExtension
 
RetryOnException - Annotation Type in org.apache.flink.testutils.junit
Annotation to use with RetryRule.
RetryOnExceptionStrategy - Class in org.apache.flink.testutils.junit.extensions.retry.strategy
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.
RetryOnExceptionStrategy(int, Class<? extends Throwable>) - Constructor for class org.apache.flink.testutils.junit.extensions.retry.strategy.RetryOnExceptionStrategy
 
RetryOnFailure - Annotation Type in org.apache.flink.testutils.junit
Annotation to use with RetryRule.
RetryOnFailureStrategy - Class in org.apache.flink.testutils.junit.extensions.retry.strategy
Retry strategy that retry fixed times.
RetryOnFailureStrategy(int) - Constructor for class org.apache.flink.testutils.junit.extensions.retry.strategy.RetryOnFailureStrategy
 
RetryRule - Class in org.apache.flink.testutils.junit
A rule to retry failed tests for a fixed number of times.
RetryRule() - Constructor for class org.apache.flink.testutils.junit.RetryRule
 
RetryStrategy - Interface in org.apache.flink.testutils.junit.extensions.retry.strategy
Retry strategy for executing retry tests.
RetryTestExecutionExtension - Class in org.apache.flink.testutils.junit.extensions.retry
Extension to decide whether a retry test should run.
RetryTestExecutionExtension(int, int) - Constructor for class org.apache.flink.testutils.junit.extensions.retry.RetryTestExecutionExtension
 
run() - Method in class org.apache.flink.core.testutils.CheckedThread
This method is final - thread work should go into the CheckedThread.go() method instead.

S

S3TestCredentials - Class in org.apache.flink.testutils.s3
Access to credentials to access S3 buckets during integration tests.
S3TestCredentials() - Constructor for class org.apache.flink.testutils.s3.S3TestCredentials
 
schedule(Runnable, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
ScheduledTask<T> - Class in org.apache.flink.core.testutils
ScheduledTask represents a task which is executed at a later point in time.
ScheduledTask(Callable<T>, long) - Constructor for class org.apache.flink.core.testutils.ScheduledTask
 
ScheduledTask(Callable<T>, long, long) - Constructor for class org.apache.flink.core.testutils.ScheduledTask
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
SCHEMA_REGISTRY - Static variable in class org.apache.flink.util.DockerImageVersions
 
set(Class<?>, Level) - Method in class org.apache.flink.util.LogLevelExtension
 
set(Package, Level) - Method in class org.apache.flink.util.LogLevelExtension
 
set(String, Level) - Method in class org.apache.flink.util.LogLevelExtension
 
setEnv(Map<String, String>) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
 
setEnv(Map<String, String>, boolean) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
 
setInternalState(Object, String, Object) - Static method in class org.apache.flink.mock.Whitebox
 
SharedObjects - Class in org.apache.flink.testutils.junit
This rule allows objects to be used both in the main test case as well as in UDFs by using serializable SharedReferences.
SharedObjectsExtension - Class in org.apache.flink.testutils.junit
This rule allows objects to be used both in the main test case as well as in UDFs by using serializable SharedReferences.
SharedReference<T> - Interface in org.apache.flink.testutils.junit
Represents an object managed in a SharedObjects.
shutdown() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
shutdownNow() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
stopFollowingAttempts() - Method in class org.apache.flink.testutils.junit.extensions.retry.strategy.AbstractRetryStrategy
 
stopFollowingAttempts() - Method in interface org.apache.flink.testutils.junit.extensions.retry.strategy.RetryStrategy
Stop the following attempts when test succeed or failed.
STREAM_THROWABLE - Static variable in class org.apache.flink.core.testutils.FlinkAssertions
 
submit(Runnable) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
submit(Runnable, T) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
submit(Callable<T>) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
supportsTestTemplate(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.parameterized.NoOpTestExtension
 
supportsTestTemplate(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.parameterized.ParameterizedTestExtension
 
supportsTestTemplate(ExtensionContext) - Method in class org.apache.flink.testutils.junit.extensions.retry.RetryExtension
 
sync() - Method in class org.apache.flink.core.testutils.CheckedThread
Waits until the thread is completed and checks whether any error occurred during the execution.
sync(long) - Method in class org.apache.flink.core.testutils.CheckedThread
Waits with timeout until the thread is completed and checks whether any error occurred during the execution.

T

TempDirUtils - Class in org.apache.flink.testutils.junit.utils
The utils contains some methods same as org.junit.rules.TemporaryFolder in Junit4.
TempDirUtils() - Constructor for class org.apache.flink.testutils.junit.utils.TempDirUtils
 
TestContainerExtension<T extends org.testcontainers.containers.GenericContainer<T>> - Class in org.apache.flink.core.testutils
TestContainerExtension provides common functionality for TestContainer implementations.
TestContainerExtension(Supplier<T>) - Constructor for class org.apache.flink.core.testutils.TestContainerExtension
 
TestExecutorExtension<T extends ExecutorService> - Class in org.apache.flink.testutils.executor
Extension which starts/stops an ExecutorService for testing purposes.
TestExecutorExtension(Supplier<T>) - Constructor for class org.apache.flink.testutils.executor.TestExecutorExtension
 
TestExecutorResource<T extends ExecutorService> - Class in org.apache.flink.testutils.executor
Resource which starts/stops an ExecutorService for testing purposes.
TestExecutorResource(Supplier<T>) - Constructor for class org.apache.flink.testutils.executor.TestExecutorResource
 
testFailed(ExtensionContext, Throwable) - Method in class org.apache.flink.util.TestLoggerExtension
 
TestLogger - Class in org.apache.flink.util
Adds automatic test name logging.
TestLogger() - Constructor for class org.apache.flink.util.TestLogger
 
TestLoggerExtension - Class in org.apache.flink.util
A JUnit-5-style test logger.
TestLoggerExtension() - Constructor for class org.apache.flink.util.TestLoggerExtension
 
TestLoggerResource - Class in org.apache.flink.testutils.logging
Utility for auditing logged messages.
TestLoggerResource(Class<?>, Level) - Constructor for class org.apache.flink.testutils.logging.TestLoggerResource
 
TestLoggerResource.SingleTestResource - Class in org.apache.flink.testutils.logging
SingleTestResource re-uses the code in TestLoggerResource for try-with-resources statement.
TestNameProvider - Class in org.apache.flink.util
A rule that provides the current test name per thread.
TestNameProvider() - Constructor for class org.apache.flink.util.TestNameProvider
 
TestSignalHandler - Class in org.apache.flink.util
This signal handler / signal logger is based on Apache Hadoop's org.apache.hadoop.util.SignalLogger.
TestSignalHandler() - Constructor for class org.apache.flink.util.TestSignalHandler
 
testSuccessful(ExtensionContext) - Method in class org.apache.flink.util.TestLoggerExtension
 
times() - Method in annotation type org.apache.flink.testutils.junit.RetryOnException
 
times() - Method in annotation type org.apache.flink.testutils.junit.RetryOnFailure
 
toString() - Method in class org.apache.flink.core.testutils.OneShotLatch
 
totalTimes - Variable in class org.apache.flink.testutils.junit.extensions.retry.strategy.AbstractRetryStrategy
 
trigger() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers the next task that was submitted for execution.
trigger() - Method in class org.apache.flink.core.testutils.MultiShotLatch
Fires the latch.
trigger() - Method in class org.apache.flink.core.testutils.OneShotLatch
Fires the latch.
trigger(Duration) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers the next task that was submitted for execution.
triggerAll() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers all queuedRunnables.
triggerAllNonPeriodicTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Executes all runnable and scheduled non-periodic tasks until none are left to run.
triggerNonPeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers a single non-periodically scheduled task.
triggerNonPeriodicScheduledTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
triggerNonPeriodicScheduledTasks(Class<?>) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
triggerNonPeriodicScheduledTasksWithRecursion() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers all non-periodically scheduled tasks.
triggerPeriodicScheduledTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
triggerScheduledTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers all registered tasks.
trySync(long) - Method in class org.apache.flink.core.testutils.CheckedThread
Waits with timeout until the thread is completed and checks whether any error occurred during the execution.

V

value() - Method in annotation type org.apache.flink.testutils.junit.extensions.parameterized.Parameter
 

W

waitUntilIgnoringExceptions(Supplier<Boolean>, Duration, Duration, String) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Wait until the given condition is met or timeout, ignoring any exceptions thrown by the condition.
waitUtil(Supplier<Boolean>, Duration, String) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Wait util the given condition is met or timeout.
waitUtil(Supplier<Boolean>, Duration, Duration, String) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Wait util the given condition is met or timeout.
watchman - Variable in class org.apache.flink.util.TestLogger
 
Whitebox - Class in org.apache.flink.mock
Copied from mockito.
Whitebox() - Constructor for class org.apache.flink.mock.Whitebox
 
willNotCompleteWithin(Duration) - Method in class org.apache.flink.core.testutils.FlinkCompletableFutureAssert
Assert that CompletableFuture will not complete within a fixed duration.
withCauseOfType(Class<T>) - Method in class org.apache.flink.core.testutils.FlinkCompletableFutureAssert.WithThrowable
Checks that the underlying throwable has cause of the given type and returns a ThrowableAssertAlternative to chain further assertions on the underlying throwable.
withServiceEntry(Class<?>, String...) - Method in class org.apache.flink.testutils.junit.extensions.ContextClassLoaderExtension.ContextClassLoaderExtensionBuilder
 
withThrowableOfType(Class<T>) - Method in class org.apache.flink.core.testutils.FlinkCompletableFutureAssert.WithThrowable
Checks that the underlying throwable is of the given type and returns a ThrowableAssertAlternative to chain further assertions on the underlying throwable.

Z

ZOOKEEPER - Static variable in class org.apache.flink.util.DockerImageVersions
 
A B C D E F G H I J K L M N O P R S T V W Z 
All Classes All Packages