Uses of Class
org.junit.platform.engine.TestExecutionResult
-
Packages that use TestExecutionResult Package Description org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.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 anyTestEnginethat wishes to organize test suites hierarchically based on theNodeabstraction.org.junit.platform.launcher Public API for configuring and launching test plans.org.junit.platform.launcher.listeners CommonTestExecutionListenerimplementations and related support classes for theLauncher.org.junit.platform.reporting.legacy.xml Support for generating XML reports using a format which is compatible with the de facto standard for JUnit 4 based test reports that was made popular by the Ant build system. -
-
Uses of TestExecutionResult in org.junit.jupiter.engine.descriptor
Methods in org.junit.jupiter.engine.descriptor with parameters of type TestExecutionResult Modifier and Type Method Description voidTestFactoryTestDescriptor. nodeFinished(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result)OverrideTestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)as a no-op, since theTestWatcherAPI is not supported for@TestFactorycontainers.voidTestMethodTestDescriptor. nodeFinished(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result)InvoketestSuccessful(),testAborted(), ortestFailed()on each registeredTestWatcheraccording to the status of the suppliedTestExecutionResult, in reverse registration order. -
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 StringTheme. 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 TestExecutionResultTestExecutionResult. aborted(Throwable throwable)Create aTestExecutionResultfor an aborted execution of a test or container with the suppliedthrowable.static TestExecutionResultTestExecutionResult. failed(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 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.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. -
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 voidTestExecutionListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult)Called when the execution of a leaf or subtree of theTestPlanhas 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 voidLoggingListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult)voidSummaryGeneratingListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) -
Uses of TestExecutionResult in org.junit.platform.reporting.legacy.xml
Methods in org.junit.platform.reporting.legacy.xml with parameters of type TestExecutionResult Modifier and Type Method Description voidLegacyXmlReportGeneratingListener. executionFinished(TestIdentifier testIdentifier, TestExecutionResult result)
-