Skip navigation links
junit-platform-launcher
A B C D E F G H I L O P R S T 

A

add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Add the supplied TestIdentifier to this test plan.
apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
 

B

build() - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Build the LauncherDiscoveryRequest that has been configured via this builder.

C

configurationParameter(String, String) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add the supplied configuration parameter to the request.
configurationParameters(Map<String, String>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied configuration parameters to the request.
containsTests() - Method in class org.junit.platform.launcher.TestPlan
 
countTestIdentifiers(Predicate<? super TestIdentifier>) - Method in class org.junit.platform.launcher.TestPlan
Count all TestIdentifiers that satisfy the given predicate.
create() - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for creating a new Launcher using dynamically detected test engines.

D

discover(LauncherDiscoveryRequest) - Method in interface org.junit.platform.launcher.Launcher
Discover tests and build a TestPlan according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results.
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
dynamicTestRegistered(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
dynamicTestRegistered(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when a new, dynamic TestIdentifier has been registered.

E

EngineFilter - Class in org.junit.platform.launcher
An EngineFilter is applied to all TestEngines before they are used.
equals(Object) - Method in class org.junit.platform.launcher.TestIdentifier
 
excludeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
excludeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new exclude EngineFilter based on the supplied engine IDs.
excludeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tags.
excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tags.
execute(LauncherDiscoveryRequest, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute a TestPlan which is built according to the supplied LauncherDiscoveryRequest by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionFinished(TestIdentifier, TestExecutionResult) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has finished, regardless of the outcome.
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionSkipped(TestIdentifier, String) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionSkipped(TestIdentifier, String) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan has been skipped.
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
executionStarted(TestIdentifier) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
executionStarted(TestIdentifier) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of a leaf or subtree of the TestPlan is about to be started.

F

filters(Filter<?>...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied filters to the request.
forJavaUtilLogging() - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using a log level of FINE.
forJavaUtilLogging(Level) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to a Logger using the supplied log level.
from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
Factory for creating a new TestIdentifier from a TestDescriptor.
from(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
Construct a new TestPlan from the supplied collection of TestDescriptors.

G

getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied TestIdentifier.
getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied unique ID.
getContainersAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers aborted.
getContainersFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers that failed.
getContainersFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers found.
getContainersSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers skipped.
getContainersStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers started.
getContainersSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of containers that succeeded.
getDescendants(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get all descendants of the supplied TestIdentifier (i.e., all of its children and their children, recursively).
getDisplayName() - Method in class org.junit.platform.launcher.TestIdentifier
Get the display name of the represented test or container.
getEngineFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the EngineFilters for this request.
getException() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
Get the Throwable causing the failure.
getFailures() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get an immutable list of the failures of the test plan execution.
getLegacyReportingName() - Method in class org.junit.platform.launcher.TestIdentifier
Get the name of this identifier in a format that is suitable for legacy reporting infrastructure — for example, for reporting systems built on the Ant-based XML reporting format for JUnit 4.
getParent(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the parent of the supplied TestIdentifier.
getParentId() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of this identifier's parent, if available.
getPostDiscoveryFilters() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the PostDiscoveryFilters for this request.
getRoots() - Method in class org.junit.platform.launcher.TestPlan
Get the root TestIdentifiers for this test plan.
getSource() - Method in class org.junit.platform.launcher.TestIdentifier
Get the source of the represented test or container, if available.
getSummary() - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
Get the summary generated by this listener.
getTags() - Method in class org.junit.platform.launcher.TestIdentifier
Get the set of tags associated with the represented test or container.
getTestIdentifier() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary.Failure
Get the identifier of the failed test or container.
getTestIdentifier(String) - Method in class org.junit.platform.launcher.TestPlan
Get the TestIdentifier with the supplied unique ID.
getTestsAbortedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests aborted.
getTestsFailedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests that failed.
getTestsFoundCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests found.
getTestsSkippedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests skipped.
getTestsStartedCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests started.
getTestsSucceededCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the number of tests that succeeded.
getTimeFinished() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the timestamp (in milliseconds) when the test plan finished.
getTimeStarted() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the timestamp (in milliseconds) when the test plan started.
getTotalFailureCount() - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Get the total number of failed containers and failed tests.
getType() - Method in class org.junit.platform.launcher.TestIdentifier
Get the underlying descriptor type.
getUniqueId() - Method in class org.junit.platform.launcher.TestIdentifier
Get the unique ID of the represented test or container.

H

hashCode() - Method in class org.junit.platform.launcher.TestIdentifier
 

I

includeEngines(String...) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new include EngineFilter based on the supplied engine IDs.
includeEngines(List<String>) - Static method in class org.junit.platform.launcher.EngineFilter
Create a new include EngineFilter based on the supplied engine IDs.
includeTags(String...) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tags.
includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tags.
isContainer() - Method in class org.junit.platform.launcher.TestIdentifier
Determine if this identifier represents a container.
isTest() - Method in class org.junit.platform.launcher.TestIdentifier
Determine if this identifier represents a test.

L

Launcher - Interface in org.junit.platform.launcher
The Launcher API is the main entry point for client code that wishes to discover and execute tests using one or more test engines.
LauncherDiscoveryRequest - Interface in org.junit.platform.launcher
LauncherDiscoveryRequest extends the EngineDiscoveryRequest API with additional filters that are applied by the Launcher itself.
LauncherDiscoveryRequestBuilder - Class in org.junit.platform.launcher.core
The LauncherDiscoveryRequestBuilder provides a light-weight DSL for generating a LauncherDiscoveryRequest.
LauncherDiscoveryRequestBuilder() - Constructor for class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
 
LauncherFactory - Class in org.junit.platform.launcher.core
Factory for creating Launcher instances by invoking create().
LauncherFactory() - Constructor for class org.junit.platform.launcher.core.LauncherFactory
 
LoggingListener - Class in org.junit.platform.launcher.listeners
Simple TestExecutionListener for logging informational messages for all events via a BiConsumer that consumes Throwable and Supplier<String>.
LoggingListener(BiConsumer<Throwable, Supplier<String>>) - Constructor for class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to the supplied BiConsumer for consumption of logging messages.

O

org.junit.platform.launcher - package org.junit.platform.launcher
Public API for configuring and launching test plans.
org.junit.platform.launcher.core - package org.junit.platform.launcher.core
Core support classes for the Launcher including the LauncherFactory and the LauncherDiscoveryRequestBuilder.
org.junit.platform.launcher.listeners - package org.junit.platform.launcher.listeners
Common TestExecutionListener implementations and related support classes for the Launcher.

P

PostDiscoveryFilter - Interface in org.junit.platform.launcher
A PostDiscoveryFilter is applied to TestDescriptors after test discovery.
printFailuresTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print failed containers and tests, including sources and exception messages, to the supplied PrintWriter.
printTo(PrintWriter) - Method in interface org.junit.platform.launcher.listeners.TestExecutionSummary
Print this summary to the supplied PrintWriter.

R

registerTestExecutionListeners(TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Register one or more listeners for test execution.
reportingEntryPublished(TestIdentifier, ReportEntry) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when additional test reporting data has been published for the supplied TestIdentifier.
request() - Static method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Create a new LauncherDiscoveryRequestBuilder.

S

selectors(DiscoverySelector...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied selectors to the request.
selectors(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied selectors to the request.
SummaryGeneratingListener - Class in org.junit.platform.launcher.listeners
Simple TestExecutionListener that generates a summary of the test execution.
SummaryGeneratingListener() - Constructor for class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 

T

TagFilter - Class in org.junit.platform.launcher
Factory methods for creating PostDiscoveryFilters based on included and excluded tags.
TestExecutionListener - Interface in org.junit.platform.launcher
Register an instance of this class with a Launcher to be notified of events that occur during test execution.
TestExecutionSummary - Interface in org.junit.platform.launcher.listeners
Summary of test plan execution.
TestExecutionSummary.Failure - Interface in org.junit.platform.launcher.listeners
Failure of a test or container.
TestIdentifier - Class in org.junit.platform.launcher
Immutable data transfer object that represents a test or container which is usually part of a TestPlan.
TestPlan - Class in org.junit.platform.launcher
TestPlan describes the tree of tests and containers as discovered by a Launcher.
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionFinished(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionFinished(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has finished, after all tests have been executed.
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.LoggingListener
 
testPlanExecutionStarted(TestPlan) - Method in class org.junit.platform.launcher.listeners.SummaryGeneratingListener
 
testPlanExecutionStarted(TestPlan) - Method in interface org.junit.platform.launcher.TestExecutionListener
Called when the execution of the TestPlan has started, before any test has been executed.
toString() - Method in class org.junit.platform.launcher.EngineFilter
 
toString() - Method in class org.junit.platform.launcher.TestIdentifier
 
A B C D E F G H I L O P R S T 
Skip navigation links
junit-platform-launcher