net.sf.saffron.sql2rel
Class ConverterTest.TestContext

java.lang.Object
  |
  +--net.sf.saffron.sql2rel.ConverterTest.TestContext
Enclosing class:
ConverterTest

static class ConverterTest.TestContext
extends Object

Contains context shared between unit tests.

Lots of nasty stuff to set up the Openjava environment, should be removed when we're not dependent upon Openjava.


Field Summary
private  SaffronConnection connection
           
(package private)  Environment env
           
private  int executionCount
           
private  Connection jdbcConnection
           
private  SqlValidator.CatalogReader seeker
           
 
Constructor Summary
(package private) ConverterTest.TestContext()
           
 
Method Summary
protected static String getClassRoot()
           
protected static String getJavaRoot()
           
protected  String getTempClassName()
           
protected  String getTempPackageName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seeker

private final SqlValidator.CatalogReader seeker

jdbcConnection

private final Connection jdbcConnection

connection

private final SaffronConnection connection

env

Environment env

executionCount

private int executionCount
Constructor Detail

ConverterTest.TestContext

ConverterTest.TestContext()
Method Detail

getClassRoot

protected static String getClassRoot()

getTempClassName

protected String getTempClassName()

getJavaRoot

protected static String getJavaRoot()

getTempPackageName

protected String getTempPackageName()

SourceForge.net_Logo