Uses of Class
org.junit.platform.engine.TestExecutionResult
Packages that use TestExecutionResult
Package
Description
Public API for test engines.
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction.-
Uses of TestExecutionResult in org.junit.platform.engine
Methods in org.junit.platform.engine that return TestExecutionResultModifier and TypeMethodDescriptionstatic TestExecutionResultCreate aTestExecutionResultfor an aborted execution of a test or container with the suppliedthrowable.static TestExecutionResultCreate aTestExecutionResultfor a failed execution of a test or container with the suppliedthrowable.static TestExecutionResultTestExecutionResult.successful()Create aTestExecutionResultfor a successful execution of a test or container.Methods in org.junit.platform.engine with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault voidEngineExecutionListener.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome. -
Uses of TestExecutionResult in org.junit.platform.engine.support.hierarchical
Methods in org.junit.platform.engine.support.hierarchical that return TestExecutionResultModifier and TypeMethodDescriptionThrowableCollector.toTestExecutionResult()Convert the collectedThrowablesinto aTestExecutionResult.Methods in org.junit.platform.engine.support.hierarchical with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault voidNode.nodeFinished(C context, TestDescriptor testDescriptor, TestExecutionResult result) Callback invoked when the execution of this node has finished.