Uses of Class
org.junit.platform.launcher.TestPlan
-
Packages that use TestPlan Package Description org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.launcher.core Core support classes for theLauncher
including theLauncherFactory
and theLauncherDiscoveryRequestBuilder
.org.junit.platform.launcher.listeners CommonTestExecutionListener
implementations and related support classes for theLauncher
.org.junit.platform.runner Runner
and annotations for configuring and executing tests on the JUnit Platform in a JUnit 4 environment. -
-
Uses of TestPlan in org.junit.platform.launcher
Methods in org.junit.platform.launcher that return TestPlan Modifier and Type Method Description TestPlan
Launcher. discover(LauncherDiscoveryRequest launcherDiscoveryRequest)
Discover tests and build aTestPlan
according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results.static TestPlan
TestPlan. from(java.util.Collection<TestDescriptor> engineDescriptors, ConfigurationParameters configurationParameters)
Construct a newTestPlan
from the supplied collection ofTestDescriptors
.Methods in org.junit.platform.launcher with parameters of type TestPlan Modifier and Type Method Description void
Launcher. execute(TestPlan testPlan, TestExecutionListener... listeners)
Execute the suppliedTestPlan
and notify registered listeners about the progress and results of the execution.default void
TestExecutionListener. testPlanExecutionFinished(TestPlan testPlan)
Called when the execution of theTestPlan
has finished, after all tests have been executed.default void
TestExecutionListener. testPlanExecutionStarted(TestPlan testPlan)
Called when the execution of theTestPlan
has started, before any test has been executed. -
Uses of TestPlan in org.junit.platform.launcher.core
Subclasses of TestPlan in org.junit.platform.launcher.core Modifier and Type Class Description (package private) class
InternalTestPlan
Fields in org.junit.platform.launcher.core declared as TestPlan Modifier and Type Field Description private TestPlan
InternalTestPlan. delegate
private TestPlan
ExecutionListenerAdapter. testPlan
Methods in org.junit.platform.launcher.core that return TestPlan Modifier and Type Method Description TestPlan
DefaultLauncher. discover(LauncherDiscoveryRequest discoveryRequest)
TestPlan
DefaultLauncherSession.ClosedLauncher. discover(LauncherDiscoveryRequest launcherDiscoveryRequest)
TestPlan
DelegatingLauncher. discover(LauncherDiscoveryRequest launcherDiscoveryRequest)
TestPlan
InterceptingLauncher. discover(LauncherDiscoveryRequest launcherDiscoveryRequest)
TestPlan
SessionPerRequestLauncher. discover(LauncherDiscoveryRequest launcherDiscoveryRequest)
TestPlan
InternalTestPlan. getDelegate()
Methods in org.junit.platform.launcher.core with parameters of type TestPlan Modifier and Type Method Description private static EngineExecutionListener
EngineExecutionOrchestrator. buildEngineExecutionListener(EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, TestPlan testPlan)
private void
EngineExecutionOrchestrator. dryRun(TestPlan testPlan, TestExecutionListener listener)
void
DefaultLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)
void
DefaultLauncherSession.ClosedLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)
void
DelegatingLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)
void
InterceptingLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)
void
SessionPerRequestLauncher. execute(TestPlan testPlan, TestExecutionListener... listeners)
void
CompositeTestExecutionListener. testPlanExecutionFinished(TestPlan testPlan)
void
CompositeTestExecutionListener. testPlanExecutionStarted(TestPlan testPlan)
Constructors in org.junit.platform.launcher.core with parameters of type TestPlan Constructor Description ExecutionListenerAdapter(TestPlan testPlan, TestExecutionListener testExecutionListener)
InternalTestPlan(LauncherDiscoveryResult discoveryResult, TestPlan delegate)
-
Uses of TestPlan in org.junit.platform.launcher.listeners
Fields in org.junit.platform.launcher.listeners declared as TestPlan Modifier and Type Field Description private TestPlan
MutableTestExecutionSummary. testPlan
private TestPlan
SummaryGeneratingListener. testPlan
Methods in org.junit.platform.launcher.listeners with parameters of type TestPlan Modifier and Type Method Description static java.lang.String
LegacyReportingUtils. getClassName(TestPlan testPlan, TestIdentifier testIdentifier)
Deprecated.Get the class name for the suppliedTestIdentifier
using the suppliedTestPlan
.private static TestIdentifier
LegacyReportingUtils. getParent(TestPlan testPlan, TestIdentifier testIdentifier)
Deprecated.private static java.lang.String
LegacyReportingUtils. getParentLegacyReportingName(TestPlan testPlan, TestIdentifier testIdentifier)
Deprecated.void
LoggingListener. testPlanExecutionFinished(TestPlan testPlan)
void
SummaryGeneratingListener. testPlanExecutionFinished(TestPlan testPlan)
void
UniqueIdTrackingListener. testPlanExecutionFinished(TestPlan testPlan)
void
LoggingListener. testPlanExecutionStarted(TestPlan testPlan)
void
SummaryGeneratingListener. testPlanExecutionStarted(TestPlan testPlan)
void
UniqueIdTrackingListener. testPlanExecutionStarted(TestPlan testPlan)
Constructors in org.junit.platform.launcher.listeners with parameters of type TestPlan Constructor Description MutableTestExecutionSummary(TestPlan testPlan)
-
Uses of TestPlan in org.junit.platform.runner
Fields in org.junit.platform.runner declared as TestPlan Modifier and Type Field Description private TestPlan
JUnitPlatformTestTree. testPlan
Methods in org.junit.platform.runner that return TestPlan Modifier and Type Method Description TestPlan
JUnitPlatformTestTree. getTestPlan()
Methods in org.junit.platform.runner with parameters of type TestPlan Modifier and Type Method Description private void
JUnitPlatformTestTree. buildDescription(TestIdentifier identifier, org.junit.runner.Description parent, TestPlan testPlan)
private void
JUnitPlatformTestTree. buildDescriptionTree(org.junit.runner.Description suiteDescription, TestPlan testPlan)
private org.junit.runner.Description
JUnitPlatformTestTree. createJUnit4Description(TestIdentifier identifier, TestPlan testPlan)
private org.junit.runner.Description
JUnitPlatformTestTree. generateSuiteDescription(TestPlan testPlan, java.lang.Class<?> testClass)
Constructors in org.junit.platform.runner with parameters of type TestPlan Constructor Description JUnitPlatformTestTree(TestPlan testPlan, java.lang.Class<?> testClass)
-