com.objectwave.transactionalSupport
Class Session.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.transactionalSupport.Session.Test
All Implemented Interfaces:
UnitTest
Enclosing class:
Session

public static class Session.Test
extends UnitTestBaseImpl

Unit Tests

Version:
$Id: Session.java,v 2.2 2002/03/23 13:42:11 dave_hoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.test.UnitTestBaseImpl
testContext
 
Constructor Summary
Session.Test()
           
 
Method Summary
protected  void assertTrue(java.lang.String str, boolean b)
           
static void main(java.lang.String[] args)
          The main program for the Test class
 void setUp(java.lang.String testName, TestContext context)
          The JUnit setup method
 void testJoinAndLeave()
          A unit test for JUnit
 void testMultipleSessions()
          A unit test for JUnit
 void testNestedTransactions()
          A unit test for JUnit
 
Methods inherited from class com.objectwave.test.UnitTestBaseImpl
createTest, removeFile, tearDown, writeFile, writeFileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session.Test

public Session.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

setUp

public void setUp(java.lang.String testName,
                  TestContext context)
           throws java.lang.Exception
The JUnit setup method

Specified by:
setUp in interface UnitTest
Overrides:
setUp in class UnitTestBaseImpl
Parameters:
testName - The new Up value
context - The new Up value
Throws:
java.lang.Exception

testJoinAndLeave

public void testJoinAndLeave()
A unit test for JUnit


testMultipleSessions

public void testMultipleSessions()
A unit test for JUnit


testNestedTransactions

public void testNestedTransactions()
A unit test for JUnit


assertTrue

protected void assertTrue(java.lang.String str,
                          boolean b)
Parameters:
str -
b -