org.apache.ojb.broker
Class TransactionDemarcationTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ojb.broker.TransactionDemarcationTest
All Implemented Interfaces:
junit.framework.Test

public class TransactionDemarcationTest
extends junit.framework.TestCase

Author:
Armin Waibel

Constructor Summary
TransactionDemarcationTest(java.lang.String s)
           
 
Method Summary
 void doDelete()
           
 void doInsert()
           
 int getArticleCount()
           
 int getPersonCount()
           
static void main(java.lang.String[] args)
           
protected  void setUp()
           
 void testInsertDelete()
           
 void testInsertDifferentObjects()
           
 void testInsertDifferentObjectsWithinTransaction()
           
 void testIterator()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

TransactionDemarcationTest

public TransactionDemarcationTest(java.lang.String s)
Method Detail

setUp

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

testInsertDelete

public void testInsertDelete()
                      throws java.lang.Exception
Throws:
java.lang.Exception

doInsert

public void doInsert()
              throws java.lang.Exception
Throws:
java.lang.Exception

doDelete

public void doDelete()
              throws java.lang.Exception
Throws:
java.lang.Exception

testInsertDifferentObjects

public void testInsertDifferentObjects()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testInsertDifferentObjectsWithinTransaction

public void testInsertDifferentObjectsWithinTransaction()
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

testIterator

public void testIterator()
                  throws java.lang.Exception
Throws:
java.lang.Exception

getArticleCount

public int getArticleCount()

getPersonCount

public int getPersonCount()

main

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


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14