public class ConcurrentExtension
extends java.lang.Object
implements org.junit.jupiter.api.extension.InvocationInterceptor
| Constructor and Description |
|---|
ConcurrentExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
interceptTestMethod(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<java.lang.Void> invocation,
org.junit.jupiter.api.extension.ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
static ConcurrentExtension |
withGlobalThreadCount(int threadCount)
Overrides @
ConcurrentTest count parameter globally. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptAfterAllMethod, interceptAfterEachMethod, interceptBeforeAllMethod, interceptBeforeEachMethod, interceptDynamicTest, interceptDynamicTest, interceptTestClassConstructor, interceptTestFactoryMethod, interceptTestTemplateMethodpublic static ConcurrentExtension withGlobalThreadCount(int threadCount)
ConcurrentTest count parameter globally.threadCount - a positive numberpublic void interceptTestMethod(org.junit.jupiter.api.extension.InvocationInterceptor.Invocation<java.lang.Void> invocation,
org.junit.jupiter.api.extension.ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
org.junit.jupiter.api.extension.ExtensionContext extensionContext)
throws java.lang.Throwable
interceptTestMethod in interface org.junit.jupiter.api.extension.InvocationInterceptorjava.lang.Throwable