Class TestEvaluator
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.evaluation.TestEvaluator
-
public final class TestEvaluator extends java.lang.Object
Provides facilities for evaluating an endpoint rule-set and tests.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
evaluate(EndpointRuleSet ruleset, EndpointTestCase testCase)
Evaluate the given rule-set and test case.
-
-
-
Method Detail
-
evaluate
public static void evaluate(EndpointRuleSet ruleset, EndpointTestCase testCase)
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.
-
-