Package org.junit.platform.launcher.core
Class EngineDiscoveryResultValidator
- java.lang.Object
-
- org.junit.platform.launcher.core.EngineDiscoveryResultValidator
-
class EngineDiscoveryResultValidator extends java.lang.Object
Perform common validation checks on the result from the `discover()` method.- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description EngineDiscoveryResultValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isAcyclic(TestDescriptor root)
(package private) void
validate(TestEngine testEngine, TestDescriptor root)
Perform common validation checks.
-
-
-
Method Detail
-
validate
void validate(TestEngine testEngine, TestDescriptor root)
Perform common validation checks.- Throws:
PreconditionViolationException
- if any check fails
-
isAcyclic
boolean isAcyclic(TestDescriptor root)
- Returns:
true
if the tree does not contain a cycle; elsefalse
.
-
-