Class TestEvaluator
java.lang.Object
software.amazon.smithy.rulesengine.language.eval.TestEvaluator
Provides facilities for evaluating an endpoint rule-set and tests.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidevaluate(EndpointRuleSet ruleset, EndpointTestCase testCase) Evaluate the given rule-set and test case.
-
Method Details
-
evaluate
Evaluate the given rule-set and test case. Throws an exception in the event the test case does not pass.- Parameters:
ruleset- The rule-set to be tested.testCase- The test case.
-