Uses of Interface
org.junit.platform.engine.TestDescriptor
Packages that use TestDescriptor
Package
Description
Core package for the JUnit Jupiter test engine.
Test descriptors used within the JUnit Jupiter test engine.
Internal classes for test discovery within the JUnit Jupiter test engine.
Public API for test engines.
TestDescriptor-related support classes
intended to be used by test engine implementations and clients of
the launcher.Configurable test discovery implementation that can be reused by different test engines.
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction.Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder.Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.Core package for the JUnit Vintage test engine.
Test descriptors used within the JUnit Vintage test engine.
Internal classes for test discovery within the JUnit Vintage test engine.
Internal classes for test execution within the JUnit Vintage test engine.
-
Uses of TestDescriptor in org.junit.jupiter.engine
Methods in org.junit.jupiter.engine that return TestDescriptorModifier and TypeMethodDescriptionJupiterTestEngine.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of TestDescriptor in org.junit.jupiter.engine.descriptor
Classes in org.junit.jupiter.engine.descriptor with type parameters of type TestDescriptorModifier and TypeClassDescription(package private) classAbstractExtensionContext<T extends TestDescriptor>Classes in org.junit.jupiter.engine.descriptor that implement TestDescriptorModifier and TypeClassDescriptionclassTestDescriptorfor tests based on Java classes.classTestDescriptorfor tests based on Java classes.(package private) classTestDescriptorfor aDynamicContainer.(package private) classBaseTestDescriptorfor aDynamicNode.(package private) classTestDescriptorfor aDynamicTest.classclassclassBase class forTestDescriptorsbased on Java methods.classTestDescriptorfor tests based on nested (but not static) Java classes.classTestDescriptorfor@TestFactorymethods.classTestDescriptorfor@Testmethods.classTestDescriptorfor a@TestTemplateinvocation.classTestDescriptorfor@TestTemplatemethods.Fields in org.junit.jupiter.engine.descriptor declared as TestDescriptorMethods in org.junit.jupiter.engine.descriptor that return types with arguments of type TestDescriptorModifier and TypeMethodDescriptionprivate Optional<TestDescriptor> TestTemplateTestDescriptor.createInvocationTestDescriptor(TestTemplateInvocationContext invocationContext, int index) Methods in org.junit.jupiter.engine.descriptor with parameters of type TestDescriptorModifier and TypeMethodDescriptionprivate voidTestTemplateTestDescriptor.execute(Node.DynamicTestExecutor dynamicTestExecutor, TestDescriptor testDescriptor) voidTestFactoryTestDescriptor.nodeFinished(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result) OverrideTestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)as a no-op, since theTestWatcherAPI is not supported for@TestFactorycontainers.voidTestMethodTestDescriptor.nodeFinished(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result) InvoketestSuccessful(),testAborted(), ortestFailed()on each registeredTestWatcheraccording to the status of the suppliedTestExecutionResult, in reverse registration order.voidMethodBasedTestDescriptor.nodeSkipped(JupiterEngineExecutionContext context, TestDescriptor descriptor, Node.SkipResult result) InvokeTestWatcher.testDisabled(ExtensionContext, Optional)on each registeredTestWatcher, in registration order.voidTestFactoryTestDescriptor.nodeSkipped(JupiterEngineExecutionContext context, TestDescriptor descriptor, Node.SkipResult result) OverrideMethodBasedTestDescriptor.nodeSkipped(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.support.hierarchical.Node.SkipResult)as a no-op, since theTestWatcherAPI is not supported for@TestFactorycontainers. -
Uses of TestDescriptor in org.junit.jupiter.engine.discovery
Methods in org.junit.jupiter.engine.discovery that return TestDescriptorModifier and TypeMethodDescriptionprotected abstract TestDescriptorMethodSelectorResolver.MethodType.createTestDescriptor(UniqueId uniqueId, Class<?> testClass, Method method, JupiterConfiguration configuration) Methods in org.junit.jupiter.engine.discovery that return types with arguments of type TestDescriptorModifier and TypeMethodDescriptionprivate Optional<TestDescriptor> MethodSelectorResolver.MethodType.resolve(List<Class<?>> enclosingClasses, Class<?> testClass, Method method, SelectorResolver.Context context, JupiterConfiguration configuration) private Optional<TestDescriptor> MethodSelectorResolver.MethodType.resolveUniqueIdIntoTestDescriptor(UniqueId uniqueId, SelectorResolver.Context context, JupiterConfiguration configuration) Methods in org.junit.jupiter.engine.discovery with parameters of type TestDescriptorModifier and TypeMethodDescriptionprivate UniqueIdMethodSelectorResolver.MethodType.createUniqueId(Method method, TestDescriptor parent) private Supplier<Set<? extends DiscoverySelector>> MethodSelectorResolver.expansionCallback(TestDescriptor testDescriptor) private ClassTestDescriptorClassSelectorResolver.newClassTestDescriptor(TestDescriptor parent, Class<?> testClass) private NestedClassTestDescriptorClassSelectorResolver.newNestedClassTestDescriptor(TestDescriptor parent, Class<?> testClass) voidMethodOrderingVisitor.visit(TestDescriptor testDescriptor) -
Uses of TestDescriptor in org.junit.platform.engine
Fields in org.junit.platform.engine declared as TestDescriptorModifier and TypeFieldDescriptionprivate final TestDescriptorExecutionRequest.rootTestDescriptorMethods in org.junit.platform.engine that return TestDescriptorModifier and TypeMethodDescriptionTestEngine.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) Discover tests according to the suppliedEngineDiscoveryRequest.ExecutionRequest.getRootTestDescriptor()Get the rootTestDescriptorof the engine that processes this request.Methods in org.junit.platform.engine that return types with arguments of type TestDescriptorModifier and TypeMethodDescriptionOptional<? extends TestDescriptor> TestDescriptor.findByUniqueId(UniqueId uniqueId) Find the descriptor with the supplied unique ID.Set<? extends TestDescriptor> TestDescriptor.getChildren()Get the immutable set of children of this descriptor.default Set<? extends TestDescriptor> TestDescriptor.getDescendants()Get the immutable set of all descendants of this descriptor.TestDescriptor.getParent()Get the parent of this descriptor, if available.Methods in org.junit.platform.engine with parameters of type TestDescriptorModifier and TypeMethodDescriptionvoidTestDescriptor.addChild(TestDescriptor descriptor) Add a child to this descriptor.static booleanTestDescriptor.containsTests(TestDescriptor testDescriptor) Determine if the supplied descriptor (or any of its descendants) is a test or may potentially register tests dynamically.default voidEngineExecutionListener.dynamicTestRegistered(TestDescriptor testDescriptor) Must be called when a new, dynamicTestDescriptorhas been registered.default voidEngineExecutionListener.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome.default voidEngineExecutionListener.executionSkipped(TestDescriptor testDescriptor, String reason) Must be called when the execution of a leaf or subtree of the test tree has been skipped.default voidEngineExecutionListener.executionStarted(TestDescriptor testDescriptor) Must be called when the execution of a leaf or subtree of the test tree is about to be started.voidTestDescriptor.removeChild(TestDescriptor descriptor) Remove a child from this descriptor.default voidEngineExecutionListener.reportingEntryPublished(TestDescriptor testDescriptor, ReportEntry entry) Can be called for anyTestDescriptorin order to publish additional information to the reporting infrastructure — for example: Output that would otherwise go toSystem.outInformation about test context or test datavoidTestDescriptor.setParent(TestDescriptor parent) Set the parent of this descriptor.voidTestDescriptor.Visitor.visit(TestDescriptor descriptor) Visit aTestDescriptor.Constructors in org.junit.platform.engine with parameters of type TestDescriptorModifierConstructorDescriptionExecutionRequest(TestDescriptor rootTestDescriptor, EngineExecutionListener engineExecutionListener, ConfigurationParameters configurationParameters) -
Uses of TestDescriptor in org.junit.platform.engine.support.descriptor
Classes in org.junit.platform.engine.support.descriptor that implement TestDescriptorModifier and TypeClassDescriptionclassAbstract base implementation ofTestDescriptorthat may be used by customTestEngines.classFields in org.junit.platform.engine.support.descriptor declared as TestDescriptorFields in org.junit.platform.engine.support.descriptor with type parameters of type TestDescriptorModifier and TypeFieldDescriptionprotected final Set<TestDescriptor> AbstractTestDescriptor.childrenThe synchronized set of children associated with thisTestDescriptor.Methods in org.junit.platform.engine.support.descriptor that return types with arguments of type TestDescriptorModifier and TypeMethodDescriptionOptional<? extends TestDescriptor> AbstractTestDescriptor.findByUniqueId(UniqueId uniqueId) final Set<? extends TestDescriptor> AbstractTestDescriptor.getChildren()final Optional<TestDescriptor> AbstractTestDescriptor.getParent()Methods in org.junit.platform.engine.support.descriptor with parameters of type TestDescriptorModifier and TypeMethodDescriptionvoidAbstractTestDescriptor.addChild(TestDescriptor child) voidAbstractTestDescriptor.removeChild(TestDescriptor child) final voidAbstractTestDescriptor.setParent(TestDescriptor parent) -
Uses of TestDescriptor in org.junit.platform.engine.support.discovery
Classes in org.junit.platform.engine.support.discovery with type parameters of type TestDescriptorModifier and TypeClassDescriptionclassEngineDiscoveryRequestResolver<T extends TestDescriptor>Configurable test discovery implementation based onSelectorResolverandTestDescriptor.Visitorthat can be reused by differentTestEngines.static classBuilder forEngineDiscoveryRequestResolver.private static classstatic interfaceThe initialization context for creating resolvers and visitors that depend on theEngineDiscoveryRequestto be resolved or the engine descriptor that will be used to collect the results.Fields in org.junit.platform.engine.support.discovery declared as TestDescriptorModifier and TypeFieldDescriptionprivate final TestDescriptorEngineDiscoveryRequestResolution.engineDescriptorprivate final TEngineDiscoveryRequestResolver.DefaultInitializationContext.engineDescriptorprivate final TestDescriptorEngineDiscoveryRequestResolution.DefaultContext.parentprivate final TestDescriptorSelectorResolver.Match.testDescriptorMethods in org.junit.platform.engine.support.discovery with type parameters of type TestDescriptorModifier and TypeMethodDescription<T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.addToParent(Function<TestDescriptor, Optional<T>> creator) <T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.addToParent(Supplier<DiscoverySelector> parentSelectorSupplier, Function<TestDescriptor, Optional<T>> creator) <T extends TestDescriptor>
Optional<T> SelectorResolver.Context.addToParent(Function<TestDescriptor, Optional<T>> creator) Add aTestDescriptorto an unspecified parent, usually the engine descriptor, by applying the suppliedFunctionto the new parent.<T extends TestDescriptor>
Optional<T> SelectorResolver.Context.addToParent(Supplier<DiscoverySelector> parentSelectorSupplier, Function<TestDescriptor, Optional<T>> creator) Add aTestDescriptorto a parent, specified by theDiscoverySelectorreturned by the suppliedSupplier, by applying the suppliedFunctionto the new parent.static <T extends TestDescriptor>
EngineDiscoveryRequestResolver.Builder<T> EngineDiscoveryRequestResolver.builder()Create a newEngineDiscoveryRequestResolver.Builderfor creating aEngineDiscoveryRequestResolver.private <T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.createAndAdd(TestDescriptor parent, Function<TestDescriptor, Optional<T>> creator) Methods in org.junit.platform.engine.support.discovery that return TestDescriptorModifier and TypeMethodDescriptionSelectorResolver.Match.getTestDescriptor()Get the containedTestDescriptor.Methods in org.junit.platform.engine.support.discovery that return types with arguments of type TestDescriptorModifier and TypeMethodDescriptionEngineDiscoveryRequestResolution.DefaultContext.resolve(DiscoverySelector selector) SelectorResolver.Context.resolve(DiscoverySelector selector) Resolve the suppliedTestDescriptor, if possible.Methods in org.junit.platform.engine.support.discovery with parameters of type TestDescriptorModifier and TypeMethodDescriptionprivate <T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.createAndAdd(TestDescriptor parent, Function<TestDescriptor, Optional<T>> creator) static SelectorResolver.MatchSelectorResolver.Match.exact(TestDescriptor testDescriptor) Factory for creating an exact match without any children.static SelectorResolver.MatchSelectorResolver.Match.exact(TestDescriptor testDescriptor, Supplier<Set<? extends DiscoverySelector>> childSelectorsSupplier) Factory for creating an exact match with potential children.static SelectorResolver.MatchSelectorResolver.Match.partial(TestDescriptor testDescriptor) Factory for creating a partial match without any children.static SelectorResolver.MatchSelectorResolver.Match.partial(TestDescriptor testDescriptor, Supplier<Set<? extends DiscoverySelector>> childSelectorsSupplier) Factory for creating a partial match with potential children.Method parameters in org.junit.platform.engine.support.discovery with type arguments of type TestDescriptorModifier and TypeMethodDescription<T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.addToParent(Function<TestDescriptor, Optional<T>> creator) <T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.addToParent(Supplier<DiscoverySelector> parentSelectorSupplier, Function<TestDescriptor, Optional<T>> creator) <T extends TestDescriptor>
Optional<T> SelectorResolver.Context.addToParent(Function<TestDescriptor, Optional<T>> creator) Add aTestDescriptorto an unspecified parent, usually the engine descriptor, by applying the suppliedFunctionto the new parent.<T extends TestDescriptor>
Optional<T> SelectorResolver.Context.addToParent(Supplier<DiscoverySelector> parentSelectorSupplier, Function<TestDescriptor, Optional<T>> creator) Add aTestDescriptorto a parent, specified by theDiscoverySelectorreturned by the suppliedSupplier, by applying the suppliedFunctionto the new parent.private <T extends TestDescriptor>
Optional<T> EngineDiscoveryRequestResolution.DefaultContext.createAndAdd(TestDescriptor parent, Function<TestDescriptor, Optional<T>> creator) Constructors in org.junit.platform.engine.support.discovery with parameters of type TestDescriptorModifierConstructorDescription(package private)DefaultContext(TestDescriptor parent) (package private)EngineDiscoveryRequestResolution(EngineDiscoveryRequest request, TestDescriptor engineDescriptor, List<SelectorResolver> resolvers, List<TestDescriptor.Visitor> visitors) privateMatch(TestDescriptor testDescriptor, Supplier<Set<? extends DiscoverySelector>> childSelectorsSupplier, SelectorResolver.Match.Type type) -
Uses of TestDescriptor in org.junit.platform.engine.support.hierarchical
Fields in org.junit.platform.engine.support.hierarchical declared as TestDescriptorFields in org.junit.platform.engine.support.hierarchical with type parameters of type TestDescriptorModifier and TypeFieldDescriptionprivate final Map<TestDescriptor, Node.ExecutionMode> NodeExecutionAdvisor.forcedDescendantExecutionModeByTestDescriptorprivate final Map<TestDescriptor, ResourceLock> NodeExecutionAdvisor.resourceLocksByTestDescriptorMethods in org.junit.platform.engine.support.hierarchical with parameters of type TestDescriptorModifier and TypeMethodDescription(package private) static <C extends EngineExecutionContext>
Node<C> NodeUtils.asNode(TestDescriptor testDescriptor) private voidNodeTreeWalker.doForChildrenRecursively(TestDescriptor parent, Consumer<TestDescriptor> consumer) voidNode.DynamicTestExecutor.execute(TestDescriptor testDescriptor) Submit a dynamic test descriptor for immediate execution.Future<?> Node.DynamicTestExecutor.execute(TestDescriptor testDescriptor, EngineExecutionListener executionListener) Submit a dynamic test descriptor for immediate execution with a custom, potentially no-op, execution listener.voidNodeTestTask.DefaultDynamicTestExecutor.execute(TestDescriptor testDescriptor) Future<?> NodeTestTask.DefaultDynamicTestExecutor.execute(TestDescriptor testDescriptor, EngineExecutionListener executionListener) (package private) voidNodeExecutionAdvisor.forceDescendantExecutionMode(TestDescriptor testDescriptor, Node.ExecutionMode executionMode) private Set<ExclusiveResource> NodeTreeWalker.getExclusiveResources(TestDescriptor testDescriptor) (package private) Optional<Node.ExecutionMode> NodeExecutionAdvisor.getForcedExecutionMode(TestDescriptor testDescriptor) (package private) ResourceLockNodeExecutionAdvisor.getResourceLock(TestDescriptor testDescriptor) private Optional<Node.ExecutionMode> NodeExecutionAdvisor.lookupExecutionModeForcedByAncestor(TestDescriptor testDescriptor) default voidNode.nodeFinished(C context, TestDescriptor testDescriptor, TestExecutionResult result) Callback invoked when the execution of this node has finished.default voidNode.nodeSkipped(C context, TestDescriptor testDescriptor, Node.SkipResult result) Callback invoked when the execution of this node has been skipped.(package private) voidNodeExecutionAdvisor.useResourceLock(TestDescriptor testDescriptor, ResourceLock resourceLock) (package private) NodeExecutionAdvisorNodeTreeWalker.walk(TestDescriptor rootDescriptor) private voidNodeTreeWalker.walk(TestDescriptor globalLockDescriptor, TestDescriptor testDescriptor, NodeExecutionAdvisor advisor) Method parameters in org.junit.platform.engine.support.hierarchical with type arguments of type TestDescriptorModifier and TypeMethodDescriptionprivate voidNodeTreeWalker.doForChildrenRecursively(TestDescriptor parent, Consumer<TestDescriptor> consumer) Constructors in org.junit.platform.engine.support.hierarchical with parameters of type TestDescriptorModifierConstructorDescription(package private)NodeTestTask(NodeTestTaskContext taskContext, TestDescriptor testDescriptor) -
Uses of TestDescriptor in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestDescriptorModifier and TypeMethodDescriptionstatic TestIdentifierTestIdentifier.from(TestDescriptor testDescriptor) Factory for creating a newTestIdentifierfrom aTestDescriptor.Method parameters in org.junit.platform.launcher with type arguments of type TestDescriptorModifier and TypeMethodDescriptionstatic TestPlanTestPlan.from(Collection<TestDescriptor> engineDescriptors) Construct a newTestPlanfrom the supplied collection ofTestDescriptors. -
Uses of TestDescriptor in org.junit.platform.launcher.core
Classes in org.junit.platform.launcher.core that implement TestDescriptorModifier and TypeClassDescription(package private) classRepresents an error thrown by aTestEngineduring discovery.Fields in org.junit.platform.launcher.core declared as TestDescriptorModifier and TypeFieldDescriptionprivate final TestDescriptorOutcomeDelayingEngineExecutionListener.engineDescriptorFields in org.junit.platform.launcher.core with type parameters of type TestDescriptorModifier and TypeFieldDescriptionprivate final Map<TestEngine, TestDescriptor> LauncherDiscoveryResult.testEngineDescriptorsMethods in org.junit.platform.launcher.core that return TestDescriptorModifier and TypeMethodDescriptionprivate TestDescriptorEngineDiscoveryOrchestrator.discoverEngineRoot(TestEngine testEngine, LauncherDiscoveryRequest discoveryRequest) LauncherDiscoveryResult.getEngineTestDescriptor(TestEngine testEngine) Methods in org.junit.platform.launcher.core that return types with arguments of type TestDescriptorModifier and TypeMethodDescription(package private) Collection<TestDescriptor> LauncherDiscoveryResult.getEngineTestDescriptors()Methods in org.junit.platform.launcher.core with parameters of type TestDescriptorModifier and TypeMethodDescriptionvoidDelegatingEngineExecutionListener.dynamicTestRegistered(TestDescriptor testDescriptor) voidExecutionListenerAdapter.dynamicTestRegistered(TestDescriptor testDescriptor) private voidEngineExecutionOrchestrator.execute(TestDescriptor engineDescriptor, EngineExecutionListener listener, ConfigurationParameters configurationParameters, TestEngine testEngine) voidDelegatingEngineExecutionListener.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) voidExecutionListenerAdapter.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) voidOutcomeDelayingEngineExecutionListener.executionFinished(TestDescriptor testDescriptor, TestExecutionResult executionResult) voidDelegatingEngineExecutionListener.executionSkipped(TestDescriptor testDescriptor, String reason) voidExecutionListenerAdapter.executionSkipped(TestDescriptor testDescriptor, String reason) voidOutcomeDelayingEngineExecutionListener.executionSkipped(TestDescriptor testDescriptor, String reason) voidDelegatingEngineExecutionListener.executionStarted(TestDescriptor testDescriptor) voidExecutionListenerAdapter.executionStarted(TestDescriptor testDescriptor) voidOutcomeDelayingEngineExecutionListener.executionStarted(TestDescriptor testDescriptor) private TestIdentifierExecutionListenerAdapter.getTestIdentifier(TestDescriptor testDescriptor) (package private) booleanEngineDiscoveryResultValidator.isAcyclic(TestDescriptor root) private booleanEngineDiscoveryOrchestrator.isExcluded(TestDescriptor descriptor, FilterResult filterResult) private voidEngineDiscoveryOrchestrator.populateExclusionReasonInMap(Optional<String> reason, TestDescriptor testDescriptor, Map<String, List<TestDescriptor>> excludedTestDescriptorsByReason) voidDelegatingEngineExecutionListener.reportingEntryPublished(TestDescriptor testDescriptor, ReportEntry entry) voidExecutionListenerAdapter.reportingEntryPublished(TestDescriptor testDescriptor, ReportEntry entry) (package private) voidEngineDiscoveryResultValidator.validate(TestEngine testEngine, TestDescriptor root) Perform common validation checks.Method parameters in org.junit.platform.launcher.core with type arguments of type TestDescriptorModifier and TypeMethodDescriptionprivate voidEngineDiscoveryOrchestrator.acceptInAllTestEngines(Map<TestEngine, TestDescriptor> testEngineDescriptors, TestDescriptor.Visitor visitor) private voidEngineDiscoveryOrchestrator.applyPostDiscoveryFilters(Map<TestEngine, TestDescriptor> testEngineDescriptors, List<PostDiscoveryFilter> filters) private voidEngineDiscoveryOrchestrator.logTestDescriptorExclusionReasons(Map<String, List<TestDescriptor>> excludedTestDescriptorsByReason) private voidEngineDiscoveryOrchestrator.populateExclusionReasonInMap(Optional<String> reason, TestDescriptor testDescriptor, Map<String, List<TestDescriptor>> excludedTestDescriptorsByReason) private voidEngineDiscoveryOrchestrator.prune(Map<TestEngine, TestDescriptor> testEngineDescriptors) Prune all branches in the tree ofTestDescriptorsthat do not have executable tests.Constructors in org.junit.platform.launcher.core with parameters of type TestDescriptorModifierConstructorDescription(package private)OutcomeDelayingEngineExecutionListener(EngineExecutionListener delegate, TestDescriptor engineDescriptor) Constructor parameters in org.junit.platform.launcher.core with type arguments of type TestDescriptorModifierConstructorDescription(package private)LauncherDiscoveryResult(Map<TestEngine, TestDescriptor> testEngineDescriptors, ConfigurationParameters configurationParameters) -
Uses of TestDescriptor in org.junit.platform.testkit.engine
Fields in org.junit.platform.testkit.engine declared as TestDescriptorModifier and TypeFieldDescriptionprivate final TestDescriptorEvent.testDescriptorprivate final TestDescriptorExecution.testDescriptorMethods in org.junit.platform.testkit.engine that return TestDescriptorModifier and TypeMethodDescriptionEvent.getTestDescriptor()Get theTestDescriptorassociated with thisEvent.Execution.getTestDescriptor()Get theTestDescriptorfor thisExecution.Methods in org.junit.platform.testkit.engine with parameters of type TestDescriptorModifier and TypeMethodDescriptionstatic EventEvent.dynamicTestRegistered(TestDescriptor testDescriptor) Create anEventfor the dynamic registration of the suppliedTestDescriptor.voidExecutionRecorder.dynamicTestRegistered(TestDescriptor testDescriptor) Record anEventfor a dynamically registered container or test.static EventEvent.executionFinished(TestDescriptor testDescriptor, TestExecutionResult result) voidExecutionRecorder.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) Record anEventfor a container or test that completed with the providedTestExecutionResult.static EventEvent.executionSkipped(TestDescriptor testDescriptor, String reason) voidExecutionRecorder.executionSkipped(TestDescriptor testDescriptor, String reason) Record anEventfor a container or test that was skipped.static EventEvent.executionStarted(TestDescriptor testDescriptor) Create a startedEventfor the suppliedTestDescriptor.voidExecutionRecorder.executionStarted(TestDescriptor testDescriptor) Record anEventfor a container or test that started.static ExecutionExecution.finished(TestDescriptor testDescriptor, Instant startInstant, Instant endInstant, TestExecutionResult executionResult) Create a new instance of anExecutionthat finished with the providedTestExecutionResult.static EventEvent.reportingEntryPublished(TestDescriptor testDescriptor, ReportEntry entry) voidExecutionRecorder.reportingEntryPublished(TestDescriptor testDescriptor, ReportEntry entry) Record anEventfor a publishedReportEntry.static ExecutionExecution.skipped(TestDescriptor testDescriptor, Instant startInstant, Instant endInstant, String skipReason) Create a new instance of anExecutionthat was skipped with the providedskipReason.Method parameters in org.junit.platform.testkit.engine with type arguments of type TestDescriptorModifier and TypeMethodDescriptionEvent.byTestDescriptor(Predicate<? super TestDescriptor> testDescriptorPredicate) EngineExecutionResults.filterEvents(List<Event> events, Predicate<? super TestDescriptor> predicate) Filter the supplied list of events using the supplied predicate.Constructors in org.junit.platform.testkit.engine with parameters of type TestDescriptorModifierConstructorDescriptionprivateEvent(EventType type, TestDescriptor testDescriptor, Object payload) Construct anEventwith the supplied arguments.privateExecution(TestDescriptor testDescriptor, Instant startInstant, Instant endInstant, TerminationInfo terminationInfo) -
Uses of TestDescriptor in org.junit.vintage.engine
Methods in org.junit.vintage.engine that return TestDescriptorModifier and TypeMethodDescriptionVintageTestEngine.discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) Methods in org.junit.vintage.engine with parameters of type TestDescriptorModifier and TypeMethodDescriptionprivate voidVintageTestEngine.executeAllChildren(RunnerExecutor runnerExecutor, TestDescriptor engineDescriptor) -
Uses of TestDescriptor in org.junit.vintage.engine.descriptor
Classes in org.junit.vintage.engine.descriptor that implement TestDescriptorModifier and TypeClassDescriptionclassclassclass -
Uses of TestDescriptor in org.junit.vintage.engine.discovery
Fields in org.junit.vintage.engine.discovery with type parameters of type TestDescriptorModifier and TypeFieldDescriptionprivate static final EngineDiscoveryRequestResolver<TestDescriptor> VintageDiscoverer.resolverMethods in org.junit.vintage.engine.discovery with parameters of type TestDescriptorModifier and TypeMethodDescriptionprivate Optional<RunnerTestDescriptor> MethodSelectorResolver.addFilter(TestDescriptor parent, Function<RunnerTestDescriptor, org.junit.runner.manipulation.Filter> filterCreator) private RunnerTestDescriptorClassSelectorResolver.createRunnerTestDescriptor(TestDescriptor parent, Class<?> testClass, org.junit.runner.Runner runner) Method parameters in org.junit.vintage.engine.discovery with type arguments of type TestDescriptorModifier and TypeMethodDescriptionprivate Set<org.junit.runner.Description> UniqueIdFilter.determineDescendants(Optional<? extends TestDescriptor> identifiedTestDescriptor) private Deque<org.junit.runner.Description> UniqueIdFilter.determinePath(RunnerTestDescriptor runnerTestDescriptor, Optional<? extends TestDescriptor> identifiedTestDescriptor) -
Uses of TestDescriptor in org.junit.vintage.engine.execution
Fields in org.junit.vintage.engine.execution with type parameters of type TestDescriptorModifier and TypeFieldDescriptionprivate final Map<TestDescriptor, List<TestExecutionResult>> TestRun.executionResultsprivate final Set<TestDescriptor> TestRun.finishedDescriptorsprivate final Map<TestDescriptor, EventType> TestRun.inProgressDescriptorsprivate final Set<TestDescriptor> TestRun.runnerDescendantsprivate final Set<TestDescriptor> TestRun.skippedDescriptorsprivate final Set<TestDescriptor> TestRun.startedDescriptorsMethods in org.junit.vintage.engine.execution that return TestDescriptorModifier and TypeMethodDescriptionprivate TestDescriptorRunListenerAdapter.findParent(org.junit.runner.Description description, Function<org.junit.runner.Description, Optional<VintageTestDescriptor>> lookup) private TestDescriptorRunListenerAdapter.lookupOrRegisterCurrentTestDescriptor(org.junit.runner.Description description) private TestDescriptorRunListenerAdapter.lookupOrRegisterNextTestDescriptor(org.junit.runner.Description description) private TestDescriptorRunListenerAdapter.lookupOrRegisterTestDescriptor(org.junit.runner.Description description, Function<org.junit.runner.Description, Optional<VintageTestDescriptor>> lookup) Methods in org.junit.vintage.engine.execution that return types with arguments of type TestDescriptorMethods in org.junit.vintage.engine.execution with parameters of type TestDescriptorModifier and TypeMethodDescriptionprivate booleanRunListenerAdapter.canFinish(TestDescriptor testDescriptor) private booleanRunListenerAdapter.canStart(TestDescriptor testDescriptor) private voidRunListenerAdapter.dynamicTestRegistered(TestDescriptor testDescriptor) private voidRunListenerAdapter.fireExecutionFinished(TestDescriptor testDescriptor) private voidRunListenerAdapter.fireExecutionFinishedForInProgressNonAncestorTestDescriptorsWithSyntheticStartEvents(TestDescriptor testDescriptor) private voidRunListenerAdapter.fireExecutionSkipped(TestDescriptor testDescriptor, String reason) private voidRunListenerAdapter.fireExecutionStarted(TestDescriptor testDescriptor, EventType eventType) (package private) TestExecutionResultTestRun.getStoredResultOrSuccessful(TestDescriptor testDescriptor) private voidRunListenerAdapter.handleFailure(org.junit.runner.notification.Failure failure, Function<Throwable, TestExecutionResult> resultCreator, TestDescriptor testDescriptor) private booleanRunListenerAdapter.isAncestor(TestDescriptor candidate, TestDescriptor testDescriptor) (package private) booleanTestRun.isDescendantOfRunnerTestDescriptor(TestDescriptor testDescriptor) (package private) booleanTestRun.isFinished(TestDescriptor testDescriptor) (package private) booleanTestRun.isFinishedOrSkipped(TestDescriptor testDescriptor) (package private) booleanTestRun.isNotFinished(TestDescriptor testDescriptor) (package private) booleanTestRun.isNotSkipped(TestDescriptor testDescriptor) (package private) booleanTestRun.isNotStarted(TestDescriptor testDescriptor) (package private) booleanTestRun.isSkipped(TestDescriptor testDescriptor) (package private) voidTestRun.markFinished(TestDescriptor testDescriptor) (package private) voidTestRun.markSkipped(TestDescriptor testDescriptor) (package private) voidTestRun.markStarted(TestDescriptor testDescriptor, EventType eventType) (package private) voidTestRun.storeResult(TestDescriptor testDescriptor, TestExecutionResult result) private voidRunListenerAdapter.testFinished(TestDescriptor descriptor) private voidRunListenerAdapter.testIgnored(TestDescriptor testDescriptor, String reason) private voidRunListenerAdapter.testStarted(TestDescriptor testDescriptor, EventType eventType) Method parameters in org.junit.vintage.engine.execution with type arguments of type TestDescriptorModifier and TypeMethodDescription(package private) booleanTestRun.areAllFinishedOrSkipped(Set<? extends TestDescriptor> testDescriptors) private voidRunListenerAdapter.fireExecutionStartedIncludingUnstartedAncestors(Optional<TestDescriptor> parent)