org.melati.poem.test.throwing
Class ColumnTest

Package class diagram package ColumnTest
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.ColumnTest
                  extended by org.melati.poem.test.throwing.ColumnTest
All Implemented Interfaces:
junit.framework.Test

public class ColumnTest
extends ColumnTest

Since:
26 Feb 2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
ColumnTest(String name)
          Constructor.
 
Method Summary
 org.melati.poem.Database getDatabase(String name)
           
protected  void setUp()
          
protected  void tearDown()
          
 void testAsEmptyField()
           
 void testCachedSelectionWhereEq()
           
 void testColumn()
           
 void testDump()
           
 void testEnsure()
           
 void testEqClause()
           
 void testFirstFree()
           
 void testFirstWhereEq()
           
 void testFullQuotedName()
           
 void testGetColumnInfo()
           
 void testGetCooked()
           
 void testGetDatabase()
           
 void testGetDescription()
           
 void testGetDisplayLevel()
           
 void testGetDisplayName()
           
 void testGetDisplayOrderPriority()
           
 void testGetHeight()
           
 void testGetIndexed()
           
 void testGetIntegrityFix()
           
 void testGetName()
           
 void testGetRaw_unsafe()
           
 void testGetRaw()
           
 void testGetRenderInfo()
           
 void testGetSearchability()
           
 void testGetSortDescending()
           
 void testGetSQLType()
           
 void testGetTable()
           
 void testGetType()
           
 void testGetUnique()
           
 void testGetUserCreateable()
           
 void testGetUserEditable()
           
 void testGetWidth()
           
 void testIsDeletedColumn()
           
 void testIsTroidColumn()
           
 void testLoad_unsafe()
           
 void testQuotedName()
           
 void testReferencesTo()
           
 void testSave_unsafe()
           
 void testSelectionWhereEq()
           
 void testSetCooked()
           
 void testSetDisplayLevel()
           
 void testSetIntegrityFix()
          Set the integrityFix and set it back again.
 void testSetRaw_unsafe()
           
 void testSetRaw()
           
 void testSetRawString()
           
 void testSetSearchability()
           
 void testToString()
           
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, databaseUnchanged, dropTable, dumpTable, getDatabaseName, getDb, 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
 

Constructor Detail

ColumnTest

public ColumnTest(String name)
Constructor.

Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: ColumnTest

Overrides:
setUp in class ColumnTest
Throws:
Exception
See Also:
PoemTestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: ColumnTest

Overrides:
tearDown in class ColumnTest
Throws:
Exception
See Also:
PoemTestCase.tearDown()

getDatabase

public org.melati.poem.Database getDatabase(String name)
Overrides:
getDatabase in class PoemTestCase
Parameters:
name - the name of the logical db
Returns:
a Database

testAsEmptyField

public void testAsEmptyField()
Overrides:
testAsEmptyField in class ColumnTest
See Also:
Column.asEmptyField()

testCachedSelectionWhereEq

public void testCachedSelectionWhereEq()
Overrides:
testCachedSelectionWhereEq in class ColumnTest
See Also:
Column.cachedSelectionWhereEq(Object)

testColumn

public void testColumn()
Overrides:
testColumn in class ColumnTest
See Also:
Column(Table, String, SQLPoemType, DefinitionSource)

testDump

public void testDump()
Overrides:
testDump in class ColumnTest
See Also:
Column.dump()

testEnsure

public void testEnsure()
Overrides:
testEnsure in class ColumnTest
See Also:
Column.ensure(Persistent)

testEqClause

public void testEqClause()
Overrides:
testEqClause in class ColumnTest
See Also:
Column.eqClause(Object)

testFirstFree

public void testFirstFree()
Overrides:
testFirstFree in class ColumnTest
See Also:
Column.firstFree(String)

testFirstWhereEq

public void testFirstWhereEq()
Overrides:
testFirstWhereEq in class ColumnTest
See Also:
Column.firstWhereEq(Object)

testFullQuotedName

public void testFullQuotedName()
Overrides:
testFullQuotedName in class ColumnTest
See Also:
Column.fullQuotedName()

testGetColumnInfo

public void testGetColumnInfo()
Overrides:
testGetColumnInfo in class ColumnTest
See Also:
Column.getColumnInfo()

testGetCooked

public void testGetCooked()
Overrides:
testGetCooked in class ColumnTest
See Also:
Column.getCooked(Persistent)

testGetDatabase

public void testGetDatabase()
Overrides:
testGetDatabase in class ColumnTest
See Also:
Column.getDatabase()

testGetDescription

public void testGetDescription()
Overrides:
testGetDescription in class ColumnTest
See Also:
Column.getDescription()

testGetDisplayLevel

public void testGetDisplayLevel()
Overrides:
testGetDisplayLevel in class ColumnTest
See Also:
Column.getDisplayLevel()

testGetDisplayName

public void testGetDisplayName()
Overrides:
testGetDisplayName in class ColumnTest
See Also:
Column.getDisplayName()

testGetDisplayOrderPriority

public void testGetDisplayOrderPriority()
Overrides:
testGetDisplayOrderPriority in class ColumnTest
See Also:
Column.getDisplayOrderPriority()

testGetHeight

public void testGetHeight()
Overrides:
testGetHeight in class ColumnTest
See Also:
Column.getHeight()

testGetIndexed

public void testGetIndexed()
Overrides:
testGetIndexed in class ColumnTest
See Also:
Column.getIndexed()

testGetIntegrityFix

public void testGetIntegrityFix()
Overrides:
testGetIntegrityFix in class ColumnTest
See Also:
Column.getIntegrityFix()

testGetName

public void testGetName()
Overrides:
testGetName in class ColumnTest
See Also:
Column.getName()

testGetRaw_unsafe

public void testGetRaw_unsafe()
Overrides:
testGetRaw_unsafe in class ColumnTest
See Also:
Column.getRaw_unsafe(Persistent)

testGetRaw

public void testGetRaw()
Overrides:
testGetRaw in class ColumnTest
See Also:
Column.getRaw(Persistent)

testGetRenderInfo

public void testGetRenderInfo()
Overrides:
testGetRenderInfo in class ColumnTest
See Also:
Column.getRenderInfo()

testGetSearchability

public void testGetSearchability()
Overrides:
testGetSearchability in class ColumnTest
See Also:
Column.getSearchability()

testGetSortDescending

public void testGetSortDescending()
Overrides:
testGetSortDescending in class ColumnTest
See Also:
Column.getSortDescending()

testGetSQLType

public void testGetSQLType()
Overrides:
testGetSQLType in class ColumnTest
See Also:
Column.getSQLType()

testGetTable

public void testGetTable()
Overrides:
testGetTable in class ColumnTest
See Also:
Column.getTable()

testGetType

public void testGetType()
Overrides:
testGetType in class ColumnTest
See Also:
Column.getType()

testGetUnique

public void testGetUnique()
Overrides:
testGetUnique in class ColumnTest
See Also:
Column.getUnique()

testGetUserCreateable

public void testGetUserCreateable()
Overrides:
testGetUserCreateable in class ColumnTest
See Also:
Column.getUserCreateable()

testGetUserEditable

public void testGetUserEditable()
Overrides:
testGetUserEditable in class ColumnTest
See Also:
Column.getUserEditable()

testGetWidth

public void testGetWidth()
Overrides:
testGetWidth in class ColumnTest
See Also:
Column.getWidth()

testIsDeletedColumn

public void testIsDeletedColumn()
Overrides:
testIsDeletedColumn in class ColumnTest
See Also:
Column.isDeletedColumn()

testIsTroidColumn

public void testIsTroidColumn()
Overrides:
testIsTroidColumn in class ColumnTest
See Also:
Column.isTroidColumn()

testLoad_unsafe

public void testLoad_unsafe()
Overrides:
testLoad_unsafe in class ColumnTest
See Also:
Column.load_unsafe(ResultSet, int, Persistent)

testQuotedName

public void testQuotedName()
Overrides:
testQuotedName in class ColumnTest
See Also:
Column.quotedName()

testReferencesTo

public void testReferencesTo()
Overrides:
testReferencesTo in class ColumnTest
See Also:
Column.referencesTo(Persistent)

testSave_unsafe

public void testSave_unsafe()
Overrides:
testSave_unsafe in class ColumnTest
See Also:
Column.save_unsafe(Persistent, PreparedStatement, int)

testSelectionWhereEq

public void testSelectionWhereEq()
Overrides:
testSelectionWhereEq in class ColumnTest
See Also:
Column.selectionWhereEq(Object)

testSetCooked

public void testSetCooked()
Overrides:
testSetCooked in class ColumnTest
See Also:
Column.setCooked(Persistent, Object)

testSetDisplayLevel

public void testSetDisplayLevel()
Overrides:
testSetDisplayLevel in class ColumnTest
See Also:
Column.setDisplayLevel(DisplayLevel)

testSetIntegrityFix

public void testSetIntegrityFix()
Description copied from class: ColumnTest
Set the integrityFix and set it back again.

Overrides:
testSetIntegrityFix in class ColumnTest
See Also:
Column.setIntegrityFix(StandardIntegrityFix)

testSetRaw_unsafe

public void testSetRaw_unsafe()
Overrides:
testSetRaw_unsafe in class ColumnTest
See Also:
Column.setRaw_unsafe(Persistent, Object)

testSetRaw

public void testSetRaw()
Overrides:
testSetRaw in class ColumnTest
See Also:
Column.setRaw(Persistent, Object)

testSetRawString

public void testSetRawString()
Overrides:
testSetRawString in class ColumnTest
See Also:
Column.setRawString(Persistent, String)

testSetSearchability

public void testSetSearchability()
Overrides:
testSetSearchability in class ColumnTest
See Also:
Column.setSearchability(Searchability)

testToString

public void testToString()
Overrides:
testToString in class ColumnTest
See Also:
Column.toString()


Copyright © 2000-2010 PanEris. All Rights Reserved.