Skip navigation links
A B C E F G I L M N O R S T W 

A

after() - Method in class org.apache.flink.testutils.executor.TestExecutorResource
 
after() - Method in class org.apache.flink.testutils.logging.TestLoggerResource
 
afterTestFailure() - Method in interface org.apache.flink.util.ExternalResource
 
afterTestSuccess() - Method in interface org.apache.flink.util.ExternalResource
 
apply(Statement, Description) - Method in class org.apache.flink.testutils.junit.RetryRule
 
apply(Statement, Description) - Method in interface org.apache.flink.util.ExternalResource
 
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.
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().
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.logging.TestLoggerResource
 
before() - Method in interface org.apache.flink.util.ExternalResource
 
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.

C

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.
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
 
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.
containsCause(Throwable) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks for a Throwable that matches by class and message.
containsMessage(String) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks for a Throwable that contains the expected error message.
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
 

E

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

FailsOnJava11 - Interface in org.apache.flink.testutils.junit
Marker interface for tests that fail on Java 11.
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.
FlinkMatchers - Class in org.apache.flink.core.testutils
Some reusable hamcrest matchers for Flink.
futureFailedWith(Class<E>) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks whether CompletableFuture completed already exceptionally with a specific exception type.
futureWillCompleteExceptionally(Class<E>, Duration) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks whether CompletableFuture will completed exceptionally within a certain time.
futureWillCompleteExceptionally(Function<Throwable, Boolean>, Duration, String) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks whether CompletableFuture will completed exceptionally within a certain time.
futureWillCompleteExceptionally(Duration) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks whether CompletableFuture will completed exceptionally within a certain time.

G

getExecutor() - Method in class org.apache.flink.testutils.executor.TestExecutorResource
 
getInternalState(Object, String) - Static method in class org.apache.flink.mock.Whitebox
 
getMessages() - Method in class org.apache.flink.testutils.logging.TestLoggerResource
 
getNonPeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
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.
getPeriodicScheduledTask() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
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.
getScheduledTasks() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
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.
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.

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
 
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.

L

loadClass(String, boolean) - Method in class org.apache.flink.core.testutils.FilteredClassLoader
 
LOG - Static variable in class org.apache.flink.testutils.junit.RetryRule
 
log - Variable in class org.apache.flink.util.TestLogger
 

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
 
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

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.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
 

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.
RetryOnException - Annotation Type in org.apache.flink.testutils.junit
Annotation to use with RetryRule.
RetryOnFailure - Annotation Type in org.apache.flink.testutils.junit
Annotation to use with RetryRule.
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
 
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
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
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
 
shutdown() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
shutdownNow() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
submit(Callable<T>) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
submit(Runnable, T) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
submit(Runnable) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
 
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

TestExecutorResource - Class in org.apache.flink.testutils.executor
Resource which starts/stops an ExecutorService for testing purposes.
TestExecutorResource(Supplier<ExecutorService>) - Constructor for class org.apache.flink.testutils.executor.TestExecutorResource
 
TestLogger - Class in org.apache.flink.util
Adds automatic test name logging.
TestLogger() - Constructor for class org.apache.flink.util.TestLogger
 
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
 
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
 
toString() - Method in class org.apache.flink.core.testutils.OneShotLatch
 
trigger() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers the next queued runnable and executes it synchronously.
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.
triggerAll() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredScheduledExecutorService
Triggers all queuedRunnables.
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
 
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.

W

waitUtil(Supplier<Boolean>, 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
 
willNotComplete(Duration) - Static method in class org.apache.flink.core.testutils.FlinkMatchers
Checks that a CompletableFuture won't complete within the given timeout.
A B C E F G I L M N O R S T W 
Skip navigation links

Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.