org.objectweb.cjdbc.scenario.raidb1.driver
Class CreateTableScenario

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
              extended byorg.objectweb.cjdbc.scenario.templates.Template
                  extended byorg.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
                      extended byorg.objectweb.cjdbc.scenario.templates.Raidb1Template
                          extended byorg.objectweb.cjdbc.scenario.raidb1.driver.CreateTableScenario
All Implemented Interfaces:
junit.framework.Test

public class CreateTableScenario
extends Raidb1Template

Test that after creating a table we can successfully retrieve this table from the schema

Version:
1.0
Author:
Nicolas Modrzyk

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
cm, controller, controllerProcess, hm, hm1, hm2, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
CreateTableScenario()
           
 
Method Summary
 void testCreateTableCaseInSensitive()
          Test schema update with case insensitive
 void testCreateTableCaseSensitive()
          Test schema update with case sensitiveness
 void testCreateTableRepeated()
          Iterate over multiple creation of table
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1Template
setUp, tearDown
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateTableScenario

public CreateTableScenario()
Method Detail

testCreateTableCaseInSensitive

public void testCreateTableCaseInSensitive()
                                    throws java.lang.Exception
Test schema update with case insensitive

Throws:
java.lang.Exception - if fails

testCreateTableCaseSensitive

public void testCreateTableCaseSensitive()
                                  throws java.lang.Exception
Test schema update with case sensitiveness

Throws:
java.lang.Exception - if fails

testCreateTableRepeated

public void testCreateTableRepeated()
                             throws java.lang.Exception
Iterate over multiple creation of table

Throws:
java.lang.Exception - if fails


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.