org.melati.poem.test.throwing
Class PreparedStatementFactoryTest

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

public class PreparedStatementFactoryTest
extends PreparedStatementFactoryTest

Since:
10 Feb 2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
PreparedStatementFactoryTest(String name)
           
 
Method Summary
 org.melati.poem.Database getDatabase(String name)
           
protected  void setUp()
          
protected  void tearDown()
          
 void testGet()
          Test method for PreparedStatementFactory.get(int).
 void testPreparedStatement()
          Test method for PreparedStatementFactory.preparedStatement().
 void testPreparedStatementFactory()
          Test method for PreparedStatementFactory.PreparedStatementFactory(org.melati.poem.Database, java.lang.String).
 void testPreparedStatementPoemTransaction()
          Test method for PreparedStatementFactory.preparedStatement(org.melati.poem.PoemTransaction).
 void testResultSet()
          Test method for PreparedStatementFactory.resultSet().
 
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

PreparedStatementFactoryTest

public PreparedStatementFactoryTest(String name)
Parameters:
name -
Method Detail

setUp

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

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

tearDown

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

Overrides:
tearDown in class PreparedStatementFactoryTest
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

testGet

public void testGet()
Description copied from class: PreparedStatementFactoryTest
Test method for PreparedStatementFactory.get(int).

Overrides:
testGet in class PreparedStatementFactoryTest

testPreparedStatement

public void testPreparedStatement()
                           throws Exception
Description copied from class: PreparedStatementFactoryTest
Test method for PreparedStatementFactory.preparedStatement().

Overrides:
testPreparedStatement in class PreparedStatementFactoryTest
Throws:
Exception

testPreparedStatementFactory

public void testPreparedStatementFactory()
Description copied from class: PreparedStatementFactoryTest
Test method for PreparedStatementFactory.PreparedStatementFactory(org.melati.poem.Database, java.lang.String).

Overrides:
testPreparedStatementFactory in class PreparedStatementFactoryTest

testPreparedStatementPoemTransaction

public void testPreparedStatementPoemTransaction()
Description copied from class: PreparedStatementFactoryTest
Test method for PreparedStatementFactory.preparedStatement(org.melati.poem.PoemTransaction).

Overrides:
testPreparedStatementPoemTransaction in class PreparedStatementFactoryTest

testResultSet

public void testResultSet()
                   throws Exception
Description copied from class: PreparedStatementFactoryTest
Test method for PreparedStatementFactory.resultSet().

Overrides:
testResultSet in class PreparedStatementFactoryTest
Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.