org.eigenbase.test
Class SqlTestGen

java.lang.Object
  extended by org.eigenbase.test.SqlTestGen

public class SqlTestGen
extends Object

Utility to generate a SQL script from validator test.

Since:
Nov 10, 2004
Version:
$Id: //open/dev/farrago/src/org/eigenbase/test/SqlTestGen.java#18 $
Author:
jhyde

Nested Class Summary
private static class SqlTestGen.SqlValidatorSpooler
          Subversive subclass, which spools restuls to a writer rather than running tests.
 
Constructor Summary
SqlTestGen()
           
 
Method Summary
private  void genValidatorTest()
           
private static Method[] getJunitMethods(Class<SqlTestGen.SqlValidatorSpooler> clazz)
          Returns a list of all of the Junit methods in a given class.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlTestGen

public SqlTestGen()
Method Detail

main

public static void main(String[] args)

genValidatorTest

private void genValidatorTest()

getJunitMethods

private static Method[] getJunitMethods(Class<SqlTestGen.SqlValidatorSpooler> clazz)
Returns a list of all of the Junit methods in a given class.