Class ConfigurableParserTest

java.lang.Object
com.singularsys.jeptests.unit.configurableparser.ConfigurableParserTest

public class ConfigurableParserTest extends Object
Unit tests for the StandardConfigurableParser
  • Field Details

  • Constructor Details

    • ConfigurableParserTest

      public ConfigurableParserTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp() throws Exception
      Throws:
      Exception
    • test_replacing_token_matchers

      @Test public void test_replacing_token_matchers() throws Exception
      Throws:
      Exception
    • testReplaceGrammarMatcher

      @Test public void testReplaceGrammarMatcher() throws JepException
      Throws:
      JepException
    • test_add_opertor_to_existing_parser

      @Test public void test_add_opertor_to_existing_parser() throws JepException
      Throws:
      JepException
    • buildMatrix

      protected Object buildMatrix(Object[]... eles) throws Exception
      Throws:
      Exception
    • configParser_cannot_parse_2Delement_with_comma_separated_indicies

      @Test @Tag("known-failure") public void configParser_cannot_parse_2Delement_with_comma_separated_indicies() throws Exception
      Throws:
      Exception
    • valueTest

      protected void valueTest(String string, double d, Jep jep) throws JepException
      Throws:
      JepException
    • valueTestString

      protected void valueTestString(String string, String expected, Jep jep) throws JepException
      Throws:
      JepException
    • cannot_use_triple_dot_syntax

      @Test @Tag("known-failure") public void cannot_use_triple_dot_syntax() throws Exception
      Fails. Has . and ... as operator and .. as a symbol. Either operator are matched before symbols or vica versa.
      Throws:
      Exception
    • test_JCCArrayAccess

      @Test public void test_JCCArrayAccess() throws Exception
      Throws:
      Exception