org.pentaho.di.core.database
Class DatabaseTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.pentaho.di.core.database.DatabaseTest
All Implemented Interfaces:
junit.framework.Test

public class DatabaseTest
extends junit.framework.TestCase

Try to test database functionality using a hypersonic database. This is just a small fraction of the functionality, but could already trap a few problems.

Author:
Sven Boden

Field Summary
static String[] databasesXML
           
 
Constructor Summary
DatabaseTest()
           
 
Method Summary
 Database setupDatabase()
           
 void testDatabaseCasing()
           
 void testQuoting()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

databasesXML

public static final String[] databasesXML
Constructor Detail

DatabaseTest

public DatabaseTest()
Method Detail

setupDatabase

public Database setupDatabase()
                       throws Exception
Throws:
Exception

testDatabaseCasing

public void testDatabaseCasing()
                        throws Exception
Throws:
Exception

testQuoting

public void testQuoting()
                 throws Exception
Throws:
Exception