org.melati.poem.test
Class DynamicTableTest

Package class diagram package DynamicTableTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.poem.test.PoemTestCase
              extended by org.melati.poem.test.EverythingTestCase
                  extended by org.melati.poem.test.DynamicTableTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
DynamicTableTest

public class DynamicTableTest
extends EverythingTestCase

Test the addition, and lter the deletion, of columns to a table.

Since:
01-Februray-2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.EverythingTestCase
databaseName
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
DynamicTableTest(String arg0)
          Constructor for PoemTest.
 
Method Summary
protected  void databaseUnchanged()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAddColumnAndCommitBigDecimal()
           
 void testAddColumnAndCommitBinary()
           
 void testAddColumnAndCommitBoolean()
           
 void testAddColumnAndCommitDate()
           
 void testAddColumnAndCommitDeleted()
           
 void testAddColumnAndCommitDisplaylevel()
           
 void testAddColumnAndCommitDouble()
           
 void testAddColumnAndCommitInteger()
           
 void testAddColumnAndCommitIntegrityfix()
           
 void testAddColumnAndCommitLong()
           
 void testAddColumnAndCommitNullableInteger()
           
 void testAddColumnAndCommitPassword()
           
 void testAddColumnAndCommitSearchability()
           
 void testAddColumnAndCommitString()
           
 void testAddColumnAndCommitTimestamp()
           
 void testAddColumnAndCommitTroid()
           
 void testAddColumnAndCommitType()
           
 void testAddTableAndCommit()
          Test the addition of a table.
 void testExtraColumnAsField()
          Test that an added, 'extra', column can be represented as a field.
 
Methods inherited from class org.melati.poem.test.EverythingTestCase
getDatabaseName, getDb
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, dropTable, dumpTable, getDatabase, getDb, getName, getOrDie, getProperties, getPropertiesFileName, getUserToRunAs, run, runTest, setDatabaseName, setName, setPropertiesFileName, setUserToRunAs, testNothing
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runBare, 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, 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
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

DynamicTableTest

public DynamicTableTest(String arg0)
Constructor for PoemTest.

Parameters:
arg0 -
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class PoemTestCase
Throws:
Exception
See Also:
TestCase#setUp()

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class PoemTestCase
Throws:
Exception
See Also:
TestCase#tearDown()

databaseUnchanged

protected void databaseUnchanged()
Overrides:
databaseUnchanged in class EverythingTestCase

testAddTableAndCommit

public void testAddTableAndCommit()
                           throws Exception
Test the addition of a table.

Throws:
Exception

testExtraColumnAsField

public void testExtraColumnAsField()
Test that an added, 'extra', column can be represented as a field.


testAddColumnAndCommitTroid

public void testAddColumnAndCommitTroid()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitDeleted

public void testAddColumnAndCommitDeleted()
                                   throws Exception
Throws:
Exception
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitType

public void testAddColumnAndCommitType()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitBoolean

public void testAddColumnAndCommitBoolean()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitInteger

public void testAddColumnAndCommitInteger()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitNullableInteger

public void testAddColumnAndCommitNullableInteger()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitDouble

public void testAddColumnAndCommitDouble()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitLong

public void testAddColumnAndCommitLong()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitBigDecimal

public void testAddColumnAndCommitBigDecimal()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitString

public void testAddColumnAndCommitString()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitPassword

public void testAddColumnAndCommitPassword()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitDate

public void testAddColumnAndCommitDate()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitTimestamp

public void testAddColumnAndCommitTimestamp()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitBinary

public void testAddColumnAndCommitBinary()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitDisplaylevel

public void testAddColumnAndCommitDisplaylevel()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitSearchability

public void testAddColumnAndCommitSearchability()
See Also:
Table.addColumnAndCommit(ColumnInfo)

testAddColumnAndCommitIntegrityfix

public void testAddColumnAndCommitIntegrityfix()
See Also:
Table.addColumnAndCommit(ColumnInfo)


Copyright © 2000-2010 PanEris. All Rights Reserved.