Module org.junit.platform.testkit
Class EngineExecutionResults
- java.lang.Object
-
- org.junit.platform.testkit.engine.EngineExecutionResults
-
@API(status=EXPERIMENTAL, since="1.4") public class EngineExecutionResults extends Object
EngineExecutionResults
provides a fluent API for processing the results of executing a test plan on the JUnit Platform for a givenTestEngine
.- Since:
- 1.4
- See Also:
allEvents()
,containerEvents()
,testEvents()
,ExecutionRecorder
,Events
,Executions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Events
all()
Deprecated.This method will be removed in 1.7; useallEvents()
instead.Events
allEvents()
Get all recorded events.Events
containerEvents()
Get recorded events for containers.Events
containers()
Deprecated.This method will be removed in 1.7; usecontainerEvents()
instead.Events
testEvents()
Get recorded events for tests.Events
tests()
Deprecated.This method will be removed in 1.7; usetestEvents()
instead.
-
-
-
Method Detail
-
allEvents
@API(status=EXPERIMENTAL, since="1.6") public Events allEvents()
Get all recorded events.- Since:
- 1.6
- See Also:
containerEvents()
,testEvents()
-
all
@Deprecated @API(status=DEPRECATED, since="1.6") public Events all()
Deprecated.This method will be removed in 1.7; useallEvents()
instead.Get all recorded events.
-
containerEvents
@API(status=EXPERIMENTAL, since="1.6") public Events containerEvents()
Get recorded events for containers.In this context, the word "container" applies to
TestDescriptors
that returntrue
fromTestDescriptor.isContainer()
.- Since:
- 1.6
- See Also:
allEvents()
,testEvents()
-
containers
@Deprecated @API(status=DEPRECATED, since="1.6") public Events containers()
Deprecated.This method will be removed in 1.7; usecontainerEvents()
instead.Get recorded events for containers.In this context, the word "container" applies to
TestDescriptors
that returntrue
fromTestDescriptor.isContainer()
.
-
testEvents
@API(status=EXPERIMENTAL, since="1.6") public Events testEvents()
Get recorded events for tests.In this context, the word "test" applies to
TestDescriptors
that returntrue
fromTestDescriptor.isTest()
.- Since:
- 1.6
- See Also:
allEvents()
,containerEvents()
-
tests
@Deprecated @API(status=DEPRECATED, since="1.6") public Events tests()
Deprecated.This method will be removed in 1.7; usetestEvents()
instead.Get recorded events for tests.In this context, the word "test" applies to
TestDescriptors
that returntrue
fromTestDescriptor.isTest()
.
-
-