Index
All Classes and Interfaces|All Packages
A
- aborted() - Method in class org.junit.platform.testkit.engine.Events
-
Get the aborted
Eventscontained in thisEventsobject. - aborted() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the aborted
Executionscontained in thisExecutionsobject. - aborted(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected aborted events.
- abortedWithReason(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its result has a status ofABORTEDas well as a cause that matches all of the supplied conditions. - allEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get all recorded events.
- assertEventsMatchExactly(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all events contained in this
Eventsobject exactly match the provided conditions. - assertEventsMatchLoosely(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all provided conditions are matched by an event contained in this
Eventsobject, regardless of order. - assertEventsMatchLooselyInOrder(Condition<? super Event>...) - Method in class org.junit.platform.testkit.engine.Events
-
Assert that all provided conditions are matched by an event contained in this
Eventsobject. - assertStatistics(Consumer<EventStatistics>) - Method in class org.junit.platform.testkit.engine.Events
-
Assert statistics for the events contained in this
Eventsobject. - assertThatEvents() - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
org.assertj.core.api.Assertions.assertThat(events.list()). - assertThatExecutions() - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
org.assertj.core.api.Assertions.assertThat(executions.list()).
B
- byPayload(Class<T>, Predicate<? super T>) - Static method in class org.junit.platform.testkit.engine.Event
- byTestDescriptor(Predicate<? super TestDescriptor>) - Static method in class org.junit.platform.testkit.engine.Event
- byType(EventType) - Static method in class org.junit.platform.testkit.engine.Event
C
- cause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- configurationParameter(String, String) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add the supplied configuration parameter.
- configurationParameters(Map<String, String>) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied configuration parameters.
- container() - Static method in class org.junit.platform.testkit.engine.EventConditions
- container(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the fully qualified name of the suppliedClass. - container(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the suppliedString. - container(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedConditionand its test descriptor is a container. - containerEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for containers.
- count() - Method in class org.junit.platform.testkit.engine.Events
-
Get the number of events contained in this
Eventsobject. - count() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the number of executions contained in this
Executionsobject.
D
- debug() - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to
System.out. - debug() - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to
System.out. - debug(OutputStream) - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to the supplied
OutputStream. - debug(OutputStream) - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to the supplied
OutputStream. - debug(Writer) - Method in class org.junit.platform.testkit.engine.Events
-
Print all events to the supplied
Writer. - debug(Writer) - Method in class org.junit.platform.testkit.engine.Executions
-
Print all executions to the supplied
Writer. - discover() - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Discover tests for the configured
TestEngine, discovery selectors, discovery filters, and configuration parameters. - discover(String, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Discover tests for the given
LauncherDiscoveryRequestusing theTestEnginewith the supplied ID. - discover(TestEngine, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Discover tests for the given
LauncherDiscoveryRequestusing the suppliedTestEngine. - displayName(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the display name of anEvent's test descriptor is equal to the suppliedString. - DYNAMIC_TEST_REGISTERED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptorhas been dynamically registered. - dynamicallyRegistered() - Method in class org.junit.platform.testkit.engine.Events
-
Get the dynamic registration
Eventscontained in thisEventsobject. - dynamicallyRegistered(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected dynamic registration events.
- dynamicTestRegistered(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.DYNAMIC_TEST_REGISTEREDand its unique id contains the suppliedString. - dynamicTestRegistered(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.DYNAMIC_TEST_REGISTEREDand it matches the suppliedCondition. - dynamicTestRegistered(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Eventfor the dynamic registration of the suppliedTestDescriptor. - dynamicTestRegistered(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a dynamically registered container or test.
E
- enableImplicitConfigurationParameters(boolean) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Configure whether implicit configuration parameters should be considered.
- engine() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is an instance ofEngineDescriptor. - engine(String) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builderfor theTestEnginewith the supplied ID. - engine(TestEngine) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Create an execution
EngineTestKit.Builderfor the suppliedTestEngine. - EngineDiscoveryResults - Class in org.junit.platform.testkit.engine
-
EngineDiscoveryResultsrepresents the results of test discovery by aTestEngineon the JUnit Platform and provides access to theTestDescriptorof the engine and anyDiscoveryIssuesthat were encountered. - EngineExecutionResults - Class in org.junit.platform.testkit.engine
-
EngineExecutionResultsprovides a fluent API for processing the results of executing a test plan on the JUnit Platform for a givenTestEngine. - EngineTestKit - Class in org.junit.platform.testkit.engine
-
EngineTestKitprovides support for discovering and executing tests for a givenTestEngineand provides convenient access to the results. - EngineTestKit.Builder - Class in org.junit.platform.testkit.engine
-
TestEngineexecution builder. - event(Condition<? super Event>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches all the supplied conditions. - Event - Class in org.junit.platform.testkit.engine
-
Eventrepresents a single event fired during execution of a test plan on the JUnit Platform. - EventConditions - Class in org.junit.platform.testkit.engine
-
Collection of AssertJ conditions for
Event. - Events - Class in org.junit.platform.testkit.engine
-
Eventsis a facade that provides a fluent API for working with events. - EventStatistics - Class in org.junit.platform.testkit.engine
-
EventStatisticsprovides a fluent API for asserting statistics for events. - EventType - Enum Class in org.junit.platform.testkit.engine
-
Enumeration of the different possible
Eventtypes. - Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchExactly(Condition<? super Event>...)
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchLoosely(Condition<? super Event>...)
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertEventsMatchLooselyInOrder(Condition<? super Event>...)
- Section
- Example - Search tag in org.junit.platform.testkit.engine.Events.assertStatistics(Consumer<EventStatistics>)
- Section
- Example Usage - Search tag in org.junit.platform.testkit.engine.EngineTestKit.engine(String)
- Section
- Example Usage - Search tag in org.junit.platform.testkit.engine.EngineTestKit.engine(TestEngine)
- Section
- execute() - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Execute tests for the configured
TestEngine, discovery selectors, discovery filters, and configuration parameters. - execute(String, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Execute tests for the given
LauncherDiscoveryRequestusing theTestEnginewith the supplied ID. - execute(TestEngine, LauncherDiscoveryRequest) - Static method in class org.junit.platform.testkit.engine.EngineTestKit
-
Execute tests for the given
LauncherDiscoveryRequestusing the suppliedTestEngine. - executed() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInforepresents a completed execution. - executed(TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create an executed
TerminationInfoinstance for the suppliedTestExecutionResult. - Execution - Class in org.junit.platform.testkit.engine
-
Executionencapsulates metadata for the execution of a singleTestDescriptor. - executionFinished(TestDescriptor, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a finished
Eventfor the suppliedTestDescriptorandTestExecutionResult. - executionFinished(TestDescriptor, TestExecutionResult) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a container or test that completed with the providedTestExecutionResult. - ExecutionRecorder - Class in org.junit.platform.testkit.engine
-
ExecutionRecorderis anEngineExecutionListenerthat records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state viaEngineExecutionResults. - ExecutionRecorder() - Constructor for class org.junit.platform.testkit.engine.ExecutionRecorder
- executions() - Method in class org.junit.platform.testkit.engine.Events
-
Get the
Executionsfor the current set of events. - Executions - Class in org.junit.platform.testkit.engine
-
Executionsis a facade that provides a fluent API for working with executions. - executionSkipped(TestDescriptor, String) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a skipped
Eventfor the suppliedTestDescriptorandreason. - executionSkipped(TestDescriptor, String) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a container or test that was skipped. - executionStarted(TestDescriptor) - Static method in class org.junit.platform.testkit.engine.Event
-
Create a started
Eventfor the suppliedTestDescriptor. - executionStarted(TestDescriptor) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a container or test that started.
F
- failed() - Method in class org.junit.platform.testkit.engine.Events
-
Get the failed
Eventscontained in thisEventsobject. - failed() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the failed
Executionscontained in thisExecutionsobject. - failed(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected failed events.
- FILE_ENTRY_PUBLISHED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptorpublished a file entry. - fileEntry(Predicate<FileEntry>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- fileEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the file entry publication
Eventscontained in thisEventsobject. - fileEntryPublished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected file entry publication events.
- fileEntryPublished(TestDescriptor, FileEntry) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Eventfor a published file for the suppliedTestDescriptorandFileEntry. - fileEntryPublished(TestDescriptor, FileEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a publishedFileEntry. - filter(Predicate<? super Event>) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().filter(predicate). - filter(Predicate<? super Execution>) - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
executions.stream().filter(predicate). - filters(Filter<?>...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied filters.
- finished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the finished
Eventscontained in thisEventsobject. - finished() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the finished
Executionscontained in thisExecutionsobject. - finished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected finished events.
- finished(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its payload is an instance ofTestExecutionResultthat matches the suppliedCondition. - finished(TestDescriptor, Instant, Instant, TestExecutionResult) - Static method in class org.junit.platform.testkit.engine.Execution
-
Create a new instance of an
Executionthat finished with the providedTestExecutionResult. - FINISHED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas finished, regardless of the outcome. - finishedSuccessfully() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its result has a status ofSUCCESSFUL. - finishedWithFailure() - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its result has a status ofFAILED. - finishedWithFailure(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.FINISHEDand its result has a status ofFAILEDas well as a cause that matches all of the suppliedConditions.
G
- getDiscoveryIssues() - Method in class org.junit.platform.testkit.engine.EngineDiscoveryResults
-
Returns the issues that were encountered during discovery.
- getDuration() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
Durationof thisExecution. - getEndInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the end
Instantof thisExecution. - getEngineDescriptor() - Method in class org.junit.platform.testkit.engine.EngineDiscoveryResults
-
Returns the root
TestDescriptorof the engine. - getExecutionResult() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Get the
TestExecutionResultfor the completed execution. - getExecutionResults() - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Get the state of the engine's execution in the form of
EngineExecutionResults. - getPayload() - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload, if available.
- getPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the expected type, if available.
- getRequiredPayload(Class<T>) - Method in class org.junit.platform.testkit.engine.Event
-
Get the payload of the required type.
- getSkipReason() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Get the reason the execution was skipped.
- getStartInstant() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the start
Instantof thisExecution. - getTerminationInfo() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TerminationInfofor thisExecution. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
TestDescriptorassociated with thisEvent. - getTestDescriptor() - Method in class org.junit.platform.testkit.engine.Execution
-
Get the
TestDescriptorfor thisExecution. - getTimestamp() - Method in class org.junit.platform.testkit.engine.Event
-
Get the
Instantwhen thisEventoccurred. - getType() - Method in class org.junit.platform.testkit.engine.Event
-
Get the type of this
Event.
I
- instanceOf(Class<? extends Throwable>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Conditionthat matches if and only if aThrowableis an instance of the suppliedClass.
L
- legacyReportingName(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the TestDescriptor.getLegacyReportingName() () legacy reporting name} of anEvent's test descriptor is equal to the suppliedString. - list() - Method in class org.junit.platform.testkit.engine.Events
- list() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the executions as a
List.
M
- map(Function<? super Event, ? extends R>) - Method in class org.junit.platform.testkit.engine.Events
-
Shortcut for
events.stream().map(mapper). - map(Function<? super Execution, ? extends R>) - Method in class org.junit.platform.testkit.engine.Executions
-
Shortcut for
executions.stream().map(mapper). - message(String) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
- message(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
N
- nestedContainer(Class<?>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a container and its unique id contains the simple names of the suppliedClassand all of its enclosing classes. - nestedContainer(Class<?>, Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedCondition, its test descriptor is a container, and its unique id contains the simple names of the suppliedClassand all of its enclosing classes. - notSkipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInfodoes not represent a skipped execution.
O
- org.junit.platform.testkit - module org.junit.platform.testkit
-
Defines the Test Kit API for the JUnit Platform.
- org.junit.platform.testkit.engine - package org.junit.platform.testkit.engine
-
Test Kit for testing the execution of a
TestEnginerunning on the JUnit Platform. - outputDirectoryProvider(OutputDirectoryProvider) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Set the
OutputDirectoryProviderto use.
R
- reason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
- reason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- reportEntry(Map<String, String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- REPORTING_ENTRY_PUBLISHED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that a
TestDescriptorpublished a reporting entry. - reportingEntryPublished() - Method in class org.junit.platform.testkit.engine.Events
-
Get the reporting entry publication
Eventscontained in thisEventsobject. - reportingEntryPublished(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected reporting entry publication events.
- reportingEntryPublished(TestDescriptor, ReportEntry) - Static method in class org.junit.platform.testkit.engine.Event
-
Create an
Eventfor a reporting entry published for the suppliedTestDescriptorandReportEntry. - reportingEntryPublished(TestDescriptor, ReportEntry) - Method in class org.junit.platform.testkit.engine.ExecutionRecorder
-
Record an
Eventfor a publishedReportEntry. - result(Condition<TestExecutionResult>) - Static method in class org.junit.platform.testkit.engine.EventConditions
- rootCause(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
S
- selectors(DiscoverySelector...) - Method in class org.junit.platform.testkit.engine.EngineTestKit.Builder
-
Add all of the supplied discovery selectors.
- skipped() - Method in class org.junit.platform.testkit.engine.Events
-
Get the skipped
Eventscontained in thisEventsobject. - skipped() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the skipped
Executionscontained in thisExecutionsobject. - skipped() - Method in class org.junit.platform.testkit.engine.TerminationInfo
-
Determine if this
TerminationInforepresents a skipped execution. - skipped(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected skipped events.
- skipped(String) - Static method in class org.junit.platform.testkit.engine.TerminationInfo
-
Create a skipped
TerminationInfoinstance for the supplied reason. - skipped(TestDescriptor, Instant, Instant, String) - Static method in class org.junit.platform.testkit.engine.Execution
-
Create a new instance of an
Executionthat was skipped with the providedskipReason. - SKIPPED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas been skipped. - skippedWithReason(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.SKIPPEDand the reason is equal to the suppliedString. - skippedWithReason(Predicate<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's type isEventType.SKIPPEDand the reason matches the suppliedPredicate. - started() - Static method in class org.junit.platform.testkit.engine.EventConditions
- started() - Method in class org.junit.platform.testkit.engine.Events
-
Get the started
Eventscontained in thisEventsobject. - started() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the started
Executionscontained in thisExecutionsobject. - started(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected started events.
- STARTED - Enum constant in enum class org.junit.platform.testkit.engine.EventType
-
Signals that the execution of a
TestDescriptorhas started. - status(TestExecutionResult.Status) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Conditionthat matches if and only if aTestExecutionResult's status is equal to the suppliedStatus. - stream() - Method in class org.junit.platform.testkit.engine.Events
- stream() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the executions as a
Stream. - succeeded() - Method in class org.junit.platform.testkit.engine.Events
-
Get the succeeded
Eventscontained in thisEventsobject. - succeeded() - Method in class org.junit.platform.testkit.engine.Executions
-
Get the succeeded
Executionscontained in thisExecutionsobject. - succeeded(long) - Method in class org.junit.platform.testkit.engine.EventStatistics
-
Specify the number of expected succeeded events.
- suppressed(int, Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Conditionthat matches if and only if aThrowable's suppressed throwable at the supplied index matches all supplied conditions.
T
- TerminationInfo - Class in org.junit.platform.testkit.engine
-
TerminationInfois a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or theTestExecutionResultif the container/test was executed. - test() - Static method in class org.junit.platform.testkit.engine.EventConditions
- test(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a test and its unique id contains the suppliedString. - test(String, String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEvent's test descriptor is a test, its unique id contains the suppliedString, and its display name equals the suppliedString. - test(Condition<Event>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if anEventmatches the suppliedConditionand its test descriptor is a test. - testEvents() - Method in class org.junit.platform.testkit.engine.EngineExecutionResults
-
Get recorded events for tests.
- TestExecutionResultConditions - Class in org.junit.platform.testkit.engine
-
Collection of AssertJ conditions for
TestExecutionResult. - throwable(Condition<Throwable>...) - Static method in class org.junit.platform.testkit.engine.TestExecutionResultConditions
-
Create a new
Conditionthat matches if and only if aTestExecutionResult's throwable matches all supplied conditions. - toString() - Method in class org.junit.platform.testkit.engine.Event
- toString() - Method in class org.junit.platform.testkit.engine.Execution
- toString() - Method in class org.junit.platform.testkit.engine.TerminationInfo
- type(EventType) - Static method in class org.junit.platform.testkit.engine.EventConditions
U
- uniqueId(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor is equal to theUniqueIdparsed from the suppliedString. - uniqueId(Condition<? super UniqueId>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor matches the suppliedCondition. - uniqueId(UniqueId) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor is equal to the suppliedUniqueId. - uniqueIdSubstring(String) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor contains the suppliedString. - uniqueIdSubstrings(String...) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor contains all of the supplied strings. - uniqueIdSubstrings(List<String>) - Static method in class org.junit.platform.testkit.engine.EventConditions
-
Create a new
Conditionthat matches if and only if the unique id of anEvent's test descriptor contains all of the supplied strings.
V
- valueOf(String) - Static method in enum class org.junit.platform.testkit.engine.EventType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.junit.platform.testkit.engine.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages