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

A

apply(Statement, Description) - Method in class org.apache.flink.testutils.junit.RetryRule
 
assumeJava8() - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Checks whether this code runs in a Java 8 (Java 1.8) 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.

B

blockForeverNonInterruptibly() - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Permanently blocks the current thread.

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.
createClassNotInClassPath(ClassLoader) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Creates a new class that is not part of the classpath that the current JVM uses.
createCopySerializable(T) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Creates a copy of an object via Java Serialization.
createObjectForClassNotInClassPath(ClassLoader) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Creates a new class that is not part of the classpath that the current JVM uses, and instantiates it.
createTempFile(String) - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Creates a temporary file that contains the given string.

E

execute(Runnable) - Method in class org.apache.flink.core.testutils.ManuallyTriggeredDirectExecutor
 

G

getTempDir() - Static method in class org.apache.flink.core.testutils.CommonTestUtils
Reads the path to the directory for temporary files from the configuration and returns it.
go() - Method in class org.apache.flink.core.testutils.CheckedThread
This method needs to be overwritten to contain the main work logic.

I

isTriggered() - Method in class org.apache.flink.core.testutils.OneShotLatch
Checks if the latch was triggered.

L

LOG - Static variable in class org.apache.flink.testutils.junit.RetryRule
 
log - Variable in class org.apache.flink.util.TestLogger
 

M

ManuallyTriggeredDirectExecutor - Class in org.apache.flink.core.testutils
An executor that does not immediately execute a Runnable, but only executes it upon an explicit trigger.
ManuallyTriggeredDirectExecutor() - Constructor for class org.apache.flink.core.testutils.ManuallyTriggeredDirectExecutor
 
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.ManuallyTriggeredDirectExecutor
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.testutils.junit - package org.apache.flink.testutils.junit
 
org.apache.flink.util - package org.apache.flink.util
 

R

reset() - Method in class org.apache.flink.core.testutils.OneShotLatch
resets the latch to triggered = 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

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

T

TestLogger - Class in org.apache.flink.util
Adds automatic test name logging.
TestLogger() - Constructor for class org.apache.flink.util.TestLogger
 
toString() - Method in class org.apache.flink.core.testutils.OneShotLatch
 
trigger() - Method in class org.apache.flink.core.testutils.ManuallyTriggeredDirectExecutor
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.

W

watchman - Variable in class org.apache.flink.util.TestLogger
 
A B C E G I L M N O R S T W 
Skip navigation links

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