Package org.apache.calcite.test
Class SqlTestGen
- java.lang.Object
-
- org.apache.calcite.test.SqlTestGen
-
public class SqlTestGen extends java.lang.Object
Utility to generate a SQL script from validator test.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
SqlTestGen.SqlValidatorSpooler
Subversive subclass, which spools results to a writer rather than running tests.
-
Constructor Summary
Constructors Modifier Constructor Description private
SqlTestGen()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
genValidatorTest()
private static java.lang.reflect.Method[]
getJunitMethods(java.lang.Class<SqlTestGen.SqlValidatorSpooler> clazz)
Returns a list of all of the Junit methods in a given class.static void
main(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
genValidatorTest
private void genValidatorTest()
-
getJunitMethods
private static java.lang.reflect.Method[] getJunitMethods(java.lang.Class<SqlTestGen.SqlValidatorSpooler> clazz)
Returns a list of all of the Junit methods in a given class.
-
-