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) booleanisAcyclic(TestDescriptor root) (package private) voidvalidate(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:
trueif the tree does not contain a cycle; elsefalse.
-