Skip navigation links
junit-jupiter-engine
A B C D E G I J M N O P R S T W 

A

after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
AfterEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering an @AfterEach method as a pseudo-extension.
assertEmpty() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Assert that this ThrowableCollector is empty (i.e., has not collected any Throwables).

B

before(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
beforeAllMethodsExecuted(boolean) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
beforeAllMethodsExecuted() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
BeforeEachMethodAdapter - Interface in org.junit.jupiter.engine.execution
Functional interface for registering a @BeforeEach method as a pseudo-extension.
build() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 

C

ClassExtensionContext - Class in org.junit.jupiter.engine.descriptor
 
ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassTestDescriptor, ThrowableCollector) - Constructor for class org.junit.jupiter.engine.descriptor.ClassExtensionContext
 
ClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java classes.
ClassTestDescriptor(UniqueId, Class<?>) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
ClassTestDescriptor(UniqueId, Function<Class<?>, String>, Class<?>) - Constructor for class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
ConditionEvaluator - Class in org.junit.jupiter.engine.execution
ConditionEvaluator evaluates ExecutionCondition extensions.
ConditionEvaluator() - Constructor for class org.junit.jupiter.engine.execution.ConditionEvaluator
 
Constants - Class in org.junit.jupiter.engine
Collection of constants related to the JupiterTestEngine.
createExecutionContext(ExecutionRequest) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
createRegistryFrom(ExtensionRegistry, List<Class<? extends Extension>>) - Static method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Factory for creating and populating a new registry from a list of extension types and a parent registry.
createRegistryWithDefaultExtensions(ConfigurationParameters) - Static method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Factory for creating and populating a new root registry with the default extensions.

D

DEACTIVATE_ALL_CONDITIONS_PATTERN - Static variable in class org.junit.jupiter.engine.Constants
Wildcard pattern which signals that all conditions should be deactivated: "*"
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to provide a pattern for deactivating conditions: "junit.jupiter.conditions.deactivate"
DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to set the default test instance lifecycle mode: "junit.jupiter.testinstance.lifecycle.default"
determineDisplayName(E, Function<E, String>) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
discover(EngineDiscoveryRequest, UniqueId) - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
DiscoverySelectorResolver - Class in org.junit.jupiter.engine.discovery
DiscoverySelectorResolver resolves selectors with the help of a JavaElementsResolver.
DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
DYNAMIC_CONTAINER_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
DYNAMIC_TEST_SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 

E

ENGINE_ID - Static variable in class org.junit.jupiter.engine.JupiterTestEngine
 
evaluate(ExtensionRegistry, ConfigurationParameters, ExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all ExecutionCondition extensions registered for the supplied ExtensionContext.
ExecutableInvoker - Class in org.junit.jupiter.engine.execution
ExecutableInvoker encapsulates the invocation of a Executable (i.e., method or constructor), including support for dynamic resolution of method parameters via ParameterResolvers.
ExecutableInvoker() - Constructor for class org.junit.jupiter.engine.execution.ExecutableInvoker
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
execute(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
execute(Executable) - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Execute the supplied Executable and collect any Throwable thrown during the execution.
executeAndMaskThrowable(Executable) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
Execute the supplied Executable and mask any exception thrown as an unchecked exception.
extend() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
ExtensionRegistry - Class in org.junit.jupiter.engine.extension
An ExtensionRegistry holds all registered extensions (i.e.
EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME - Static variable in class org.junit.jupiter.engine.Constants
Property name used to enable auto-detection and registration of extensions via Java's ServiceLoader mechanism: "junit.jupiter.extensions.autodetection.enabled"
ExtensionValuesStore - Class in org.junit.jupiter.engine.execution
ExtensionValuesStore is used inside implementations of ExtensionContext to store and retrieve values.
ExtensionValuesStore(ExtensionValuesStore) - Constructor for class org.junit.jupiter.engine.execution.ExtensionValuesStore
 

G

get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
get(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getArtifactId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
Returns junit-jupiter-engine as the artifact ID.
getConfigurationParameters() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getElement() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
 
getElement() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
 
getElement() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
 
getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
 
getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
 
getExecutionException() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
 
getExecutionListener() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensionContext() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensionRegistry() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Get all Extensions of the specified type that are present in this registry or one of its ancestors.
getGroupId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
Returns org.junit.jupiter as the group ID.
getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
getLegacyReportingName() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getOrComputeIfAbsent(K, Function<K, V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getOrComputeIfAbsent(K, Function<K, V>, Class<V>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getReversedExtensions(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Get all Extensions of the specified type that are present in this registry or one of its ancestors, in reverse order.
getTags() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTags(AnnotatedElement) - Static method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
 
getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
 
getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
 
getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
 
getTestInstance(Optional<ExtensionRegistry>) - Method in interface org.junit.jupiter.engine.execution.TestInstanceProvider
 
getTestInstanceProvider() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.ClassExtensionContext
 
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
 
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodExtensionContext
 
getThrowable() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Get the first Throwable collected by this ThrowableCollector.
getThrowableCollector() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getType() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
getType() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 

I

instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
invoke(Constructor<T>, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied constructor with dynamic parameter resolution.
invoke(Constructor<T>, Object, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied constructor with the supplied outer instance and dynamic parameter resolution.
invoke(Method, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied static method with dynamic parameter resolution.
invoke(Method, Object, ExtensionContext, ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.ExecutableInvoker
Invoke the supplied method on the supplied target object with dynamic parameter resolution.
invokeAfterEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
 
invokeBeforeEachMethod(ExtensionContext, ExtensionRegistry) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
 
invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
invokeTestMethod(JupiterEngineExecutionContext, Node.DynamicTestExecutor) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
isEmpty() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Determine if this ThrowableCollector is empty (i.e., has not collected any Throwables).
IsInnerClass - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a non-private inner class (i.e., a non-static nested class).
IsInnerClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
 
IsNestedTestClass - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a JUnit Jupiter @Nested test class.
IsNestedTestClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
 
isNotEmpty() - Method in class org.junit.jupiter.engine.execution.ThrowableCollector
Determine if this ThrowableCollector is not empty (i.e., has collected at least one Throwable).
IsPotentialTestContainer - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a potential top-level JUnit Jupiter test container, even if it does not contain tests.
IsPotentialTestContainer() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
 
IsScannableTestClass - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a JUnit Jupiter test class which should be included in package and classpath scanning.
IsScannableTestClass() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass
 
IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @TestFactory method.
IsTestFactoryMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
IsTestMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @Test method.
IsTestMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
IsTestTemplateMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter @TestTemplate method.
IsTestTemplateMethod() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestTemplateMethod
 

J

JupiterEngineDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterEngineDescriptor(UniqueId) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
JupiterEngineExecutionContext - Class in org.junit.jupiter.engine.execution
 
JupiterEngineExecutionContext(EngineExecutionListener, ConfigurationParameters) - Constructor for class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
JupiterEngineExecutionContext.Builder - Class in org.junit.jupiter.engine.execution
 
JupiterEngineExtensionContext - Class in org.junit.jupiter.engine.descriptor
 
JupiterEngineExtensionContext(EngineExecutionListener, JupiterEngineDescriptor) - Constructor for class org.junit.jupiter.engine.descriptor.JupiterEngineExtensionContext
 
JupiterTestDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterTestEngine - Class in org.junit.jupiter.engine
The JUnit Jupiter TestEngine.
JupiterTestEngine() - Constructor for class org.junit.jupiter.engine.JupiterTestEngine
 

M

mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
mayRegisterTests() - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
MethodExtensionContext - Class in org.junit.jupiter.engine.descriptor
 
MethodExtensionContext(ExtensionContext, EngineExecutionListener, TestMethodTestDescriptor, Object, ThrowableCollector) - Constructor for class org.junit.jupiter.engine.descriptor.MethodExtensionContext
 

N

NamespaceAwareStore - Class in org.junit.jupiter.engine.execution
 
NamespaceAwareStore(ExtensionValuesStore, ExtensionContext.Namespace) - Constructor for class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
NestedClassTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on nested (but not static) Java classes.
NestedClassTestDescriptor(UniqueId, Class<?>) - Constructor for class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 

O

org.junit.jupiter.engine - package org.junit.jupiter.engine
Core package for the JUnit Jupiter test engine.
org.junit.jupiter.engine.descriptor - package org.junit.jupiter.engine.descriptor
Test descriptors used within the JUnit Jupiter test engine.
org.junit.jupiter.engine.discovery - package org.junit.jupiter.engine.discovery
Internal classes for test discovery within the JUnit Jupiter test engine.
org.junit.jupiter.engine.discovery.predicates - package org.junit.jupiter.engine.discovery.predicates
Internal predicate classes used by test discovery within the JUnit Jupiter test engine.
org.junit.jupiter.engine.execution - package org.junit.jupiter.engine.execution
Internal classes for test execution within the JUnit Jupiter test engine.
org.junit.jupiter.engine.extension - package org.junit.jupiter.engine.extension
Test extensions specific to the JUnit Jupiter test engine.

P

populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
populateNewExtensionRegistry(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
populateNewExtensionRegistryFromExtendWith(AnnotatedElement, ExtensionRegistry) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
prepare(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
put(Object, Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 

R

registerExtension(Extension, Object) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Register the supplied Extension in this registry, without checking if an extension of that type already exists in this registry.
remove(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
remove(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
resolveSelectors(EngineDiscoveryRequest, TestDescriptor) - Method in class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 

S

SEGMENT_TYPE - Static variable in class org.junit.jupiter.engine.descriptor.TestTemplateInvocationTestDescriptor
 
shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Stream all Extensions of the specified type that are present in this registry or one of its ancestors.

T

test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsInnerClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsNestedTestClass
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsPotentialTestContainer
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsScannableTestClass
 
TestFactoryTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @TestFactory methods.
TestFactoryTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
TestInstanceProvider - Interface in org.junit.jupiter.engine.execution
 
TestMethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java methods.
TestMethodTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor
 
TestTemplateInvocationTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for a @TestTemplate invocation.
TestTemplateTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for @TestTemplate methods.
TestTemplateTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor
 
ThrowableCollector - Class in org.junit.jupiter.engine.execution
Simple component that can be used to collect one or more instances of Throwable.
ThrowableCollector() - Constructor for class org.junit.jupiter.engine.execution.ThrowableCollector
 

W

withExtensionContext(ExtensionContext) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withExtensionRegistry(ExtensionRegistry) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withTestInstanceProvider(TestInstanceProvider) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
withThrowableCollector(ThrowableCollector) - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext.Builder
 
A B C D E G I J M N O P R S T W 
Skip navigation links
junit-jupiter-engine