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 classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnalyze and provides the coverage results for the rule-set.checkCoverageFromRule(Rule rule) Analyze and provides the coverage results for a specific rule.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 and provides the coverage results for the rule-set.- Returns:
- stream of
CoverageChecker.CoverageResult.
-
checkCoverageFromRule
Analyze and provides the coverage results for a specific rule.- Returns:
- stream of
CoverageChecker.CoverageResult.
-