org.objectweb.cjdbc.driver
Class ReadWriteTest

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.driver.ReadWriteTest

public class ReadWriteTest
extends TestCase

Read after Write test class. Problem submitted by Mark Wick on the mailing list: http://www.objectweb.org/wws/arc/c-jdbc/2003-09/msg00072.html

Author:
Emmanuel Cecchet
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String cjdbcDriver
           
(package private)  java.lang.String cjdbcUrl
           
(package private)  java.sql.Connection con
          The connection to be used to the database for the test
 
Constructor Summary
ReadWriteTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main program for the BlobTest class
protected  void setUp()
          Load C-JDBC driver and retrieve connection from database
static Test suite()
          A unit test suite for JUnit
protected  void tearDown()
          Close the connection.
 void testReadWrite()
          Test method for clobs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cjdbcUrl

final java.lang.String cjdbcUrl
See Also:
Constant Field Values

cjdbcDriver

final java.lang.String cjdbcDriver
See Also:
Constant Field Values

con

java.sql.Connection con
The connection to be used to the database for the test

Constructor Detail

ReadWriteTest

public ReadWriteTest()
Method Detail

suite

public static Test suite()
A unit test suite for JUnit

Returns:
The test suite

main

public static void main(java.lang.String[] args)
The main program for the BlobTest class

Parameters:
args - The command line arguments

setUp

protected void setUp()
Load C-JDBC driver and retrieve connection from database

See Also:
junit.framework.TestCase#setUp()

tearDown

protected void tearDown()
Close the connection.

See Also:
junit.framework.TestCase#tearDown()

testReadWrite

public void testReadWrite()
Test method for clobs.



Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.