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 TypeMethodDescription(package private) boolean
isAcyclic
(TestDescriptor root) (package private) void
validate
(TestEngine testEngine, TestDescriptor root) Perform common validation checks.
-
Constructor Details
-
EngineDiscoveryResultValidator
EngineDiscoveryResultValidator()
-
-
Method Details
-
validate
Perform common validation checks.- Throws:
PreconditionViolationException
- if any check fails
-
isAcyclic
- Returns:
true
if the tree does not contain a cycle; elsefalse
.
-