Uses of Class
org.junit.platform.engine.TestExecutionResult
-
Packages that use TestExecutionResult Package Description org.junit.platform.console.options Configuration options for JUnit's console launcher.org.junit.platform.engine Public API for test engines.org.junit.platform.engine.support.hierarchical Support classes and base implementation for anyTestEngine
that wishes to organize test suites hierarchically based on theNode
abstraction.org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.launcher.listeners CommonTestExecutionListener
implementations and related support classes for theLauncher
. -
-
Uses of TestExecutionResult in org.junit.platform.console.options
Methods in org.junit.platform.console.options with parameters of type TestExecutionResult Modifier and Type Method Description String
Theme. status(TestExecutionResult result)
-
Uses of TestExecutionResult in org.junit.platform.engine
Methods in org.junit.platform.engine that return TestExecutionResult Modifier and Type Method Description static TestExecutionResult
TestExecutionResult. aborted(Throwable throwable)
Obtain aTestExecutionResult
for an aborted execution of a test or container with the suppliedthrowable
.static TestExecutionResult
TestExecutionResult. failed(Throwable throwable)
Obtain aTestExecutionResult
for a failed execution of a test or container with the suppliedthrowable
.static TestExecutionResult
TestExecutionResult. successful()
Obtain aTestExecutionResult
for a successful execution of a test or container.Methods in org.junit.platform.engine with parameters of type TestExecutionResult Modifier and Type Method Description void
EngineExecutionListener. 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 TestExecutionResult
SingleTestExecutor. executeSafely(SingleTestExecutor.Executable executable)
Deprecated.Execute the suppliedSingleTestExecutor.Executable
and return aTestExecutionResult
based on the outcome. -
Uses of TestExecutionResult in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionResult Modifier and Type Method Description default void
TestExecutionListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult)
Called when the execution of a leaf or subtree of theTestPlan
has finished, regardless of the outcome. -
Uses of TestExecutionResult in org.junit.platform.launcher.listeners
Methods in org.junit.platform.launcher.listeners with parameters of type TestExecutionResult Modifier and Type Method Description void
LoggingListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult)
void
SummaryGeneratingListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult)
-