Package org.apache.calcite.test
Class SqlValidatorTestCase.TesterConfigurationRule
- java.lang.Object
-
- org.apache.calcite.test.SqlValidatorTestCase.TesterConfigurationRule
-
- All Implemented Interfaces:
org.junit.rules.MethodRule
- Enclosing class:
- SqlValidatorTestCase
private static class SqlValidatorTestCase.TesterConfigurationRule extends java.lang.Object implements org.junit.rules.MethodRule
Enables to configureSqlValidatorTestCase.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
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TesterConfigurationRule()
-
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)
-