org.melati.poem.dbms.test
Class PostgresqlTest

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

public class PostgresqlTest
extends DbmsSpec

Since:
23 Jan 2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.dbms.test.DbmsSpec
it
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
PostgresqlTest(String name)
          Constructor.
 
Method Summary
protected  void setObjectUnderTest()
           
protected  void setUp()
          
protected  void tearDown()
          
 void testCreateTableSql()
          Test method for org.melati.poem.dbms.Dbms#createTableSql().
 void testGetBinarySqlDefinition()
          Test method for getBinarySqlDefinition(int).
 void testGetStringSqlDefinition()
          Test method for getStringSqlDefinition(java.lang.String).
 void testPreparedStatementPlaceholder()
          Test method for preparedStatementPlaceholder(org.melati.poem.PoemType).
 
Methods inherited from class org.melati.poem.dbms.test.DbmsSpec
testAlterColumnNotNullableSQL, testBooleanTrueExtression, testCanBeIndexed, testCanDropColumns, testCanRepresent, testCaseInsensitiveRegExpSQL, testCaseInsensitiveRegExpSQLBlank, testCaseInsensitiveRegExpSQLQuoted, testCreateTableOptionsSql, testDefaultPoemTypeOfColumnMetaData, testExceptionForUpdateTablePreparedStatementBooleanSQLException, testExceptionForUpdateTableStringBooleanSQLException, testGetConnection, testGetFixedPtSqlDefinition, testGetForeignKeyDefinition, testGetIndexLength, testGetJdbcMetadataName, testGetLongSqlDefinition, testGetPrimaryKeyDefinition, testGetQuotedName, testGetQuotedValue, testGetSchema, testGetSqlDefinition, testGivesCapabilitySQL, testMelatiName, testSelectLimit, testShutdown, testSqlBooleanValueOfRaw, testToString, testUnreservedName
 
Methods inherited from class org.melati.poem.test.PoemTestCase
assertEquals, assertEquals, assertEquals, checkColumns, checkDbUnchanged, checkTables, checkTablesAndColumns, databaseUnchanged, dropTable, dumpTable, getDatabase, 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

PostgresqlTest

public PostgresqlTest(String name)
Constructor.

Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

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

tearDown

protected void tearDown()
                 throws Exception

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

setObjectUnderTest

protected void setObjectUnderTest()
Specified by:
setObjectUnderTest in class DbmsSpec

testPreparedStatementPlaceholder

public void testPreparedStatementPlaceholder()
Test method for preparedStatementPlaceholder(org.melati.poem.PoemType).

Overrides:
testPreparedStatementPlaceholder in class DbmsSpec

testGetStringSqlDefinition

public void testGetStringSqlDefinition()
                                throws Exception
Test method for getStringSqlDefinition(java.lang.String).

Overrides:
testGetStringSqlDefinition in class DbmsSpec
Throws:
Exception

testGetBinarySqlDefinition

public void testGetBinarySqlDefinition()
                                throws Exception
Test method for getBinarySqlDefinition(int).

Overrides:
testGetBinarySqlDefinition in class DbmsSpec
Throws:
Exception

testCreateTableSql

public void testCreateTableSql()
Test method for org.melati.poem.dbms.Dbms#createTableSql().

Overrides:
testCreateTableSql in class DbmsSpec


Copyright © 2000-2010 PanEris. All Rights Reserved.