org.melati.poem.dbms.test
Class MckoiTest

Package class diagram package MckoiTest
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.MckoiTest
All Implemented Interfaces:
junit.framework.Test

public class MckoiTest
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
MckoiTest(String name)
          Constructor.
 
Method Summary
protected  void setObjectUnderTest()
           
protected  void setUp()
          
protected  void tearDown()
          
 void testCanRepresent()
          Test method for canRepresent(org.melati.poem.PoemType, org.melati.poem.PoemType).
 void testCreateTableSql()
          Test method for org.melati.poem.dbms.Dbms#createTableSql().
 void testGetBinarySqlDefinition()
          Test method for getBinarySqlDefinition(int).
 void testGetForeignKeyDefinition()
          Test method for getForeignKeyDefinition(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String).
 void testGetPrimaryKeyDefinition()
          Test method for getPrimaryKeyDefinition(java.lang.String).
 void testGetSqlDefinition()
          Test method for getSqlDefinition(java.lang.String).
 void testGetStringSqlDefinition()
          Test method for getStringSqlDefinition(java.lang.String).
 void testGivesCapabilitySQL()
          Test method for givesCapabilitySQL(java.lang.Integer, java.lang.String).
 
Methods inherited from class org.melati.poem.dbms.test.DbmsSpec
testAlterColumnNotNullableSQL, testBooleanTrueExtression, testCanBeIndexed, testCanDropColumns, testCaseInsensitiveRegExpSQL, testCaseInsensitiveRegExpSQLBlank, testCaseInsensitiveRegExpSQLQuoted, testCreateTableOptionsSql, testDefaultPoemTypeOfColumnMetaData, testExceptionForUpdateTablePreparedStatementBooleanSQLException, testExceptionForUpdateTableStringBooleanSQLException, testGetConnection, testGetFixedPtSqlDefinition, testGetIndexLength, testGetJdbcMetadataName, testGetLongSqlDefinition, testGetQuotedName, testGetQuotedValue, testGetSchema, testMelatiName, testPreparedStatementPlaceholder, 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

MckoiTest

public MckoiTest(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

testGetSqlDefinition

public void testGetSqlDefinition()
                          throws Exception
Test method for getSqlDefinition(java.lang.String).

Overrides:
testGetSqlDefinition in class DbmsSpec
Throws:
Exception

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

testCanRepresent

public void testCanRepresent()
Test method for canRepresent(org.melati.poem.PoemType, org.melati.poem.PoemType).

Overrides:
testCanRepresent in class DbmsSpec

testGetForeignKeyDefinition

public void testGetForeignKeyDefinition()
Test method for getForeignKeyDefinition(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String).

Overrides:
testGetForeignKeyDefinition in class DbmsSpec

testGetPrimaryKeyDefinition

public void testGetPrimaryKeyDefinition()
Test method for getPrimaryKeyDefinition(java.lang.String).

Overrides:
testGetPrimaryKeyDefinition in class DbmsSpec

testGivesCapabilitySQL

public void testGivesCapabilitySQL()
Test method for givesCapabilitySQL(java.lang.Integer, java.lang.String).

Overrides:
testGivesCapabilitySQL in class DbmsSpec

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.