Dependencies
- java/11
- org.apiguardian/apiguardian-api/1.1.0
- org.junit.jupiter/junit-jupiter-api/5.7.0
- org.junit.platform/junit-platform-commons/1.7.0
- org.junit.platform/junit-platform-engine/1.7.0
- org.opentest4j/opentest4j/1.2.0
Declarations
-
org
-
junit
-
jupiter
-
engine
-
Constants
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME: String
- DEACTIVATE_ALL_CONDITIONS_PATTERN: String
- DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME: String
- EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME: String
- DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME: String
- PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME: String
- DEFAULT_PARALLEL_EXECUTION_MODE: String
- DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME: String
- PARALLEL_CONFIG_PREFIX: String
- PARALLEL_CONFIG_STRATEGY_PROPERTY_NAME: String
- PARALLEL_CONFIG_FIXED_PARALLELISM_PROPERTY_NAME: String
- PARALLEL_CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME: String
- PARALLEL_CONFIG_CUSTOM_CLASS_PROPERTY_NAME: String
- DEFAULT_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME: String
- TIMEOUT_MODE_PROPERTY_NAME: String
- DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME: String
- Constants(): void
-
JupiterTestEngine
- getId(): String
- getGroupId(): Optional<String>
- getArtifactId(): Optional<String>
- discover(EngineDiscoveryRequest, UniqueId): TestDescriptor
- createExecutorService(ExecutionRequest): HierarchicalTestExecutorService
- createExecutionContext(ExecutionRequest): JupiterEngineExecutionContext
- createThrowableCollectorFactory(ExecutionRequest): Factory
- getJupiterConfiguration(ExecutionRequest): JupiterConfiguration
-
config
-
CachingJupiterConfiguration
- cache: ConcurrentHashMap<String, Object>
- delegate: JupiterConfiguration
- CachingJupiterConfiguration(JupiterConfiguration): void
- getRawConfigurationParameter(String): Optional<String>
- getRawConfigurationParameter(String, Function<String, Object>): Optional<Object>
- isParallelExecutionEnabled(): boolean
- isExtensionAutoDetectionEnabled(): boolean
- getDefaultExecutionMode(): ExecutionMode
- getDefaultClassesExecutionMode(): ExecutionMode
- getDefaultTestInstanceLifecycle(): Lifecycle
- getExecutionConditionFilter(): Predicate<ExecutionCondition>
- getDefaultDisplayNameGenerator(): DisplayNameGenerator
- getDefaultTestMethodOrderer(): Optional<MethodOrderer>
-
DefaultJupiterConfiguration
- executionModeConverter: EnumConfigurationParameterConverter<ExecutionMode>
- lifecycleConverter: EnumConfigurationParameterConverter<Lifecycle>
- displayNameGeneratorConverter: InstantiatingConfigurationParameterConverter<DisplayNameGenerator>
- methodOrdererConverter: InstantiatingConfigurationParameterConverter<MethodOrderer>
- configurationParameters: ConfigurationParameters
- DefaultJupiterConfiguration(ConfigurationParameters): void
- getRawConfigurationParameter(String): Optional<String>
- getRawConfigurationParameter(String, Function<String, Object>): Optional<Object>
- isParallelExecutionEnabled(): boolean
- isExtensionAutoDetectionEnabled(): boolean
- getDefaultExecutionMode(): ExecutionMode
- getDefaultClassesExecutionMode(): ExecutionMode
- getDefaultTestInstanceLifecycle(): Lifecycle
- getExecutionConditionFilter(): Predicate<ExecutionCondition>
- getDefaultDisplayNameGenerator(): DisplayNameGenerator
- getDefaultTestMethodOrderer(): Optional<MethodOrderer>
- EnumConfigurationParameterConverter
-
InstantiatingConfigurationParameterConverter
- logger: Logger
- clazz: Class<Object>
- name: String
- InstantiatingConfigurationParameterConverter(Class<Object>, String): void
- get(ConfigurationParameters, String): Optional<Object>
- instantiateGenerator(String, String): Optional<Object>
- logFailureMessage(String, String, Exception): void
- logSuccessMessage(String, String): void
-
JupiterConfiguration
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME: String
- PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME: String
- DEFAULT_EXECUTION_MODE_PROPERTY_NAME: String
- DEFAULT_CLASSES_EXECUTION_MODE_PROPERTY_NAME: String
- EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME: String
- DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME: String
- DEACTIVATE_ALL_CONDITIONS_PATTERN: String
- DEFAULT_DISPLAY_NAME_GENERATOR_PROPERTY_NAME: String
- DEFAULT_TEST_METHOD_ORDER_PROPERTY_NAME: String
- DEFAULT_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TESTABLE_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TEST_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TEST_TEMPLATE_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_TEST_FACTORY_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_LIFECYCLE_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_BEFORE_ALL_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_BEFORE_EACH_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_AFTER_EACH_METHOD_TIMEOUT_PROPERTY_NAME: String
- DEFAULT_AFTER_ALL_METHOD_TIMEOUT_PROPERTY_NAME: String
- TIMEOUT_MODE_PROPERTY_NAME: String
- getRawConfigurationParameter(String): Optional<String>
- getRawConfigurationParameter(String, Function<String, Object>): Optional<Object>
- isParallelExecutionEnabled(): boolean
- isExtensionAutoDetectionEnabled(): boolean
- getDefaultExecutionMode(): ExecutionMode
- getDefaultClassesExecutionMode(): ExecutionMode
- getDefaultTestInstanceLifecycle(): Lifecycle
- getExecutionConditionFilter(): Predicate<ExecutionCondition>
- getDefaultDisplayNameGenerator(): DisplayNameGenerator
- getDefaultTestMethodOrderer(): Optional<MethodOrderer>
-
CachingJupiterConfiguration
-
descriptor
-
AbstractExtensionContext
- parent: ExtensionContext
- engineExecutionListener: EngineExecutionListener
- testDescriptor: TestDescriptor
- tags: Set<String>
- configuration: JupiterConfiguration
- valuesStore: ExtensionValuesStore
- AbstractExtensionContext(ExtensionContext, EngineExecutionListener, TestDescriptor, JupiterConfiguration): void
- createStore(ExtensionContext): ExtensionValuesStore
- close(): void
- getUniqueId(): String
- getDisplayName(): String
- publishReportEntry(Map<String, String>): void
- getParent(): Optional<ExtensionContext>
- getRoot(): ExtensionContext
- getTestDescriptor(): TestDescriptor
- getStore(Namespace): Store
- getTags(): Set<String>
- getConfigurationParameter(String): Optional<String>
- getConfigurationParameter(String, Function<String, Object>): Optional<Object>
-
ClassBasedTestDescriptor
- testClass: Class<Object>
- tags: Set<TestTag>
- executableInvoker: ExecutableInvoker
- lifecycle: Lifecycle
- defaultChildExecutionMode: ExecutionMode
- testInstanceFactory: TestInstanceFactory
- beforeAllMethods: List<Method>
- afterAllMethods: List<Method>
- ClassBasedTestDescriptor(UniqueId, Class<Object>, Supplier<String>, JupiterConfiguration): void
- getTestClass(): Class<Object>
- getEnclosingTestClasses(): List<Class<Object>>
- getType(): Type
- getLegacyReportingName(): String
- getExplicitExecutionMode(): Optional<ExecutionMode>
- getDefaultChildExecutionMode(): Optional<ExecutionMode>
- setDefaultChildExecutionMode(ExecutionMode): void
- getExclusiveResources(): Set<ExclusiveResource>
- prepare(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- before(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- after(JupiterEngineExecutionContext): void
- resolveTestInstanceFactory(ExtensionRegistry): TestInstanceFactory
- testInstancesProvider(JupiterEngineExecutionContext, ClassExtensionContext): TestInstancesProvider
- instantiateAndPostProcessTestInstance(JupiterEngineExecutionContext, ExtensionContext, ExtensionRegistry, ExtensionRegistrar, ThrowableCollector): TestInstances
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector): TestInstances
- instantiateTestClass(Optional<TestInstances>, ExtensionRegistry, ExtensionContext): TestInstances
- invokeTestInstanceFactory(Optional<Object>, ExtensionContext): Object
- invokeTestClassConstructor(Optional<Object>, ExtensionRegistry, ExtensionContext): Object
- invokeTestInstancePostProcessors(Object, ExtensionRegistry, ExtensionContext): void
- executeAndMaskThrowable(Executable): void
- invokeBeforeAllCallbacks(JupiterEngineExecutionContext): void
- invokeBeforeAllMethods(JupiterEngineExecutionContext): void
- invokeBeforeAllMethodExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable): void
- invokeAfterAllMethods(JupiterEngineExecutionContext): void
- invokeAfterAllMethodExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable): void
- invokeAfterAllCallbacks(JupiterEngineExecutionContext): void
- invokeTestInstancePreDestroyCallbacks(JupiterEngineExecutionContext): void
- isPerClassLifecycle(JupiterEngineExecutionContext): boolean
- registerBeforeEachMethodAdapters(ExtensionRegistrar): void
- registerAfterEachMethodAdapters(ExtensionRegistrar): void
- registerMethodsAsExtensions(List<Method>, ExtensionRegistrar, Function<Method, Extension>): void
- synthesizeBeforeEachMethodAdapter(Method): BeforeEachMethodAdapter
- synthesizeAfterEachMethodAdapter(Method): AfterEachMethodAdapter
- invokeMethodInExtensionContext(Method, ExtensionContext, ExtensionRegistry, VoidMethodInterceptorCall): void
-
ClassExtensionContext
- lifecycle: Lifecycle
- throwableCollector: ThrowableCollector
- testInstances: TestInstances
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassBasedTestDescriptor, JupiterConfiguration, ThrowableCollector): void
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassBasedTestDescriptor, Lifecycle, JupiterConfiguration, ThrowableCollector): void
- getElement(): Optional<AnnotatedElement>
- getTestClass(): Optional<Class<Object>>
- getTestInstanceLifecycle(): Optional<Lifecycle>
- getTestInstance(): Optional<Object>
- getTestInstances(): Optional<TestInstances>
- setTestInstances(TestInstances): void
- getTestMethod(): Optional<Method>
- getExecutionException(): Optional<Throwable>
-
ClassTestDescriptor
- SEGMENT_TYPE: String
- ClassTestDescriptor(UniqueId, Class<Object>, JupiterConfiguration): void
- getTags(): Set<TestTag>
- getEnclosingTestClasses(): List<Class<Object>>
- getExecutionMode(): ExecutionMode
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector): TestInstances
- DefaultTestInstanceFactoryContext
-
DisplayNameUtils
- replaceUnderscoresGenerator: DisplayNameGenerator
- indicativeSentencesGenerator: DisplayNameGenerator
- logger: Logger
- standardGenerator: DisplayNameGenerator
- simpleGenerator: DisplayNameGenerator
- determineDisplayName(AnnotatedElement, Supplier<String>): String
- determineDisplayNameForMethod(Class<Object>, Method, JupiterConfiguration): String
- createDisplayNameSupplierForClass(Class<Object>, JupiterConfiguration): Supplier<String>
- createDisplayNameSupplierForNestedClass(Class<Object>, JupiterConfiguration): Supplier<String>
- getDisplayNameGenerator(Class<Object>, JupiterConfiguration): DisplayNameGenerator
- getDisplayNameGeneration(Class<Object>): Optional<DisplayNameGeneration>
-
DynamicContainerTestDescriptor
- dynamicContainer: DynamicContainer
- testSource: TestSource
- dynamicDescendantFilter: DynamicDescendantFilter
- DynamicContainerTestDescriptor(UniqueId, int, DynamicContainer, TestSource, DynamicDescendantFilter, JupiterConfiguration): void
- getType(): Type
- execute(JupiterEngineExecutionContext, DynamicTestExecutor): JupiterEngineExecutionContext
- toDynamicDescriptor(int, DynamicNode): Optional<JupiterTestDescriptor>
- DynamicDescendantFilter
-
DynamicExtensionContext
- DynamicExtensionContext(ExtensionContext, EngineExecutionListener, DynamicNodeTestDescriptor, JupiterConfiguration): void
- getElement(): Optional<AnnotatedElement>
- getTestClass(): Optional<Class<Object>>
- getTestInstanceLifecycle(): Optional<Lifecycle>
- getTestInstance(): Optional<Object>
- getTestInstances(): Optional<TestInstances>
- getTestMethod(): Optional<Method>
- getExecutionException(): Optional<Throwable>
- DynamicNodeTestDescriptor
-
DynamicTestTestDescriptor
- interceptorChain: InvocationInterceptorChain
- dynamicTest: DynamicTest
- DynamicTestTestDescriptor(UniqueId, int, DynamicTest, TestSource, JupiterConfiguration): void
- getType(): Type
- execute(JupiterEngineExecutionContext, DynamicTestExecutor): JupiterEngineExecutionContext
- after(JupiterEngineExecutionContext): void
- ExtensionUtils
- Filterable
-
JupiterEngineDescriptor
- ENGINE_ID: String
- configuration: JupiterConfiguration
- JupiterEngineDescriptor(UniqueId, JupiterConfiguration): void
- getConfiguration(): JupiterConfiguration
- getExecutionMode(): ExecutionMode
- prepare(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- cleanUp(JupiterEngineExecutionContext): void
-
JupiterEngineExtensionContext
- JupiterEngineExtensionContext(EngineExecutionListener, JupiterEngineDescriptor, JupiterConfiguration): void
- getElement(): Optional<AnnotatedElement>
- getTestClass(): Optional<Class<Object>>
- getTestInstanceLifecycle(): Optional<Lifecycle>
- getTestInstance(): Optional<Object>
- getTestInstances(): Optional<TestInstances>
- getTestMethod(): Optional<Method>
- getExecutionException(): Optional<Throwable>
-
JupiterTestDescriptor
- logger: Logger
- conditionEvaluator: ConditionEvaluator
- configuration: JupiterConfiguration
- JupiterTestDescriptor(UniqueId, AnnotatedElement, Supplier<String>, TestSource, JupiterConfiguration): void
- JupiterTestDescriptor(UniqueId, String, TestSource, JupiterConfiguration): void
- getTags(AnnotatedElement): Set<TestTag>
- invokeExecutionExceptionHandlers(Class<Extension>, ExtensionRegistry, Throwable, ExceptionHandlerInvoker<Extension>): void
- invokeExecutionExceptionHandlers(List<Extension>, Throwable, ExceptionHandlerInvoker<Extension>): void
- getExecutionMode(): ExecutionMode
- getExplicitExecutionMode(): Optional<ExecutionMode>
- getDefaultChildExecutionMode(): Optional<ExecutionMode>
- getExecutionModeFromAnnotation(AnnotatedElement): Optional<ExecutionMode>
- toExecutionMode(ExecutionMode): ExecutionMode
- getExclusiveResourcesFromAnnotation(AnnotatedElement): Set<ExclusiveResource>
- toLockMode(ResourceAccessMode): LockMode
- shouldBeSkipped(JupiterEngineExecutionContext): SkipResult
- toSkipResult(ConditionEvaluationResult): SkipResult
- prepare(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- cleanUp(JupiterEngineExecutionContext): void
- ExceptionHandlerInvoker
-
LifecycleMethodUtils
- LifecycleMethodUtils(): void
- findBeforeAllMethods(Class<Object>, boolean): List<Method>
- findAfterAllMethods(Class<Object>, boolean): List<Method>
- findBeforeEachMethods(Class<Object>): List<Method>
- findAfterEachMethods(Class<Object>): List<Method>
- assertStatic(Class<Annotation>, Method): void
- assertNonStatic(Class<Annotation>, Method): void
- assertVoid(Class<Annotation>, Method): void
- findMethodsAndAssertStatic(Class<Object>, boolean, Class<Annotation>, HierarchyTraversalMode): List<Method>
- findMethodsAndAssertNonStatic(Class<Object>, Class<Annotation>, HierarchyTraversalMode): List<Method>
- findMethodsAndCheckVoidReturnType(Class<Object>, Class<Annotation>, HierarchyTraversalMode): List<Method>
-
MethodBasedTestDescriptor
- logger: Logger
- testClass: Class<Object>
- testMethod: Method
- tags: Set<TestTag>
- MethodBasedTestDescriptor(UniqueId, Class<Object>, Method, JupiterConfiguration): void
- MethodBasedTestDescriptor(UniqueId, String, Class<Object>, Method, JupiterConfiguration): void
- getTags(): Set<TestTag>
- getExclusiveResources(): Set<ExclusiveResource>
- getExplicitExecutionMode(): Optional<ExecutionMode>
- getTestClass(): Class<Object>
- getTestMethod(): Method
- getLegacyReportingName(): String
- nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, SkipResult): void
- invokeTestWatchers(JupiterEngineExecutionContext, boolean, Consumer<TestWatcher>): void
-
MethodExtensionContext
- throwableCollector: ThrowableCollector
- testInstances: TestInstances
- MethodExtensionContext(ExtensionContext, EngineExecutionListener, TestMethodTestDescriptor, JupiterConfiguration, ThrowableCollector): void
- getElement(): Optional<AnnotatedElement>
- getTestClass(): Optional<Class<Object>>
- getTestInstanceLifecycle(): Optional<Lifecycle>
- getTestInstance(): Optional<Object>
- getTestInstances(): Optional<TestInstances>
- setTestInstances(TestInstances): void
- getTestMethod(): Optional<Method>
- getExecutionException(): Optional<Throwable>
- MethodSourceSupport
-
NestedClassTestDescriptor
- SEGMENT_TYPE: String
- NestedClassTestDescriptor(UniqueId, Class<Object>, JupiterConfiguration): void
- getTags(): Set<TestTag>
- getEnclosingTestClasses(): List<Class<Object>>
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionRegistrar, ExtensionContext, ThrowableCollector): TestInstances
-
TestFactoryTestDescriptor
- SEGMENT_TYPE: String
- DYNAMIC_CONTAINER_SEGMENT_TYPE: String
- DYNAMIC_TEST_SEGMENT_TYPE: String
- interceptorCall: ReflectiveInterceptorCall<Method, Object>
- executableInvoker: ExecutableInvoker
- dynamicDescendantFilter: DynamicDescendantFilter
- TestFactoryTestDescriptor(UniqueId, Class<Object>, Method, JupiterConfiguration): void
- getDynamicDescendantFilter(): DynamicDescendantFilter
- getType(): Type
- mayRegisterTests(): boolean
- invokeTestMethod(JupiterEngineExecutionContext, DynamicTestExecutor): void
- toDynamicNodeStream(Object): Stream<DynamicNode>
- invalidReturnTypeException(Throwable): JUnitException
- createDynamicDescriptor(JupiterTestDescriptor, DynamicNode, int, TestSource, DynamicDescendantFilter, JupiterConfiguration): Optional<JupiterTestDescriptor>
- fromUri(URI): TestSource
- nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, SkipResult): void
- nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult): void
- TestInstanceLifecycleUtils
-
TestMethodTestDescriptor
- SEGMENT_TYPE: String
- executableInvoker: ExecutableInvoker
- defaultInterceptorCall: ReflectiveInterceptorCall<Method, Void>
- interceptorCall: ReflectiveInterceptorCall<Method, Void>
- TestMethodTestDescriptor(UniqueId, Class<Object>, Method, JupiterConfiguration): void
- invokeTestMethod(JupiterEngineExecutionContext, DynamicTestExecutor): void
- TestMethodTestDescriptor(UniqueId, String, Class<Object>, Method, JupiterConfiguration, ReflectiveInterceptorCall<Method, Void>): void
- getType(): Type
- prepare(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- populateNewExtensionRegistry(JupiterEngineExecutionContext): MutableExtensionRegistry
- execute(JupiterEngineExecutionContext, DynamicTestExecutor): JupiterEngineExecutionContext
- cleanUp(JupiterEngineExecutionContext): void
- isPerMethodLifecycle(JupiterEngineExecutionContext): boolean
- invokeBeforeEachCallbacks(JupiterEngineExecutionContext): void
- invokeBeforeEachMethods(JupiterEngineExecutionContext): void
- invokeBeforeEachExecutionExceptionHandlers(ExtensionContext, ExtensionRegistry, Throwable): void
- invokeBeforeTestExecutionCallbacks(JupiterEngineExecutionContext): void
- invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(Class<Extension>, JupiterEngineExecutionContext, CallbackInvoker<Extension>): void
- invokeTestExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable): void
- invokeAfterTestExecutionCallbacks(JupiterEngineExecutionContext): void
- invokeAfterEachMethods(JupiterEngineExecutionContext): void
- invokeAfterEachExecutionExceptionHandlers(ExtensionContext, ExtensionRegistry, Throwable): void
- invokeAfterEachCallbacks(JupiterEngineExecutionContext): void
- invokeTestInstancePreDestroyCallbacks(JupiterEngineExecutionContext): void
- invokeAllAfterMethodsOrCallbacks(Class<Extension>, JupiterEngineExecutionContext, CallbackInvoker<Extension>): void
- nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult): void
- CallbackInvoker
-
TestTemplateExtensionContext
- testInstances: TestInstances
- TestTemplateExtensionContext(ExtensionContext, EngineExecutionListener, TestTemplateTestDescriptor, JupiterConfiguration, TestInstances): void
- getElement(): Optional<AnnotatedElement>
- getTestClass(): Optional<Class<Object>>
- getTestInstanceLifecycle(): Optional<Lifecycle>
- getTestInstance(): Optional<Object>
- getTestInstances(): Optional<TestInstances>
- getTestMethod(): Optional<Method>
- getExecutionException(): Optional<Throwable>
-
TestTemplateInvocationTestDescriptor
- SEGMENT_TYPE: String
- interceptorCall: ReflectiveInterceptorCall<Method, Void>
- invocationContext: TestTemplateInvocationContext
- index: int
- TestTemplateInvocationTestDescriptor(UniqueId, Class<Object>, Method, TestTemplateInvocationContext, int, JupiterConfiguration): void
- getExclusiveResources(): Set<ExclusiveResource>
- getLegacyReportingName(): String
- populateNewExtensionRegistry(JupiterEngineExecutionContext): MutableExtensionRegistry
- after(JupiterEngineExecutionContext): void
-
TestTemplateTestDescriptor
- SEGMENT_TYPE: String
- dynamicDescendantFilter: DynamicDescendantFilter
- TestTemplateTestDescriptor(UniqueId, Class<Object>, Method, JupiterConfiguration): void
- getDynamicDescendantFilter(): DynamicDescendantFilter
- getType(): Type
- mayRegisterTests(): boolean
- prepare(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- execute(JupiterEngineExecutionContext, DynamicTestExecutor): JupiterEngineExecutionContext
- validateProviders(ExtensionContext, ExtensionRegistry): List<TestTemplateInvocationContextProvider>
- createInvocationTestDescriptor(TestTemplateInvocationContext, int): Optional<TestDescriptor>
- execute(DynamicTestExecutor, TestDescriptor): void
- validateWasAtLeastInvokedOnce(int, List<TestTemplateInvocationContextProvider>): void
-
AbstractExtensionContext
-
discovery
-
ClassSelectorResolver
- isTestClassWithTests: IsTestClassWithTests
- isNestedTestClass: IsNestedTestClass
- classNameFilter: Predicate<String>
- configuration: JupiterConfiguration
- ClassSelectorResolver(Predicate<String>, JupiterConfiguration): void
- resolve(ClassSelector, Context): Resolution
- resolve(NestedClassSelector, Context): Resolution
- resolve(UniqueIdSelector, Context): Resolution
- newClassTestDescriptor(TestDescriptor, Class<Object>): ClassTestDescriptor
- newNestedClassTestDescriptor(TestDescriptor, Class<Object>): NestedClassTestDescriptor
- toResolution(Optional<ClassBasedTestDescriptor>): Resolution
- selectClass(List<Class<Object>>): DiscoverySelector
- selectMethod(List<Class<Object>>, Method): DiscoverySelector
-
DefaultMethodDescriptor
- testDescriptor: MethodBasedTestDescriptor
- DefaultMethodDescriptor(MethodBasedTestDescriptor): void
- getTestDescriptor(): MethodBasedTestDescriptor
- getMethod(): Method
- getDisplayName(): String
- isAnnotated(Class<Annotation>): boolean
- findAnnotation(Class<Annotation>): Optional<Annotation>
- findRepeatableAnnotations(Class<Annotation>): List<Annotation>
- toString(): String
-
DefaultMethodOrdererContext
- testClass: Class<Object>
- methodDescriptors: List<MethodDescriptor>
- configuration: JupiterConfiguration
- DefaultMethodOrdererContext(List<MethodDescriptor>, Class<Object>, JupiterConfiguration): void
- getTestClass(): Class<Object>
- getMethodDescriptors(): List<MethodDescriptor>
- getConfigurationParameter(String): Optional<String>
- toString(): String
- DiscoverySelectorResolver
- MethodFinder
- MethodOrderingVisitor
-
MethodSelectorResolver
- logger: Logger
- methodFinder: MethodFinder
- testClassPredicate: Predicate<Class<Object>>
- configuration: JupiterConfiguration
- MethodSelectorResolver(JupiterConfiguration): void
- resolve(MethodSelector, Context): Resolution
- resolve(NestedMethodSelector, Context): Resolution
- resolve(Context, List<Class<Object>>, Class<Object>, Supplier<Method>): Resolution
- resolve(UniqueIdSelector, Context): Resolution
- expansionCallback(TestDescriptor): Supplier<Set<DiscoverySelector>>
- MethodType
- predicates
-
ClassSelectorResolver
-
execution
- AfterEachMethodAdapter
- BeforeEachMethodAdapter
- ConditionEvaluationException
-
ConditionEvaluator
- logger: Logger
- ENABLED: ConditionEvaluationResult
- evaluate(ExtensionRegistry, JupiterConfiguration, ExtensionContext): ConditionEvaluationResult
- evaluate(ExecutionCondition, ExtensionContext): ConditionEvaluationResult
- logResult(Class<Object>, ConditionEvaluationResult, ExtensionContext): void
- evaluationException(Class<Object>, Exception): ConditionEvaluationException
- ConstructorInvocation
-
DefaultParameterContext
- parameter: Parameter
- index: int
- target: Optional<Object>
- DefaultParameterContext(Parameter, int, Optional<Object>): void
- getParameter(): Parameter
- getIndex(): int
- getTarget(): Optional<Object>
- isAnnotated(Class<Annotation>): boolean
- findAnnotation(Class<Annotation>): Optional<Annotation>
- findRepeatableAnnotations(Class<Annotation>): List<Annotation>
- getEffectiveAnnotatedParameter(): AnnotatedElement
- toString(): String
- DefaultTestInstances
-
ExecutableInvoker
- logger: Logger
- interceptorChain: InvocationInterceptorChain
- invoke(Constructor<Object>, Optional<Object>, ExtensionContext, ExtensionRegistry, ReflectiveInterceptorCall<Constructor<Object>, Object>): Object
- invoke(Method, Object, ExtensionContext, ExtensionRegistry, ReflectiveInterceptorCall<Method, Object>): Object
- invoke(Invocation<Object>, ReflectiveInvocationContext<Executable>, ExtensionContext, ExtensionRegistry, ReflectiveInterceptorCall<Executable, Object>): Object
- ReflectiveInterceptorCall
- resolveParameters(Method, Optional<Object>, ExtensionContext, ExtensionRegistry): Object[]
- resolveParameters(Executable, Optional<Object>, Optional<Object>, ExtensionContext, ExtensionRegistry): Object[]
- resolveParameter(ParameterContext, Executable, ExtensionContext, ExtensionRegistry): Object
- validateResolvedType(Parameter, Object, Executable, ParameterResolver): void
- asLabel(Executable): String
-
ExtensionValuesStore
- REVERSE_INSERT_ORDER: Comparator<StoredValue>
- insertOrderSequence: AtomicInteger
- storedValues: ConcurrentMap<CompositeKey, StoredValue>
- parentStore: ExtensionValuesStore
- ExtensionValuesStore(ExtensionValuesStore): void
- closeAllStoredCloseableValues(): void
- get(Namespace, Object): Object
- get(Namespace, Object, Class<Object>): Object
- getOrComputeIfAbsent(Namespace, Object, Function<Object, Object>): Object
- getOrComputeIfAbsent(Namespace, Object, Function<Object, Object>, Class<Object>): Object
- put(Namespace, Object, Object): void
- storedValue(Supplier<Object>): StoredValue
- remove(Namespace, Object): Object
- remove(Namespace, Object, Class<Object>): Object
- getStoredValue(CompositeKey): StoredValue
- castToRequiredType(Object, Object, Class<Object>): Object
- CompositeKey
- StoredValue
- MemoizingSupplier
-
InvocationInterceptorChain
- invoke(Invocation<Object>, ExtensionRegistry, InterceptorCall<Object>): Object
- chainAndInvoke(Invocation<Object>, InterceptorCall<Object>, List<InvocationInterceptor>): Object
- chainInterceptors(Invocation<Object>, InterceptorCall<Object>, List<InvocationInterceptor>): Invocation<Object>
- proceed(Invocation<Object>): Object
- InterceptorCall
- VoidInterceptorCall
- InterceptedInvocation
- ValidatingInvocation
-
JupiterEngineExecutionContext
- logger: Logger
- state: State
- beforeAllCallbacksExecuted: boolean
- beforeAllMethodsExecuted: boolean
- JupiterEngineExecutionContext(EngineExecutionListener, JupiterConfiguration): void
- JupiterEngineExecutionContext(State): void
- close(): void
- getExecutionListener(): EngineExecutionListener
- getConfiguration(): JupiterConfiguration
- getTestInstancesProvider(): TestInstancesProvider
- getExtensionRegistry(): MutableExtensionRegistry
- getExtensionContext(): ExtensionContext
- getThrowableCollector(): ThrowableCollector
- beforeAllCallbacksExecuted(boolean): void
- beforeAllCallbacksExecuted(): boolean
- beforeAllMethodsExecuted(boolean): void
- beforeAllMethodsExecuted(): boolean
- extend(): Builder
- State
- Builder
- MethodInvocation
-
NamespaceAwareStore
- valuesStore: ExtensionValuesStore
- namespace: Namespace
- NamespaceAwareStore(ExtensionValuesStore, Namespace): void
- get(Object): Object
- get(Object, Class<Object>): Object
- getOrComputeIfAbsent(Object, Function<Object, Object>): Object
- getOrComputeIfAbsent(Object, Function<Object, Object>, Class<Object>): Object
- put(Object, Object): void
- remove(Object): Object
- remove(Object, Class<Object>): Object
- TestInstancesProvider
-
extension
- DisabledCondition
- ExtensionRegistrar
- ExtensionRegistry
-
MutableExtensionRegistry
- logger: Logger
- DEFAULT_EXTENSIONS: List<Extension>
- createRegistryWithDefaultExtensions(JupiterConfiguration): MutableExtensionRegistry
- registerAutoDetectedExtensions(MutableExtensionRegistry): void
- createRegistryFrom(MutableExtensionRegistry, List<Class<Extension>>): MutableExtensionRegistry
- parent: MutableExtensionRegistry
- registeredExtensionTypes: Set<Class<Extension>>
- registeredExtensions: List<Extension>
- MutableExtensionRegistry(MutableExtensionRegistry): void
- stream(Class<Extension>): Stream<Extension>
- streamLocal(Class<Extension>): Stream<Extension>
- isAlreadyRegistered(Class<Extension>): boolean
- registerExtension(Class<Extension>): void
- registerDefaultExtension(Extension): void
- registerExtension(Extension): void
- registerExtension(Extension, Object): void
- RepeatedTestDisplayNameFormatter
- RepeatedTestExtension
- RepeatedTestInvocationContext
- RepetitionInfoParameterResolver
-
TempDirectory
- NAMESPACE: Namespace
- KEY: String
- TEMP_DIR_PREFIX: String
- beforeAll(ExtensionContext): void
- beforeEach(ExtensionContext): void
- injectStaticFields(ExtensionContext, Class<Object>): void
- injectInstanceFields(ExtensionContext, Object): void
- injectFields(ExtensionContext, Object, Class<Object>, Predicate<Field>): void
- assertValidFieldCandidate(Field): void
- supportsParameter(ParameterContext, ExtensionContext): boolean
- resolveParameter(ParameterContext, ExtensionContext): Object
- assertSupportedType(String, Class<Object>): void
- getPathOrFile(Class<Object>, ExtensionContext): Object
- createTempDir(): CloseablePath
- CloseablePath
- UndeletableFileException
- TestInfoParameterResolver
- TestReporterParameterResolver
-
TimeoutConfiguration
- logger: Logger
- parser: TimeoutDurationParser
- cache: Map<String, Optional<TimeoutDuration>>
- extensionContext: ExtensionContext
- TimeoutConfiguration(ExtensionContext): void
- getDefaultTestMethodTimeout(): Optional<TimeoutDuration>
- getDefaultTestTemplateMethodTimeout(): Optional<TimeoutDuration>
- getDefaultTestFactoryMethodTimeout(): Optional<TimeoutDuration>
- getDefaultBeforeAllMethodTimeout(): Optional<TimeoutDuration>
- getDefaultBeforeEachMethodTimeout(): Optional<TimeoutDuration>
- getDefaultAfterEachMethodTimeout(): Optional<TimeoutDuration>
- getDefaultAfterAllMethodTimeout(): Optional<TimeoutDuration>
- getDefaultTestableMethodTimeout(): Optional<TimeoutDuration>
- getDefaultLifecycleMethodTimeout(): Optional<TimeoutDuration>
- getDefaultTimeout(): Optional<TimeoutDuration>
- parseOrDefault(String, Supplier<Optional<TimeoutDuration>>): Optional<TimeoutDuration>
- parseTimeoutDuration(String): Optional<TimeoutDuration>
- TimeoutDuration
- TimeoutDurationParser
-
TimeoutExtension
- NAMESPACE: Namespace
- TESTABLE_METHOD_TIMEOUT_KEY: String
- GLOBAL_TIMEOUT_CONFIG_KEY: String
- ENABLED_MODE_VALUE: String
- DISABLED_MODE_VALUE: String
- DISABLED_ON_DEBUG_MODE_VALUE: String
- beforeAll(ExtensionContext): void
- beforeEach(ExtensionContext): void
- readAndStoreTimeoutSoChildrenInheritIt(ExtensionContext): void
- interceptBeforeAllMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext): void
- interceptBeforeEachMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext): void
- interceptTestMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext): void
- interceptTestTemplateMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext): void
- interceptTestFactoryMethod(Invocation<Object>, ReflectiveInvocationContext<Method>, ExtensionContext): Object
- interceptAfterEachMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext): void
- interceptAfterAllMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext): void
- interceptLifecycleMethod(Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutProvider): void
- readTimeoutFromAnnotation(Optional<AnnotatedElement>): Optional<TimeoutDuration>
- interceptTestableMethod(Invocation<Object>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutProvider): Object
- intercept(Invocation<Object>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutDuration, TimeoutProvider): Object
- getDefaultTimeout(ExtensionContext, TimeoutProvider): TimeoutDuration
- getGlobalTimeoutConfiguration(ExtensionContext): TimeoutConfiguration
- decorate(Invocation<Object>, ReflectiveInvocationContext<Method>, ExtensionContext, TimeoutDuration): Invocation<Object>
- describe(ReflectiveInvocationContext<Method>, ExtensionContext): String
- getExecutor(ExtensionContext): ScheduledExecutorService
- isTimeoutDisabled(ExtensionContext): boolean
- isTimeoutDisabled(String): boolean
- TimeoutProvider
- ExecutorResource
-
TimeoutInvocation
- executor: ScheduledExecutorService
- delegate: Invocation<Object>
- timeout: TimeoutDuration
- descriptionSupplier: Supplier<String>
- TimeoutInvocation(Invocation<Object>, TimeoutDuration, ScheduledExecutorService, Supplier<String>): void
- proceed(): Object
- createTimeoutException(Throwable): TimeoutException
- InterruptTask
- support
-
Constants
-
engine
-
jupiter
-
junit