Dependencies
- java/11
- org.apiguardian/apiguardian-api/1.0.0
- org.junit.jupiter/junit-jupiter-api/5.4.1
- org.junit.platform/junit-platform-commons/1.4.1
- org.junit.platform/junit-platform-engine/1.4.1
- org.opentest4j/opentest4j/1.1.1
Declarations
-
org
-
junit
-
jupiter
-
engine
-
Constants
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME: String
- DEACTIVATE_ALL_CONDITIONS_PATTERN: 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
- 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
- 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>
- isParallelExecutionEnabled(): boolean
- isExtensionAutoDetectionEnabled(): boolean
- getDefaultExecutionMode(): ExecutionMode
- getDefaultTestInstanceLifecycle(): Lifecycle
- getExecutionConditionFilter(): Predicate<ExecutionCondition>
- ClassNamePatternParameterConverter
-
DefaultJupiterConfiguration
- executionModeConverter: EnumConfigurationParameterConverter<ExecutionMode>
- lifecycleConverter: EnumConfigurationParameterConverter<Lifecycle>
- configurationParameters: ConfigurationParameters
- DefaultJupiterConfiguration(ConfigurationParameters): void
- getRawConfigurationParameter(String): Optional<String>
- isParallelExecutionEnabled(): boolean
- isExtensionAutoDetectionEnabled(): boolean
- getDefaultExecutionMode(): ExecutionMode
- getDefaultTestInstanceLifecycle(): Lifecycle
- getExecutionConditionFilter(): Predicate<ExecutionCondition>
- EnumConfigurationParameterConverter
-
JupiterConfiguration
- DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME: String
- PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME: String
- DEFAULT_EXECUTION_MODE_PROPERTY_NAME: String
- EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME: String
- DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME: String
- DEACTIVATE_ALL_CONDITIONS_PATTERN: String
- getRawConfigurationParameter(String): Optional<String>
- isParallelExecutionEnabled(): boolean
- isExtensionAutoDetectionEnabled(): boolean
- getDefaultExecutionMode(): ExecutionMode
- getDefaultTestInstanceLifecycle(): Lifecycle
- getExecutionConditionFilter(): Predicate<ExecutionCondition>
-
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>
-
ClassExtensionContext
- lifecycle: Lifecycle
- throwableCollector: ThrowableCollector
- testInstances: TestInstances
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassTestDescriptor, JupiterConfiguration, ThrowableCollector): void
- ClassExtensionContext(ExtensionContext, EngineExecutionListener, ClassTestDescriptor, 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
- executableInvoker: ExecutableInvoker
- testClass: Class<Object>
- tags: Set<TestTag>
- lifecycle: Lifecycle
- defaultChildExecutionMode: ExecutionMode
- testInstanceFactory: TestInstanceFactory
- beforeAllMethods: List<Method>
- afterAllMethods: List<Method>
- ClassTestDescriptor(UniqueId, Class<Object>, JupiterConfiguration): void
- ClassTestDescriptor(UniqueId, Class<Object>, Supplier<String>, JupiterConfiguration): void
- getTags(): Set<TestTag>
- getTestClass(): 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, ExtensionRegistry, ClassExtensionContext): TestInstancesProvider
- instantiateAndPostProcessTestInstance(JupiterEngineExecutionContext, ExtensionContext, ExtensionRegistry): TestInstances
- instantiateTestClass(JupiterEngineExecutionContext, ExtensionRegistry, ExtensionContext): TestInstances
- instantiateTestClass(Optional<TestInstances>, ExtensionRegistry, ExtensionContext): TestInstances
- invokeTestInstanceFactory(Optional<Object>, ExtensionContext): Object
- invokeTestClassConstructor(Optional<Object>, ExtensionRegistry, ExtensionContext): Object
- invokeTestInstancePostProcessors(Object, ExtensionRegistry, ExtensionContext): void
- invokeBeforeAllCallbacks(JupiterEngineExecutionContext): void
- invokeBeforeAllMethods(JupiterEngineExecutionContext): void
- invokeAfterAllMethods(JupiterEngineExecutionContext): void
- invokeAfterAllCallbacks(JupiterEngineExecutionContext): void
- registerBeforeEachMethodAdapters(ExtensionRegistry): void
- registerAfterEachMethodAdapters(ExtensionRegistry): void
- registerMethodsAsExtensions(List<Method>, ExtensionRegistry, Function<Method, Extension>): void
- synthesizeBeforeEachMethodAdapter(Method): BeforeEachMethodAdapter
- synthesizeAfterEachMethodAdapter(Method): AfterEachMethodAdapter
- invokeMethodInExtensionContext(Method, ExtensionContext, ExtensionRegistry): void
- DefaultTestInstanceFactoryContext
-
DisplayNameUtils
- logger: Logger
- standardGenerator: DisplayNameGenerator
- replaceUnderscoresGenerator: DisplayNameGenerator
- determineDisplayName(AnnotatedElement, Supplier<String>): String
- determineDisplayNameForMethod(Class<Object>, Method): String
- createDisplayNameSupplierForClass(Class<Object>): Supplier<String>
- createDisplayNameSupplierForNestedClass(Class<Object>): Supplier<String>
- getDisplayNameGenerator(Class<Object>): 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
- DynamicNodeTestDescriptor
- DynamicTestTestDescriptor
-
ExtensionUtils
- isStaticExtension: Predicate<Field>
- isNonStaticExtension: Predicate<Field>
- ExtensionUtils(): void
- populateNewExtensionRegistryFromExtendWithAnnotation(ExtensionRegistry, AnnotatedElement): ExtensionRegistry
- registerExtensionsFromFields(ExtensionRegistry, Class<Object>, Object): void
- orderComparator: Comparator<Field>
- getOrder(Field): int
- IsNonStaticExtensionField
- IsStaticExtensionField
- Filterable
-
JupiterEngineDescriptor
- getExecutionMode(): ExecutionMode
- ENGINE_ID: String
- configuration: JupiterConfiguration
- JupiterEngineDescriptor(UniqueId, JupiterConfiguration): void
- getConfiguration(): JupiterConfiguration
- 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>
- 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
- executeAndMaskThrowable(Executable): void
-
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
- 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
-
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>
- NestedClassTestDescriptor
-
TestFactoryTestDescriptor
- DYNAMIC_CONTAINER_SEGMENT_TYPE: String
- DYNAMIC_TEST_SEGMENT_TYPE: String
- 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
- executableInvoker: ExecutableInvoker
- logger: Logger
- TestMethodTestDescriptor(UniqueId, Class<Object>, Method, JupiterConfiguration): void
- TestMethodTestDescriptor(UniqueId, String, Class<Object>, Method, JupiterConfiguration): void
- getType(): Type
- prepare(JupiterEngineExecutionContext): JupiterEngineExecutionContext
- populateNewExtensionRegistry(JupiterEngineExecutionContext): ExtensionRegistry
- execute(JupiterEngineExecutionContext, DynamicTestExecutor): JupiterEngineExecutionContext
- invokeBeforeEachCallbacks(JupiterEngineExecutionContext): void
- invokeBeforeEachMethods(JupiterEngineExecutionContext): void
- invokeBeforeTestExecutionCallbacks(JupiterEngineExecutionContext): void
- invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(JupiterEngineExecutionContext, BiFunction<ExtensionContext, Extension, Executable>, Class<Extension>): void
- invokeTestMethod(JupiterEngineExecutionContext, DynamicTestExecutor): void
- invokeTestExecutionExceptionHandlers(ExtensionRegistry, ExtensionContext, Throwable): void
- invokeTestExecutionExceptionHandlers(Throwable, List<TestExecutionExceptionHandler>, ExtensionContext): void
- invokeAfterTestExecutionCallbacks(JupiterEngineExecutionContext): void
- invokeAfterEachMethods(JupiterEngineExecutionContext): void
- invokeAfterEachCallbacks(JupiterEngineExecutionContext): void
- invokeAllAfterMethodsOrCallbacks(JupiterEngineExecutionContext, BiFunction<ExtensionContext, Extension, Executable>, Class<Extension>): void
- nodeSkipped(JupiterEngineExecutionContext, TestDescriptor, SkipResult): void
- nodeFinished(JupiterEngineExecutionContext, TestDescriptor, TestExecutionResult): void
- invokeTestWatchers(JupiterEngineExecutionContext, boolean, Consumer<TestWatcher>): void
-
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
- invocationContext: TestTemplateInvocationContext
- index: int
- TestTemplateInvocationTestDescriptor(UniqueId, Class<Object>, Method, TestTemplateInvocationContext, int, JupiterConfiguration): void
- getExclusiveResources(): Set<ExclusiveResource>
- getLegacyReportingName(): String
- populateNewExtensionRegistry(JupiterEngineExecutionContext): ExtensionRegistry
- after(JupiterEngineExecutionContext): void
-
TestTemplateTestDescriptor
- 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): void
-
AbstractExtensionContext
-
discovery
-
AbstractMethodResolver
- methodFinder: MethodFinder
- segmentType: String
- methodPredicate: Predicate<Method>
- configuration: JupiterConfiguration
- AbstractMethodResolver(String, Predicate<Method>, JupiterConfiguration): void
- resolveElement(AnnotatedElement, TestDescriptor): Set<TestDescriptor>
- resolveUniqueId(Segment, TestDescriptor): Optional<TestDescriptor>
- isRelevantMethod(Method): boolean
- createUniqueId(Method, TestDescriptor): UniqueId
- findMethod(Segment, ClassTestDescriptor): Optional<Method>
- createTestDescriptor(TestDescriptor, Method): TestDescriptor
- createTestDescriptor(UniqueId, Class<Object>, Method, JupiterConfiguration): TestDescriptor
-
DefaultMethodDescriptor
- testDescriptor: MethodBasedTestDescriptor
- DefaultMethodDescriptor(MethodBasedTestDescriptor): void
- getTestDescriptor(): MethodBasedTestDescriptor
- getMethod(): Method
- 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
- DiscoveryFilterApplier
-
DiscoverySelectorResolver
- isTestClassWithTests: IsTestClassWithTests
- resolveSelectors(EngineDiscoveryRequest, JupiterConfiguration, TestDescriptor): void
- resolve(EngineDiscoveryRequest, JupiterConfiguration, TestDescriptor, ClassFilter): void
- filter(TestDescriptor, ClassFilter): void
- pruneTree(TestDescriptor): void
- createJavaElementsResolver(JupiterConfiguration, TestDescriptor, ClassFilter): JavaElementsResolver
- ElementResolver
-
JavaElementsResolver
- logger: Logger
- isInnerClass: IsInnerClass
- engineDescriptor: TestDescriptor
- configuration: JupiterConfiguration
- classFilter: ClassFilter
- resolvers: Set<ElementResolver>
- JavaElementsResolver(TestDescriptor, JupiterConfiguration, ClassFilter, Set<ElementResolver>): void
- resolveClasspathRoot(ClasspathRootSelector): void
- resolveModule(ModuleSelector): void
- resolvePackage(PackageSelector): void
- resolveClass(ClassSelector): void
- resolveClass(Class<Object>): void
- resolveMethod(MethodSelector): void
- resolveUniqueId(UniqueIdSelector): void
- resolveContainerWithParents(Class<Object>): Set<TestDescriptor>
- resolveAllSegments(UniqueId): Deque<TestDescriptor>
- handleResolvedDescriptorsForUniqueId(UniqueId, Deque<TestDescriptor>): void
- resolveContainerWithChildren(Class<Object>, Set<TestDescriptor>): Set<TestDescriptor>
- resolveForAllParents(AnnotatedElement, Set<TestDescriptor>): Set<TestDescriptor>
- resolveChildren(TestDescriptor): void
- orderContainedMethods(ClassTestDescriptor, Class<Object>): void
- resolveContainedNestedClasses(TestDescriptor, Class<Object>): void
- resolveContainedMethods(TestDescriptor, Class<Object>): void
- resolve(AnnotatedElement, TestDescriptor): Set<TestDescriptor>
- tryToResolveWithResolver(AnnotatedElement, TestDescriptor, ElementResolver): Set<TestDescriptor>
- findTestDescriptorByUniqueId(UniqueId): Optional<TestDescriptor>
- logMultipleTestDescriptorsForSingleElement(AnnotatedElement, Set<TestDescriptor>): void
- MethodFinder
-
NestedTestsResolver
- isNestedTestClass: IsNestedTestClass
- SEGMENT_TYPE: String
- NestedTestsResolver(JupiterConfiguration): void
- requiredParentType(): Class<TestDescriptor>
- getClassName(TestDescriptor, String): String
- getSegmentType(): String
- getSegmentValue(Class<Object>): String
- isPotentialCandidate(Class<Object>): boolean
- resolveClass(Class<Object>, UniqueId): TestDescriptor
-
TestContainerResolver
- isPotentialTestContainer: IsPotentialTestContainer
- SEGMENT_TYPE: String
- configuration: JupiterConfiguration
- TestContainerResolver(JupiterConfiguration): void
- resolveElement(AnnotatedElement, TestDescriptor): Set<TestDescriptor>
- resolveUniqueId(Segment, TestDescriptor): Optional<TestDescriptor>
- requiredParentType(): Class<TestDescriptor>
- getClassName(TestDescriptor, String): String
- getSegmentType(): String
- getSegmentValue(Class<Object>): String
- isPotentialCandidate(Class<Object>): boolean
- createUniqueId(Class<Object>, TestDescriptor): UniqueId
- resolveClass(Class<Object>, UniqueId): TestDescriptor
- TestFactoryMethodResolver
- TestMethodResolver
- TestTemplateMethodResolver
-
predicates
- IsInnerClass
- IsNestedTestClass
- IsPotentialTestContainer
-
IsTestClassWithTests
- isTestMethod: IsTestMethod
- isTestFactoryMethod: IsTestFactoryMethod
- isTestTemplateMethod: IsTestTemplateMethod
- isTestOrTestFactoryOrTestTemplateMethod: Predicate<Method>
- isPotentialTestContainer: IsPotentialTestContainer
- isNestedTestClass: IsNestedTestClass
- test(Class<Object>): boolean
- hasTestOrTestFactoryOrTestTemplateMethods(Class<Object>): boolean
- hasNestedTests(Class<Object>): boolean
- IsTestFactoryMethod
- IsTestMethod
- IsTestTemplateMethod
- IsTestableMethod
-
AbstractMethodResolver
-
execution
- AfterEachMethodAdapter
- BeforeEachMethodAdapter
- ConditionEvaluationException
-
ConditionEvaluator
- logger: Logger
- ENABLED: ConditionEvaluationResult
- evaluate(ExtensionRegistry, JupiterConfiguration, ExtensionContext): ConditionEvaluationResult
- evaluate(ExecutionCondition, ExtensionContext): ConditionEvaluationResult
- logResult(Class<Object>, ConditionEvaluationResult): void
- evaluationException(Class<Object>, Exception): ConditionEvaluationException
-
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
- invoke(Constructor<Object>, ExtensionContext, ExtensionRegistry): Object
- invoke(Constructor<Object>, Object, ExtensionContext, ExtensionRegistry): Object
- invoke(Method, ExtensionContext, ExtensionRegistry): Object
- invoke(Method, Object, ExtensionContext, ExtensionRegistry): Object
- resolveParameters(Executable, Optional<Object>, ExtensionContext, ExtensionRegistry): Object[]
- resolveParameters(Executable, Optional<Object>, Object, ExtensionContext, ExtensionRegistry): Object[]
- resolveParameter(ParameterContext, Executable, ExtensionContext, ExtensionRegistry): Object
- validateResolvedType(Parameter, Object, Executable, ParameterResolver): void
- asLabel(Executable): String
-
ExtensionValuesStore
- parentStore: ExtensionValuesStore
- storedValues: ConcurrentMap<CompositeKey, Supplier<Object>>
- 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
- remove(Namespace, Object): Object
- remove(Namespace, Object, Class<Object>): Object
- getStoredValue(CompositeKey): Supplier<Object>
- castToRequiredType(Object, Object, Class<Object>): Object
- CompositeKey
- MemoizingSupplier
-
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(): ExtensionRegistry
- getExtensionContext(): ExtensionContext
- getThrowableCollector(): ThrowableCollector
- beforeAllCallbacksExecuted(boolean): void
- beforeAllCallbacksExecuted(): boolean
- beforeAllMethodsExecuted(boolean): void
- beforeAllMethodsExecuted(): boolean
- extend(): Builder
-
State
- executionListener: EngineExecutionListener
- configuration: JupiterConfiguration
- testInstancesProvider: TestInstancesProvider
- extensionRegistry: ExtensionRegistry
- extensionContext: ExtensionContext
- throwableCollector: ThrowableCollector
- State(EngineExecutionListener, JupiterConfiguration): void
- clone(): State
-
Builder
- originalState: State
- newState: State
- Builder(State): void
- withTestInstancesProvider(TestInstancesProvider): Builder
- withExtensionRegistry(ExtensionRegistry): Builder
- withExtensionContext(ExtensionContext): Builder
- withThrowableCollector(ThrowableCollector): Builder
- build(): JupiterEngineExecutionContext
- newState(): State
-
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
-
ExtensionRegistry
- logger: Logger
- DEFAULT_EXTENSIONS: List<Extension>
- createRegistryWithDefaultExtensions(JupiterConfiguration): ExtensionRegistry
- registerAutoDetectedExtensions(ExtensionRegistry): void
- createRegistryFrom(ExtensionRegistry, List<Class<Extension>>): ExtensionRegistry
- parent: ExtensionRegistry
- registeredExtensionTypes: Set<Class<Extension>>
- registeredExtensions: List<Extension>
- ExtensionRegistry(ExtensionRegistry): void
- stream(Class<Extension>): Stream<Extension>
- streamLocal(Class<Extension>): Stream<Extension>
- getExtensions(Class<Extension>): List<Extension>
- getReversedExtensions(Class<Extension>): List<Extension>
- isAlreadyRegistered(Class<Extension>): boolean
- registerExtension(Class<Extension>): void
- registerDefaultExtension(Extension): void
- registerExtension(Extension): void
- registerExtension(Extension, Object): void
- RepeatedTestDisplayNameFormatter
- RepeatedTestExtension
- RepeatedTestInvocationContext
- RepetitionInfoParameterResolver
-
ScriptExecutionCondition
- ENABLED_NO_ELEMENT: ConditionEvaluationResult
- ENABLED_NO_ANNOTATION: ConditionEvaluationResult
- EVALUATOR_CLASS_NAME: String
- evaluator: Evaluator
- ScriptExecutionCondition(): void
- ScriptExecutionCondition(String): void
- evaluateExecutionCondition(ExtensionContext): ConditionEvaluationResult
- createDisabledIfScriptOrNull(AnnotatedElement): Script
- createEnabledIfScriptOrNull(AnnotatedElement): Script
- createSource(String[]): String
- Evaluator
- ThrowingEvaluator
-
ScriptExecutionEvaluator
- ENABLED_ALL: ConditionEvaluationResult
- scriptExecutionManager: ScriptExecutionManager
- evaluate(ExtensionContext, List<Script>): ConditionEvaluationResult
- createBindings(ExtensionContext): Bindings
- evaluate(ScriptExecutionManager, Script, Bindings): ConditionEvaluationResult
- computeConditionEvaluationResult(Script, Object): ConditionEvaluationResult
-
TempDirectory
- NAMESPACE: Namespace
- KEY: String
- TEMP_DIR_PREFIX: String
- beforeAll(ExtensionContext): void
- beforeEach(ExtensionContext): void
- injectFields(ExtensionContext, 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
-
TestInfoParameterResolver
- supportsParameter(ParameterContext, ExtensionContext): boolean
- resolveParameter(ParameterContext, ExtensionContext): TestInfo
-
DefaultTestInfo
- displayName: String
- tags: Set<String>
- testClass: Optional<Class<Object>>
- testMethod: Optional<Method>
- DefaultTestInfo(ExtensionContext): void
- getDisplayName(): String
- getTags(): Set<String>
- getTestClass(): Optional<Class<Object>>
- getTestMethod(): Optional<Method>
- toString(): String
- nullSafeGet(Optional<Object>): Object
- TestReporterParameterResolver
-
script
-
Script
- DEFAULT_SCRIPT_ENGINE_NAME: String
- BIND_JUNIT_TAGS: String
- BIND_JUNIT_UNIQUE_ID: String
- BIND_JUNIT_DISPLAY_NAME: String
- BIND_JUNIT_CONFIGURATION_PARAMETER: String
- BIND_SYSTEM_PROPERTY: String
- BIND_SYSTEM_ENVIRONMENT: String
- DEFAULT_SCRIPT_REASON_PATTERN: String
- REASON_ANNOTATION_PLACEHOLDER: String
- REASON_RESULT_PLACEHOLDER: String
- REASON_SOURCE_PLACEHOLDER: String
- annotationType: Class<Annotation>
- annotationAsString: String
- engine: String
- source: String
- reason: String
- hashCode: int
- Script(Annotation, String, String, String): void
- Script(Class<Annotation>, String, String, String, String): void
- computeHashCode(): int
- equals(Object): boolean
- hashCode(): int
- getAnnotationAsString(): String
- getAnnotationType(): Class<Annotation>
- getEngine(): String
- getReason(): String
- getSource(): String
- toReasonString(String): String
- ScriptAccessor
-
ScriptExecutionManager
- scriptEngineManager: ScriptEngineManager
- scriptEngines: ConcurrentMap<String, ScriptEngine>
- compiledScripts: ConcurrentMap<Script, CompiledScript>
- systemPropertyAccessor: ScriptAccessor
- environmentVariableAccessor: ScriptAccessor
- forceScriptEvaluation: boolean
- evaluate(Script, Bindings): Object
- createScriptEngine(String): ScriptEngine
- isCompiledScriptsEmpty(): boolean
-
Script
- support
-
Constants
-
engine
-
jupiter
-
junit