com.xenonsoft.bridgetown.test.research
Class TestLumberJacqueTransactionManager

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.xenonsoft.bridgetown.test.research.TestLumberJacqueTransactionManager
All Implemented Interfaces:
junit.framework.Test

public class TestLumberJacqueTransactionManager
extends junit.framework.TestCase

A unit test to test Lumberjacque "kiddy-on" transaction manager

Version:
$Id: TestLumberJacqueTransactionManager.java,v 1.2 2005/02/23 01:32:39 peter_pilgrim Exp $
Author:
Peter Pilgrim, 11-Nov-2004 18:00:06

Field Summary
protected  LumberJacqueTransactionManager transManager
          Transaction service manager instance
 
Constructor Summary
TestLumberJacqueTransactionManager()
           
 
Method Summary
 javax.sql.DataSource getDataSource()
          Retrieve the data source from the JDBC property data source and a property file.
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testRequest()
           
 void testRequiresNew()
           
 
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
 

Field Detail

transManager

protected LumberJacqueTransactionManager transManager
Transaction service manager instance

Constructor Detail

TestLumberJacqueTransactionManager

public TestLumberJacqueTransactionManager()
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getDataSource

public javax.sql.DataSource getDataSource()
                                   throws java.io.IOException
Retrieve the data source from the JDBC property data source and a property file.

Returns:
the data source
Throws:
java.io.IOException - if there is I/O failure

testRequest

public void testRequest()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

testRequiresNew

public void testRequiresNew()
                     throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.