Class SqlParserTest.Checker

  • Enclosing class:

    private class SqlParserTest.Checker
    extends java.lang.Object
    Runs tests on period operators such as OVERLAPS, IMMEDIATELY PRECEDES.
    • Field Summary

      Modifier and Type Field Description
      (package private) java.lang.String op  
      (package private) java.lang.String period  
    • Constructor Summary

      Constructor Description
      Checker​(java.lang.String op, java.lang.String period)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkExp​(java.lang.String sql, java.lang.String expected)  
      void checkExpFails​(java.lang.String sql, java.lang.String expected)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • op

        final java.lang.String op
      • period

        final java.lang.String period
    • Constructor Detail

      • Checker

        Checker​(java.lang.String op,
                java.lang.String period)
    • Method Detail

      • checkExp

        public void checkExp​(java.lang.String sql,
                             java.lang.String expected)
      • checkExpFails

        public void checkExpFails​(java.lang.String sql,
                                  java.lang.String expected)