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
 
errorMessage() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained parse error message, if any.
evaluate(Collection<TestTag>) - Method in interface org.junit.platform.launcher.tagexpression.TagExpression
Evaluate this tag expression against the supplied collection of tags.
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 tag expressions.
excludeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an exclude filter based on the supplied tag expressions.
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.
forBiConsumer(BiConsumer<Throwable, Supplier<String>>) - Static method in class org.junit.platform.launcher.listeners.LoggingListener
Create a LoggingListener which delegates to the supplied BiConsumer for consumption of logging messages.
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(Collection<TestDescriptor>) - Static method in class org.junit.platform.launcher.TestPlan
Construct a new TestPlan from the supplied collection of TestDescriptors.
from(TestDescriptor) - Static method in class org.junit.platform.launcher.TestIdentifier
Factory for creating a new TestIdentifier from a TestDescriptor.

G

getChildren(String) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied unique ID.
getChildren(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Get the children of the supplied TestIdentifier.
getClassName(TestPlan, TestIdentifier) - Static method in class org.junit.platform.launcher.listeners.LegacyReportingUtils
Get the class name for the supplied TestIdentifier using the supplied TestPlan.
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 tag expressions.
includeTags(List<String>) - Static method in class org.junit.platform.launcher.TagFilter
Create an include filter based on the supplied tag expressions.
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 LauncherFactory.create().
LegacyReportingUtils - Class in org.junit.platform.launcher.listeners
Utility methods for dealing with legacy reporting infrastructure, such as reporting systems built on the Ant-based XML reporting format for JUnit 4.
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>.

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.
org.junit.platform.launcher.tagexpression - package org.junit.platform.launcher.tagexpression
The tag expression language parser and related support classes.

P

parseFrom(String) - Static method in interface org.junit.platform.launcher.tagexpression.TagExpression
Attempt to parse a TagExpression from the supplied tag expression string.
ParseResult - Interface in org.junit.platform.launcher.tagexpression
The result of attempting to parse a TagExpression.
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(List<? extends DiscoverySelector>) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied selectors to the request.
selectors(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

tagExpression() - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the contained TagExpression, if any.
TagExpression - Interface in org.junit.platform.launcher.tagexpression
A tag expression can be evaluated against a collection of tags to determine if they match the expression.
tagExpressionOrThrow(Function<String, RuntimeException>) - Method in interface org.junit.platform.launcher.tagexpression.ParseResult
Return the parsed TagExpression or throw an exception with the contained parse error.
TagFilter - Class in org.junit.platform.launcher
Factory methods for creating PostDiscoveryFilters based on included and excluded tags or tag expressions.
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