org.apache.log4j.jdbcplus.examples.test
Class PreparedStatementTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.apache.log4j.jdbcplus.examples.test.PreparedStatementTest
All Implemented Interfaces:
Test

public class PreparedStatementTest
extends TestCase

Test Case for comparison of prepared vs. non-prepared statements

Version:
$Revision: 1.0 $
Author:
mann17, $Author: mann17 $

Constructor Summary
PreparedStatementTest()
           
 
Method Summary
static void main(String[] args)
          main operation.
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testNonPrepared()
           
 void testPrepared()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, 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
 

Constructor Detail

PreparedStatementTest

public PreparedStatementTest()
Method Detail

main

public static void main(String[] args)
main operation.

Parameters:
args - arguments

suite

public static Test suite()
Returns:
test suite

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class TestCase
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class TestCase
Exception

testNonPrepared

public void testNonPrepared()
                     throws Exception
Exception

testPrepared

public void testPrepared()
                  throws Exception
Exception


Copyright 2000-2004 Apache Software Foundation.