Package org.junit.platform.launcher.core
Class EngineDiscoveryResultValidator
java.lang.Object
org.junit.platform.launcher.core.EngineDiscoveryResultValidator
Perform common validation checks on the result from the `discover()` method.
- Since:
- 1.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
(package private) void
validate
(TestEngine testEngine, TestDescriptor root) Perform common validation checks.
-
Constructor Details
-
EngineDiscoveryResultValidator
EngineDiscoveryResultValidator()
-
-
Method Details
-
validate
Perform common validation checks.- Throws:
org.junit.platform.commons.PreconditionViolationException
- if any check fails
-
getCyclicGraphInfo
- Returns:
- non-empty
Optional
if the tree contains a cycle
-
formatted
-
findPath
-