Uses of Class
org.junit.platform.engine.TestExecutionResult
-
Packages that use TestExecutionResult Package Description org.junit.platform.engine Public API for test engines.org.junit.platform.engine.support.hierarchical Support classes and base implementation for anyTestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction. -
-
Uses of TestExecutionResult in org.junit.platform.engine
Methods in org.junit.platform.engine that return TestExecutionResult Modifier and Type Method Description static TestExecutionResultTestExecutionResult. aborted(java.lang.Throwable throwable)Create aTestExecutionResultfor an aborted execution of a test or container with the suppliedthrowable.static TestExecutionResultTestExecutionResult. failed(java.lang.Throwable throwable)Create 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 TestExecutionResult Modifier and Type Method Description default 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 TestExecutionResult Modifier and Type Method Description TestExecutionResultSingleTestExecutor. executeSafely(SingleTestExecutor.Executable executable)Deprecated.Execute the suppliedSingleTestExecutor.Executableand return aTestExecutionResultbased on the outcome.TestExecutionResultThrowableCollector. toTestExecutionResult()Convert the collectedThrowablesinto aTestExecutionResult.Methods in org.junit.platform.engine.support.hierarchical with parameters of type TestExecutionResult Modifier and Type Method Description default voidNode. nodeFinished(C context, TestDescriptor testDescriptor, TestExecutionResult result)Callback invoked when the execution of this node has finished.
-