com.objectwave.persist.mapping
Class RDBPersistentAdapter.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.persist.mapping.RDBPersistentAdapter.Test
All Implemented Interfaces:
UnitTest
Enclosing class:
RDBPersistentAdapter

public static class RDBPersistentAdapter.Test
extends UnitTestBaseImpl

Version:
$Id: RDBPersistentAdapter.java,v 1.2 2001/02/14 14:42:20 dhoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.test.UnitTestBaseImpl
testContext
 
Constructor Summary
RDBPersistentAdapter.Test()
           
 
Method Summary
protected  java.lang.Runnable getRunnable(com.objectwave.persist.mapping.RDBPersistentAdapter.Test.FakeOne adapt, java.lang.Integer hitCount, TestContext context, ExamplePerson person)
          Gets the Runnable attribute of the Test object
static void main(java.lang.String[] args)
          The main program for the Test class
 void testContainsAttChanges()
           
 void testExceptions()
           
 void testFindColumn()
          A unit test for JUnit
 void testJoinLogic()
           
 void testJoinLogic2()
           
 void testMultiHit()
          Test for a race condition when realizing proxies as a result of a get.
 void testSave()
           
 void testSavePath()
           
 
Methods inherited from class com.objectwave.test.UnitTestBaseImpl
createTest, removeFile, setUp, tearDown, writeFile, writeFileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDBPersistentAdapter.Test

public RDBPersistentAdapter.Test()
Method Detail

main

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

Parameters:
args - The command line arguments

getRunnable

protected java.lang.Runnable getRunnable(com.objectwave.persist.mapping.RDBPersistentAdapter.Test.FakeOne adapt,
                                         java.lang.Integer hitCount,
                                         TestContext context,
                                         ExamplePerson person)
Gets the Runnable attribute of the Test object

Parameters:
adapt -
hitCount -
context -
person -
Returns:
The Runnable value

testMultiHit

public void testMultiHit()
                  throws java.lang.InterruptedException
Test for a race condition when realizing proxies as a result of a get.

Throws:
java.lang.InterruptedException

testFindColumn

public void testFindColumn()
                    throws java.lang.Exception
A unit test for JUnit

Throws:
java.lang.Exception

testSave

public void testSave()
              throws QueryException,
                     UpdateException
Throws:
QueryException
UpdateException

testSavePath

public void testSavePath()
                  throws QueryException
Throws:
QueryException

testContainsAttChanges

public void testContainsAttChanges()
                            throws UpdateException
Throws:
UpdateException

testJoinLogic

public void testJoinLogic()

testJoinLogic2

public void testJoinLogic2()

testExceptions

public void testExceptions()