Uses of Class
org.junit.platform.engine.TestExecutionResult
Packages that use TestExecutionResult
Package
Description
Test descriptors used within the JUnit Jupiter test engine.
Configuration options for JUnit's console launcher.
Internal execution tasks for JUnit's console launcher.
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.Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder.Common
TestExecutionListener implementations and related support classes for
the Launcher.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.
Runner and annotations for configuring and executing tests on the
JUnit Platform in a JUnit 4 environment.Internal classes for test execution within the JUnit Vintage test engine.
-
Uses of TestExecutionResult in org.junit.jupiter.engine.descriptor
Methods in org.junit.jupiter.engine.descriptor with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidTestFactoryTestDescriptor.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 -
Uses of TestExecutionResult in org.junit.platform.console.tasks
Fields in org.junit.platform.console.tasks declared as TestExecutionResultMethods in org.junit.platform.console.tasks that return types with arguments of type TestExecutionResultModifier and TypeMethodDescription(package private) Optional<TestExecutionResult>TreeNode.result()Methods in org.junit.platform.console.tasks with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidFlatPrintingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidTreePrintingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidVerboseTreePrintingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) private voidTreePrinter.printThrowable(String indent, TestExecutionResult result) (package private) TreeNodeTreeNode.setResult(TestExecutionResult result) (package private) static ColorColor.valueOf(TestExecutionResult result) Returns the enum constant of this type with the specified name. -
Uses of TestExecutionResult in org.junit.platform.engine
Fields in org.junit.platform.engine declared as TestExecutionResultModifier and TypeFieldDescriptionprivate static final TestExecutionResultTestExecutionResult.SUCCESSFUL_RESULTMethods 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 TypeMethodDescriptionSingleTestExecutor.executeSafely(SingleTestExecutor.Executable executable) Deprecated.Execute the suppliedSingleTestExecutor.Executableand return aTestExecutionResultbased on the outcome.ThrowableCollector.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. -
Uses of TestExecutionResult in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault 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.core
Fields in org.junit.platform.launcher.core declared as TestExecutionResultModifier and TypeFieldDescriptionprivate TestExecutionResultOutcomeDelayingEngineExecutionListener.executionResultMethods in org.junit.platform.launcher.core with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidCompositeTestExecutionListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidDelegatingEngineExecutionListener.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) voidExecutionListenerAdapter.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) voidOutcomeDelayingEngineExecutionListener.executionFinished(TestDescriptor testDescriptor, TestExecutionResult executionResult) default voidCompositeTestExecutionListener.EagerTestExecutionListener.executionJustFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidStreamInterceptingTestExecutionListener.executionJustFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) -
Uses of TestExecutionResult in org.junit.platform.launcher.listeners
Methods in org.junit.platform.launcher.listeners with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidLoggingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidSummaryGeneratingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidUniqueIdTrackingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) -
Uses of TestExecutionResult in org.junit.platform.reporting.legacy.xml
Fields in org.junit.platform.reporting.legacy.xml with type parameters of type TestExecutionResultModifier and TypeFieldDescriptionprivate final List<TestExecutionResult>XmlReportWriter.AggregatedTestResult.executionResultsprivate final Map<TestIdentifier,TestExecutionResult> XmlReportData.finishedTestsMethods in org.junit.platform.reporting.legacy.xml that return types with arguments of type TestExecutionResultModifier and TypeMethodDescription(package private) List<TestExecutionResult>XmlReportData.getResults(TestIdentifier testIdentifier) Methods in org.junit.platform.reporting.legacy.xml with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidLegacyXmlReportGeneratingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult result) private static XmlReportWriter.AggregatedTestResult.TypeXmlReportWriter.AggregatedTestResult.Type.from(TestExecutionResult executionResult) private static booleanXmlReportWriter.isFailure(TestExecutionResult result) (package private) voidXmlReportData.markFinished(TestIdentifier testIdentifier, TestExecutionResult result) Method parameters in org.junit.platform.reporting.legacy.xml with type arguments of type TestExecutionResultModifier and TypeMethodDescriptionXmlReportWriter.AggregatedTestResult.nonSkipped(List<TestExecutionResult> executionResults) Constructor parameters in org.junit.platform.reporting.legacy.xml with type arguments of type TestExecutionResultModifierConstructorDescriptionprivateAggregatedTestResult(XmlReportWriter.AggregatedTestResult.Type type, List<TestExecutionResult> executionResults) -
Uses of TestExecutionResult in org.junit.platform.runner
Methods in org.junit.platform.runner with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidJUnitPlatformRunnerListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) private org.junit.runner.notification.FailureJUnitPlatformRunnerListener.toFailure(TestExecutionResult testExecutionResult, org.junit.runner.Description description) -
Uses of TestExecutionResult in org.junit.vintage.engine.execution
Fields in org.junit.vintage.engine.execution with type parameters of type TestExecutionResultModifier and TypeFieldDescriptionprivate final Map<TestDescriptor,List<TestExecutionResult>> TestRun.executionResultsMethods in org.junit.vintage.engine.execution that return TestExecutionResultModifier and TypeMethodDescription(package private) TestExecutionResultTestRun.getStoredResultOrSuccessful(TestDescriptor testDescriptor) Methods in org.junit.vintage.engine.execution with parameters of type TestExecutionResultModifier and TypeMethodDescriptionprivate voidRunnerExecutor.reportUnexpectedFailure(TestRun testRun, RunnerTestDescriptor runnerTestDescriptor, TestExecutionResult result) (package private) voidTestRun.storeResult(TestDescriptor testDescriptor, TestExecutionResult result) Method parameters in org.junit.vintage.engine.execution with type arguments of type TestExecutionResultModifier and TypeMethodDescriptionprivate voidRunListenerAdapter.handleFailure(org.junit.runner.notification.Failure failure, Function<Throwable, TestExecutionResult> resultCreator) private voidRunListenerAdapter.handleFailure(org.junit.runner.notification.Failure failure, Function<Throwable, TestExecutionResult> resultCreator, TestDescriptor testDescriptor)