Uses of Interface
org.junit.platform.engine.TestDescriptor
-
Packages that use TestDescriptor Package Description org.junit.jupiter.engine Core package for the JUnit Jupiter test engine.org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.org.junit.jupiter.engine.discovery Internal classes for test discovery within the JUnit Jupiter test engine.org.junit.platform.engine Public API for test engines.org.junit.platform.engine.support.descriptor TestDescriptor-related support classes intended to be used by test engine implementations and clients of the launcher.org.junit.platform.engine.support.hierarchical Support classes and base implementation for anyTestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction.org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.testkit.engine Test Kit for testing the execution of aTestEnginerunning on the JUnit Platform.org.junit.vintage.engine Core package for the JUnit Vintage test engine.org.junit.vintage.engine.descriptor Test descriptors used within the JUnit Vintage test engine.org.junit.vintage.engine.discovery Internal classes for test discovery within the JUnit Vintage test engine. -
-
Uses of TestDescriptor in org.junit.jupiter.engine
Methods in org.junit.jupiter.engine that return TestDescriptor Modifier and Type Method Description TestDescriptorJupiterTestEngine. discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of TestDescriptor in org.junit.jupiter.engine.descriptor
Classes in org.junit.jupiter.engine.descriptor that implement TestDescriptor Modifier and Type Class Description classClassTestDescriptorTestDescriptorfor tests based on Java classes.classJupiterEngineDescriptorclassJupiterTestDescriptorclassMethodBasedTestDescriptorBase class forTestDescriptorsbased on Java methods.classNestedClassTestDescriptorTestDescriptorfor tests based on nested (but not static) Java classes.classTestFactoryTestDescriptorTestDescriptorfor@TestFactorymethods.classTestMethodTestDescriptorTestDescriptorfor@Testmethods.classTestTemplateInvocationTestDescriptorTestDescriptorfor a@TestTemplateinvocation.classTestTemplateTestDescriptorTestDescriptorfor@TestTemplatemethods. -
Uses of TestDescriptor in org.junit.jupiter.engine.discovery
Methods in org.junit.jupiter.engine.discovery with parameters of type TestDescriptor Modifier and Type Method Description voidDiscoverySelectorResolver. resolveSelectors(EngineDiscoveryRequest request, JupiterConfiguration configuration, TestDescriptor engineDescriptor) -
Uses of TestDescriptor in org.junit.platform.engine
Methods in org.junit.platform.engine that return TestDescriptor Modifier and Type Method Description TestDescriptorTestEngine. discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId)Discover tests according to the suppliedEngineDiscoveryRequest.TestDescriptorExecutionRequest. getRootTestDescriptor()Get the rootTestDescriptorof the engine that processes this request.Methods in org.junit.platform.engine that return types with arguments of type TestDescriptor Modifier and Type Method Description Optional<? 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.Optional<TestDescriptor>TestDescriptor. getParent()Get the parent of this descriptor, if available.Methods in org.junit.platform.engine with parameters of type TestDescriptor Modifier and Type Method Description voidTestDescriptor. 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.voidEngineExecutionListener. dynamicTestRegistered(TestDescriptor testDescriptor)Must be called when a new, dynamicTestDescriptorhas been registered.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.voidEngineExecutionListener. executionSkipped(TestDescriptor testDescriptor, String reason)Must be called when the execution of a leaf or subtree of the test tree has been skipped.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.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 TestDescriptor Constructor Description ExecutionRequest(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 TestDescriptor Modifier and Type Class Description classAbstractTestDescriptorAbstract base implementation ofTestDescriptorthat may be used by customTestEngines.classEngineDescriptorFields in org.junit.platform.engine.support.descriptor with type parameters of type TestDescriptor Modifier and Type Field Description protected 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 TestDescriptor Modifier and Type Method Description Optional<? extends TestDescriptor>AbstractTestDescriptor. findByUniqueId(UniqueId uniqueId)Set<? extends TestDescriptor>AbstractTestDescriptor. getChildren()Optional<TestDescriptor>AbstractTestDescriptor. getParent()Methods in org.junit.platform.engine.support.descriptor with parameters of type TestDescriptor Modifier and Type Method Description voidAbstractTestDescriptor. addChild(TestDescriptor child)voidAbstractTestDescriptor. removeChild(TestDescriptor child)voidAbstractTestDescriptor. setParent(TestDescriptor parent) -
Uses of TestDescriptor in org.junit.platform.engine.support.hierarchical
Methods in org.junit.platform.engine.support.hierarchical with parameters of type TestDescriptor Modifier and Type Method Description voidNode.DynamicTestExecutor. execute(TestDescriptor testDescriptor)Submit a dynamic test descriptor for immediate execution.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. -
Uses of TestDescriptor in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestDescriptor Modifier and Type Method Description static TestIdentifierTestIdentifier. from(TestDescriptor testDescriptor)Factory for creating a newTestIdentifierfrom aTestDescriptor.Method parameters in org.junit.platform.launcher with type arguments of type TestDescriptor Modifier and Type Method Description static TestPlanTestPlan. from(Collection<TestDescriptor> engineDescriptors)Construct a newTestPlanfrom the supplied collection ofTestDescriptors. -
Uses of TestDescriptor in org.junit.platform.testkit.engine
Methods in org.junit.platform.testkit.engine that return TestDescriptor Modifier and Type Method Description TestDescriptorEvent. getTestDescriptor()Get theTestDescriptorassociated with thisEvent.TestDescriptorExecution. getTestDescriptor()Get theTestDescriptorfor thisExecution.Methods in org.junit.platform.testkit.engine with parameters of type TestDescriptor Modifier and Type Method Description static EventEvent. dynamicTestRegistered(TestDescriptor testDescriptor)Create anEventfor the dynamic registration of the suppliedTestDescriptor.static EventEvent. executionFinished(TestDescriptor testDescriptor, TestExecutionResult result)static EventEvent. executionSkipped(TestDescriptor testDescriptor, String reason)static EventEvent. executionStarted(TestDescriptor testDescriptor)Create a startedEventfor the suppliedTestDescriptor.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)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 TestDescriptor Modifier and Type Method Description static Predicate<Event>Event. byTestDescriptor(Predicate<? super TestDescriptor> testDescriptorPredicate) -
Uses of TestDescriptor in org.junit.vintage.engine
Methods in org.junit.vintage.engine that return TestDescriptor Modifier and Type Method Description TestDescriptorVintageTestEngine. discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) -
Uses of TestDescriptor in org.junit.vintage.engine.descriptor
Classes in org.junit.vintage.engine.descriptor that implement TestDescriptor Modifier and Type Class Description classRunnerTestDescriptorclassVintageTestDescriptor -
Uses of TestDescriptor in org.junit.vintage.engine.discovery
Methods in org.junit.vintage.engine.discovery that return TestDescriptor Modifier and Type Method Description TestDescriptorVintageDiscoverer. discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId)
-