org.melati.poem.test
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
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
PreparedStatementFactoryTest

public class PreparedStatementFactoryTest
extends PoemTestCase

Since:
26 Jan 2007
Author:
timp

Field Summary
 
Fields inherited from class org.melati.poem.test.PoemTestCase
maxTrans, result
 
Constructor Summary
PreparedStatementFactoryTest(String name)
           
 
Method Summary
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, 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

PreparedStatementFactoryTest

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

setUp

protected void setUp()
              throws Exception

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

tearDown

protected void tearDown()
                 throws Exception

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

testGet

public void testGet()
Test method for PreparedStatementFactory.get(int).


testPreparedStatementFactory

public void testPreparedStatementFactory()
Test method for PreparedStatementFactory.PreparedStatementFactory(org.melati.poem.Database, java.lang.String).


testPreparedStatementPoemTransaction

public void testPreparedStatementPoemTransaction()
Test method for PreparedStatementFactory.preparedStatement(org.melati.poem.PoemTransaction).


testPreparedStatement

public void testPreparedStatement()
                           throws Exception
Test method for PreparedStatementFactory.preparedStatement().

Throws:
Exception

testResultSet

public void testResultSet()
                   throws Exception
Test method for PreparedStatementFactory.resultSet().

Throws:
Exception


Copyright © 2000-2010 PanEris. All Rights Reserved.