Class SqlValidatorTestCase.TesterConfigurationRule

  • All Implemented Interfaces:
    Enclosing class:

    private static class SqlValidatorTestCase.TesterConfigurationRule
    extends java.lang.Object
    implements org.junit.rules.MethodRule
    Enables to configure SqlValidatorTestCase.tester behavior on a per-test basis. tester object is created in the test object constructor, and there's no trivial way to override its features.

    This JUnit rule enables post-process test object on a per test method basis

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod frameworkMethod, java.lang.Object o)  
      • Methods inherited from class java.lang.Object

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

      • TesterConfigurationRule

        private TesterConfigurationRule()
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement statement,
                                                       org.junit.runners.model.FrameworkMethod frameworkMethod,
                                                       java.lang.Object o)
        Specified by:
        apply in interface org.junit.rules.MethodRule