Index
All Classes and Interfaces|All Packages
A
- afterInvocation(IInvokedMethod, ITestResult) - Method in class org.apache.pulsar.tests.FailFastNotifier
- AnnotationListener - Class in org.apache.pulsar.tests
- AnnotationListener() - Constructor for class org.apache.pulsar.tests.AnnotationListener
B
- beforeInvocation(IInvokedMethod, ITestResult) - Method in class org.apache.pulsar.tests.FailFastNotifier
- buildHeapHistogram() - Static method in class org.apache.pulsar.tests.HeapHistogramUtil
- buildThreadDiagnosticString() - Static method in class org.apache.pulsar.tests.ThreadDumpUtil
C
- cleanup() - Method in class org.apache.pulsar.tests.MockitoThreadLocalStateCleaner
- cleanup() - Method in class org.apache.pulsar.tests.TestRetrySupport
-
Cleans up the state of the environment.
- cleanupAllFastThreadLocals(Thread, BiConsumer<Thread, Object>) - Method in class org.apache.pulsar.tests.FastThreadLocalStateCleaner
- cleanupAllFastThreadLocals(BiConsumer<Thread, Object>) - Method in class org.apache.pulsar.tests.FastThreadLocalStateCleaner
- cleanupThreadLocal(ThreadLocal<?>, Thread, BiConsumer<Thread, T>) - Method in class org.apache.pulsar.tests.ThreadLocalStateCleaner
- cleanupThreadLocal(ThreadLocal<?>, BiConsumer<Thread, T>) - Method in class org.apache.pulsar.tests.ThreadLocalStateCleaner
D
- dump(boolean) - Method in interface org.apache.pulsar.tests.JacocoDumpListener.JacocoProxy
- dumpHeap(File, boolean) - Static method in class org.apache.pulsar.tests.HeapDumpUtil
-
Dump the heap of the JVM.
E
- EnumValuesDataProvider - Class in org.apache.pulsar.tests
-
TestNG DataProvider for passing all Enum values as parameters to a test method.
- EnumValuesDataProvider() - Constructor for class org.apache.pulsar.tests.EnumValuesDataProvider
F
- FailFastNotifier - Class in org.apache.pulsar.tests
-
Notifies TestNG core skipping remaining tests after first failure has appeared.
- FailFastNotifier() - Constructor for class org.apache.pulsar.tests.FailFastNotifier
- failureCheck(ITestResult, Method) - Method in class org.apache.pulsar.tests.TestRetrySupport
- FastThreadLocalCleanupListener - Class in org.apache.pulsar.tests
-
Cleanup Thread Local state attach to Netty's FastThreadLocal.
- FastThreadLocalCleanupListener() - Constructor for class org.apache.pulsar.tests.FastThreadLocalCleanupListener
- FastThreadLocalStateCleaner - Class in org.apache.pulsar.tests
-
Cleanup Thread Local state attach to Netty's FastThreadLocal.
- FastThreadLocalStateCleaner(Predicate<Object>) - Constructor for class org.apache.pulsar.tests.FastThreadLocalStateCleaner
G
- getThreadLocalValue(ThreadLocal<?>, Thread) - Method in class org.apache.pulsar.tests.ThreadLocalStateCleaner
H
- HeapDumpUtil - Class in org.apache.pulsar.tests
- HeapDumpUtil() - Constructor for class org.apache.pulsar.tests.HeapDumpUtil
- HeapHistogramUtil - Class in org.apache.pulsar.tests
- HeapHistogramUtil() - Constructor for class org.apache.pulsar.tests.HeapHistogramUtil
I
- incrementSetupNumber() - Method in class org.apache.pulsar.tests.TestRetrySupport
-
This method should be called in the setup method of the concrete class.
- INSTANCE - Static variable in class org.apache.pulsar.tests.MockitoThreadLocalStateCleaner
- INSTANCE - Static variable in class org.apache.pulsar.tests.ThreadLocalStateCleaner
- isEnabled() - Static method in class org.apache.pulsar.tests.FastThreadLocalStateCleaner
- isEnabled() - Method in class org.apache.pulsar.tests.MockitoThreadLocalStateCleaner
J
- JacocoDumpListener - Class in org.apache.pulsar.tests
-
A TestNG listener that dumps Jacoco coverage data to file using the Jacoco JMX interface.
- JacocoDumpListener() - Constructor for class org.apache.pulsar.tests.JacocoDumpListener
- JacocoDumpListener.JacocoProxy - Interface in org.apache.pulsar.tests
M
- markCurrentSetupNumberCleaned() - Method in class org.apache.pulsar.tests.TestRetrySupport
-
This method should be called in the cleanup method of the concrete class.
- MockitoCleanupListener - Class in org.apache.pulsar.tests
-
Cleanup Mockito's Thread Local state that leaks memory Mockito.reset method should be called at the end of a test in the same thread where the methods were mocked/stubbed.
- MockitoCleanupListener() - Constructor for class org.apache.pulsar.tests.MockitoCleanupListener
- MockitoThreadLocalStateCleaner - Class in org.apache.pulsar.tests
-
Cleanup Mockito's Thread Local state.
O
- onBeforeClass(ITestClass) - Method in class org.apache.pulsar.tests.FastThreadLocalCleanupListener
- onBetweenTestClasses(Class<?>, Class<?>) - Method in class org.apache.pulsar.tests.FastThreadLocalCleanupListener
- onBetweenTestClasses(Class<?>, Class<?>) - Method in class org.apache.pulsar.tests.MockitoCleanupListener
- onBetweenTestClasses(Class<?>, Class<?>) - Method in class org.apache.pulsar.tests.SingletonCleanerListener
- onBetweenTestClasses(Class<?>, Class<?>) - Method in class org.apache.pulsar.tests.ThreadLeakDetectorListener
- onExecutionFinish() - Method in class org.apache.pulsar.tests.JacocoDumpListener
- onFinish(ISuite) - Method in class org.apache.pulsar.tests.JacocoDumpListener
- onFinish(ITestContext) - Method in class org.apache.pulsar.tests.FastThreadLocalCleanupListener
- onFinish(ITestContext) - Method in class org.apache.pulsar.tests.PulsarTestListener
- onStart(ITestContext) - Method in class org.apache.pulsar.tests.PulsarTestListener
- onTestFailedButWithinSuccessPercentage(ITestResult) - Method in class org.apache.pulsar.tests.PulsarTestListener
- onTestFailure(ITestResult) - Method in class org.apache.pulsar.tests.FailFastNotifier
- onTestFailure(ITestResult) - Method in class org.apache.pulsar.tests.PulsarTestListener
- onTestSkipped(ITestResult) - Method in class org.apache.pulsar.tests.PulsarTestListener
- onTestStart(ITestResult) - Method in class org.apache.pulsar.tests.PulsarTestListener
- onTestSuccess(ITestResult) - Method in class org.apache.pulsar.tests.PulsarTestListener
- org.apache.pulsar.tests - package org.apache.pulsar.tests
P
- PulsarTestListener - Class in org.apache.pulsar.tests
- PulsarTestListener() - Constructor for class org.apache.pulsar.tests.PulsarTestListener
R
- retry(ITestResult) - Method in class org.apache.pulsar.tests.RetryAnalyzer
- RetryAnalyzer - Class in org.apache.pulsar.tests
- RetryAnalyzer() - Constructor for class org.apache.pulsar.tests.RetryAnalyzer
- retryMethod(ITestResult) - Method in class org.apache.pulsar.tests.RetryAnalyzer
S
- setup() - Method in class org.apache.pulsar.tests.TestRetrySupport
-
Initializes the test environment state.
- SingletonCleanerListener - Class in org.apache.pulsar.tests
-
This TestNG listener contains cleanup for some singletons or caches.
- SingletonCleanerListener() - Constructor for class org.apache.pulsar.tests.SingletonCleanerListener
- stateCheck(Method) - Method in class org.apache.pulsar.tests.TestRetrySupport
T
- TestRetrySupport - Class in org.apache.pulsar.tests
-
Adds support for resetting the internal state of the test by calling "cleanup" and "setup" methods before running a test method after a previous test method has failed.
- TestRetrySupport() - Constructor for class org.apache.pulsar.tests.TestRetrySupport
- ThreadDumpUtil - Class in org.apache.pulsar.tests
-
Adapted from Hadoop TimedOutTestsListener.
- ThreadDumpUtil() - Constructor for class org.apache.pulsar.tests.ThreadDumpUtil
- ThreadLeakDetectorListener - Class in org.apache.pulsar.tests
-
Detects new threads that have been created during the test execution.
- ThreadLeakDetectorListener() - Constructor for class org.apache.pulsar.tests.ThreadLeakDetectorListener
- ThreadLocalStateCleaner - Class in org.apache.pulsar.tests
-
Cleans up thread local state for all threads for a given thread local instance.
- toDataProviderArray(Class<? extends Enum<?>>) - Static method in class org.apache.pulsar.tests.EnumValuesDataProvider
- TraceTestResourceCleanupListener - Class in org.apache.pulsar.tests
-
A TestNG listener that traces test resource cleanup by creating a thread dump, heap histogram and heap dump (when mode is 'full') before the TestNG JVM exits.
- TraceTestResourceCleanupListener() - Constructor for class org.apache.pulsar.tests.TraceTestResourceCleanupListener
- transform(IConfigurationAnnotation, Class, Constructor, Method) - Method in class org.apache.pulsar.tests.AnnotationListener
- transform(ITestAnnotation, Class, Constructor, Method) - Method in class org.apache.pulsar.tests.AnnotationListener
V
- values(Method) - Static method in class org.apache.pulsar.tests.EnumValuesDataProvider
All Classes and Interfaces|All Packages