org.objectweb.jonas.jtests.clients.transaction
Class F_BeanToBeanTx

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.jtests.util.JTestCase
                    |
                    +--org.objectweb.jonas.jtests.clients.transaction.F_BeanToBeanTx
All Implemented Interfaces:
junit.framework.Test

public class F_BeanToBeanTx
extends JTestCase

Test for Bean to Bean transactions

Author:
Ph.Durieux

Field Summary
protected static SimpleEHome ebhome
           
protected static SimpleEHome ec2home
           
protected static SimpleEHome echome
           
protected static SimpleSHome sfhome
           
protected static SimpleSHome slhome
           
protected static SimpleSHome syhome
           
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
F_BeanToBeanTx(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          common setUp routine, used for every test.
static junit.framework.Test suite()
           
 void testEBToEC()
          EB/Required -> EC/RequiresNew
 void testEBToEC2()
          EB/Required -> EC2/RequiresNew
 void testEBToSY()
          EB/Required -> SY/RequiresNew
 void testEC2ToEC2()
          EC2/Required -> EC2/RequiresNew
 void testEC2ToSY()
          EC2/Required -> SY/RequiresNew
 void testECToEC()
          EC/Required -> EC/RequiresNew
 void testECToSY()
          EC/Required -> SY/RequiresNew
 void testSFToEC()
          SF/Required -> EC/RequiresNew
 void testSFToEC2()
          SF/Required -> EC2/RequiresNew
 void testSFToSY()
          SF/Required -> SY/RequiresNew
 void testSLToEC()
          SL/Required -> EC/RequiresNew
 void testSLToEC2()
          SL/Required -> EC2/RequiresNew
 void testSLToSY()
          SL/Required -> SY/RequiresNew
 void testSYToEC()
          SY/Required -> EC/RequiresNew
 void testSYToEC2()
          SY/Required -> EC2/RequiresNew
 void testSYToSY()
          SY/Required -> SY/RequiresNew
 
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase
debug, getDBEnv, random, sleep, tearDown, testEmpty, unloadBeans, useBeans
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

syhome

protected static SimpleSHome syhome

sfhome

protected static SimpleSHome sfhome

slhome

protected static SimpleSHome slhome

echome

protected static SimpleEHome echome

ec2home

protected static SimpleEHome ec2home

ebhome

protected static SimpleEHome ebhome
Constructor Detail

F_BeanToBeanTx

public F_BeanToBeanTx(java.lang.String name)
Method Detail

setUp

protected void setUp()
Description copied from class: JTestCase
common setUp routine, used for every test.
Overrides:
setUp in class JTestCase

testSLToEC

public void testSLToEC()
                throws java.lang.Exception
SL/Required -> EC/RequiresNew

testSLToEC2

public void testSLToEC2()
                 throws java.lang.Exception
SL/Required -> EC2/RequiresNew

testSFToEC

public void testSFToEC()
                throws java.lang.Exception
SF/Required -> EC/RequiresNew

testSFToEC2

public void testSFToEC2()
                 throws java.lang.Exception
SF/Required -> EC2/RequiresNew

testSYToEC

public void testSYToEC()
                throws java.lang.Exception
SY/Required -> EC/RequiresNew

testSYToEC2

public void testSYToEC2()
                 throws java.lang.Exception
SY/Required -> EC2/RequiresNew

testECToEC

public void testECToEC()
                throws java.lang.Exception
EC/Required -> EC/RequiresNew

testEC2ToEC2

public void testEC2ToEC2()
                  throws java.lang.Exception
EC2/Required -> EC2/RequiresNew

testEBToEC

public void testEBToEC()
                throws java.lang.Exception
EB/Required -> EC/RequiresNew

testEBToEC2

public void testEBToEC2()
                 throws java.lang.Exception
EB/Required -> EC2/RequiresNew

testSLToSY

public void testSLToSY()
                throws java.lang.Exception
SL/Required -> SY/RequiresNew

testSFToSY

public void testSFToSY()
                throws java.lang.Exception
SF/Required -> SY/RequiresNew

testSYToSY

public void testSYToSY()
                throws java.lang.Exception
SY/Required -> SY/RequiresNew

testECToSY

public void testECToSY()
                throws java.lang.Exception
EC/Required -> SY/RequiresNew

testEC2ToSY

public void testEC2ToSY()
                 throws java.lang.Exception
EC2/Required -> SY/RequiresNew

testEBToSY

public void testEBToSY()
                throws java.lang.Exception
EB/Required -> SY/RequiresNew

suite

public static junit.framework.Test suite()

main

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