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

A

after(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
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
 
before(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.JupiterEngineDescriptor
 
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

ClassBasedContainerExtensionContext - Class in org.junit.jupiter.engine.descriptor
 
ClassBasedContainerExtensionContext(ExtensionContext, EngineExecutionListener, ClassTestDescriptor) - Constructor for class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
 
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 ContainerExecutionCondition and TestExecutionCondition 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() - 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.conditions.deactivate"
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
A DiscoverySelectorResolver resolves selectors with the help of the JavaElementResolver instances.
DiscoverySelectorResolver() - Constructor for class org.junit.jupiter.engine.discovery.DiscoverySelectorResolver
 
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
 
evaluateForContainer(ExtensionRegistry, ConfigurationParameters, ContainerExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all ContainerExecutionCondition extensions registered for the supplied ContainerExtensionContext.
evaluateForTest(ExtensionRegistry, ConfigurationParameters, TestExtensionContext) - Method in class org.junit.jupiter.engine.execution.ConditionEvaluator
Evaluate all TestExecutionCondition extensions registered for the supplied TestExtensionContext.
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) - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
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.
ExtensionValuesStore - Class in org.junit.jupiter.engine.execution
ExtensionValuesStore is used inside implementations of ExtensionContext to store and retrieve attributes.
ExtensionValuesStore(ExtensionValuesStore) - Constructor for class org.junit.jupiter.engine.execution.ExtensionValuesStore
 

G

generateDefaultDisplayName(Method) - Static method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
get(Object) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
get(Object, Class<T>) - Method in class org.junit.jupiter.engine.execution.NamespaceAwareStore
 
getConfigurationParameters() - Method in class org.junit.jupiter.engine.execution.JupiterEngineExecutionContext
 
getDisplayName() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
 
getDisplayName() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
getElement() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
 
getElement() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
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 in this registry or one of its ancestors of the specified type.
getId() - Method in class org.junit.jupiter.engine.JupiterTestEngine
 
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 in this registry or one of its ancestors of the specified type, in reverse order.
getTags() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTags(AnnotatedElement) - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
getTags() - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
getTestClass() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
getTestException() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
getTestInstance() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
getTestInstance() - 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.ClassBasedContainerExtensionContext
 
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
getTestMethod() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
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
 
getUniqueId() - Method in class org.junit.jupiter.engine.descriptor.ClassBasedContainerExtensionContext
 
getUniqueId() - Method in class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 

H

hasTests() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 

I

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(TestExtensionContext) - Method in interface org.junit.jupiter.engine.execution.AfterEachMethodAdapter
 
invokeBeforeEachMethod(TestExtensionContext) - Method in interface org.junit.jupiter.engine.execution.BeforeEachMethodAdapter
 
invokeTestInstancePostProcessors(Object, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
invokeTestMethod(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
invokeTestMethod(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
isContainer() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
isContainer() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
isContainer() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
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
 
isLeaf() - Method in class org.junit.jupiter.engine.descriptor.JupiterTestDescriptor
 
isLeaf() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
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
 
isTest() - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
isTest() - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
isTest() - Method in class org.junit.jupiter.engine.descriptor.TestFactoryTestDescriptor
 
IsTestClassWithTests - Class in org.junit.jupiter.engine.discovery.predicates
Test if a class is a JUnit Jupiter test class containing executable tests, test factories, or nested tests.
IsTestClassWithTests() - Constructor for class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
 
IsTestFactoryMethod - Class in org.junit.jupiter.engine.discovery.predicates
Test if a method is a JUnit Jupiter test factory 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
 

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
 
JupiterTestDescriptor - Class in org.junit.jupiter.engine.descriptor
 
JupiterTestEngine - Class in org.junit.jupiter.engine
 
JupiterTestEngine() - Constructor for class org.junit.jupiter.engine.JupiterTestEngine
 

M

MethodBasedTestExtensionContext - Class in org.junit.jupiter.engine.descriptor
 
MethodBasedTestExtensionContext(ExtensionContext, EngineExecutionListener, MethodTestDescriptor, Object, ThrowableCollector) - Constructor for class org.junit.jupiter.engine.descriptor.MethodBasedTestExtensionContext
 
MethodTestDescriptor - Class in org.junit.jupiter.engine.descriptor
TestDescriptor for tests based on Java methods.
MethodTestDescriptor(UniqueId, Class<?>, Method) - Constructor for class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 

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

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

shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
shouldBeSkipped(JupiterEngineExecutionContext) - Method in class org.junit.jupiter.engine.descriptor.MethodTestDescriptor
 
stream(Class<E>) - Method in class org.junit.jupiter.engine.extension.ExtensionRegistry
Generate a stream for iterating over all registered extensions of the specified type.

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
 
test(Class<?>) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestClassWithTests
 
test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestFactoryMethod
 
test(Method) - Method in class org.junit.jupiter.engine.discovery.predicates.IsTestMethod
 
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(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.ClassTestDescriptor
 
testInstanceProvider(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext) - Method in class org.junit.jupiter.engine.descriptor.NestedClassTestDescriptor
 
TestInstanceProvider - Interface in org.junit.jupiter.engine.execution
 
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 H I J M N O P R S T W 
Skip navigation links
junit-jupiter-engine