java.lang.Object
software.amazon.smithy.rulesengine.language.evaluation.TestEvaluator

public final class TestEvaluator extends Object
Provides facilities for evaluating an endpoint rule-set and tests.
  • Method Details

    • 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.