Class CoverageChecker
java.lang.Object
software.amazon.smithy.rulesengine.analysis.CoverageChecker
Analyzer for determining coverage of a rule-set.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA container for a specific condition's coverage result. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnalyze coverage for the rule-set, providing results when coverage is found.voidevaluateInput(Map<Identifier, Value> input) Evaluates the rule-set with the given inputs to determine rule coverage.voidevaluateTestCase(EndpointTestCase testCase) Evaluate the rule-set using the given test case to determine rule coverage.
-
Constructor Details
-
CoverageChecker
-
-
Method Details
-
evaluateInput
Evaluates the rule-set with the given inputs to determine rule coverage.- Parameters:
input- the map parameters and inputs to test coverage.
-
evaluateTestCase
Evaluate the rule-set using the given test case to determine rule coverage.- Parameters:
testCase- the test case to evaluate.
-
checkCoverage
Analyze coverage for the rule-set, providing results when coverage is found.- Returns:
- returns a stream of
CoverageChecker.CoverageResult.
-