A B C D E F G H I L N O P R S T V 
All Classes All Packages

A

abortOnFailure() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
Create a LauncherDiscoveryListener that aborts test discovery on failures.
add(TestIdentifier) - Method in class org.junit.platform.launcher.TestPlan
Deprecated.
Please discontinue use of this method. A future version of the JUnit Platform will ignore this call and eventually even throw an exception.
addTestEngines(TestEngine...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied engines to the configuration.
addTestExecutionListeners(TestExecutionListener...) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Add all of the supplied listeners to the configuration.
apply(TestEngine) - Method in class org.junit.platform.launcher.EngineFilter
 

B

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

C

CAPTURE_MAX_BUFFER_DEFAULT - Static variable in class org.junit.platform.launcher.LauncherConstants
Default maximum number of bytes for buffering to use per thread and output type if output capturing is enabled.
CAPTURE_MAX_BUFFER_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to configure the maximum number of bytes for buffering to use per thread and output type if output capturing is enabled: "junit.platform.output.capture.maxBuffer"
CAPTURE_STDERR_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable capturing output to System.err: "junit.platform.output.capture.stderr"
CAPTURE_STDOUT_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.LauncherConstants
Property name used to enable capturing output to System.out: "junit.platform.output.capture.stdout"
composite(List<LauncherDiscoveryListener>) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
 
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
Return whether this test plan contains any tests.
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 automatic registration for test engines and test execution listeners.
create(LauncherConfig) - Static method in class org.junit.platform.launcher.core.LauncherFactory
Factory method for creating a new Launcher using the supplied LauncherConfig.

D

DEFAULT_DISCOVERY_LISTENER_CONFIGURATION_PROPERTY_NAME - Static variable in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Property name used to set the default discovery listener that is added to all : "junit.platform.discovery.listener.default"
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

enableTestEngineAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for test engines.
enableTestExecutionListenerAutoRegistration(boolean) - Method in class org.junit.platform.launcher.core.LauncherConfig.Builder
Configure the auto-registration flag for test execution listeners.
engineDiscoveryFinished(UniqueId, EngineDiscoveryResult) - Method in class org.junit.platform.launcher.LauncherDiscoveryListener
Called when test discovery has finished for an engine.
EngineDiscoveryResult - Class in org.junit.platform.launcher
EngineDiscoveryResult encapsulates the result of test discovery by a TestEngine.
EngineDiscoveryResult.Status - Enum in org.junit.platform.launcher
Status of test discovery by a TestEngine.
engineDiscoveryStarted(UniqueId) - Method in class org.junit.platform.launcher.LauncherDiscoveryListener
Called when test discovery is about to be started for an engine.
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.
execute(TestPlan, TestExecutionListener...) - Method in interface org.junit.platform.launcher.Launcher
Execute the supplied TestPlan 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

failed(Throwable) - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
Create a EngineDiscoveryResult for a failed test discovery.
FAILED - org.junit.platform.launcher.EngineDiscoveryResult.Status
Indicates that test discovery has failed.
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.
fromConfigurationParameter(String, String) - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
 

G

getAdditionalTestEngines() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional test engines that should be added to the Launcher.
getAdditionalTestExecutionListeners() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Get the collection of additional test execution listeners that should be added to the Launcher.
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
Deprecated.
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).
getDiscoveryListener() - Method in interface org.junit.platform.launcher.LauncherDiscoveryRequest
Get the LauncherDiscoveryListener for this request.
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.
getStatus() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
Get the status of this result.
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.
getThrowable() - Method in class org.junit.platform.launcher.EngineDiscoveryResult
Get the throwable that caused this result, if available.
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.
isTestEngineAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if test engines should be discovered at runtime using the ServiceLoader mechanism and automatically registered.
isTestExecutionListenerAutoRegistrationEnabled() - Method in interface org.junit.platform.launcher.core.LauncherConfig
Determine if test execution listeners should be discovered at runtime using the ServiceLoader mechanism and automatically registered.

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.
LauncherConfig - Interface in org.junit.platform.launcher.core
LauncherConfig defines the configuration API for creating Launcher instances via the LauncherFactory.
LauncherConfig.Builder - Class in org.junit.platform.launcher.core
Builder API for LauncherConfig.
LauncherConstants - Class in org.junit.platform.launcher
Collection of constants related to Launcher.
LauncherDiscoveryListener - Class in org.junit.platform.launcher
Register a concrete implementation of this interface with a LauncherDiscoveryRequestBuilder to be notified of events that occur during test discovery.
LauncherDiscoveryListener() - Constructor for class org.junit.platform.launcher.LauncherDiscoveryListener
 
LauncherDiscoveryListeners - Class in org.junit.platform.launcher.listeners.discovery
Collection of static factory methods for creating LauncherDiscoveryListeners.
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() or LauncherFactory.create(LauncherConfig).
LegacyReportingUtils - Class in org.junit.platform.launcher.listeners
Deprecated.
Use org.junit.platform.reporting.legacy.LegacyReportingUtils instead.
listeners(LauncherDiscoveryListener...) - Method in class org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
Add all of the supplied discovery listeners to the request.
logging() - Static method in class org.junit.platform.launcher.listeners.discovery.LauncherDiscoveryListeners
Create a LauncherDiscoveryListener that logs test discovery events based on their severity.
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>.

N

NOOP - Static variable in class org.junit.platform.launcher.LauncherDiscoveryListener
No-op implementation of LauncherDiscoveryListener

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.listeners.discovery - package org.junit.platform.launcher.listeners.discovery
Common LauncherDiscoveryListener implementations and factory methods.
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.
printFailuresTo(PrintWriter, int) - 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.
STDERR_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
Key used to publish captured output to System.err as part of a ReportEntry: "stderr"
STDOUT_REPORT_ENTRY_KEY - Static variable in class org.junit.platform.launcher.LauncherConstants
Key used to publish captured output to System.out as part of a ReportEntry: "stdout"
successful() - Static method in class org.junit.platform.launcher.EngineDiscoveryResult
Create a EngineDiscoveryResult for a successful test discovery.
SUCCESSFUL - org.junit.platform.launcher.EngineDiscoveryResult.Status
Indicates that test discovery was successful.
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 a concrete implementation of this interface 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.
TestPlan(boolean) - Constructor for class org.junit.platform.launcher.TestPlan
 
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.EngineDiscoveryResult
 
toString() - Method in class org.junit.platform.launcher.EngineFilter
 
toString() - Method in class org.junit.platform.launcher.TestIdentifier
 

V

valueOf(String) - Static method in enum org.junit.platform.launcher.EngineDiscoveryResult.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.platform.launcher.EngineDiscoveryResult.Status
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L N O P R S T V 
All Classes All Packages