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

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

public class F_TxAttributeEC2
extends A_TxAttributeEntity

TxAttribute tests on entity bean with container managed persistence version 2

Author:
Helene Joanin

Field Summary
protected static SimpleEHome home
           
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
F_TxAttributeEC2(java.lang.String name)
           
 
Method Summary
 SimpleEHome getHome()
          return the Home
 Simple getSimple(int i)
          Create a bean and return it.
static void main(java.lang.String[] args)
           
protected  void setUp()
          init environment: - load beans - create/init database for entities.
static junit.framework.Test suite()
          This suite is all CMP version 2 test cases
 
Methods inherited from class org.objectweb.jonas.jtests.clients.transaction.A_TxAttributeEntity
testCreateMandatory, testCreateMandatoryTx, testCreateNever, testCreateNeverTx, testCreateNotSupported, testCreateNotSupportedTx, testCreateRequired, testCreateRequiredTx, testCreateRequiresNew, testCreateRequiresNewTx, testCreateSupports, testCreateSupportsTx, testHomeMandatory, testHomeMandatoryTx, testHomeNever, testHomeNeverTx, testHomeNotSupported, testHomeNotSupportedTx, testHomeNoTx, testHomeRequired, testHomeRequiredTx, testHomeRequiresNew, testHomeRequiresNewTx, testHomeSupports, testHomeSupportsTx
 
Methods inherited from class org.objectweb.jonas.jtests.clients.transaction.A_TxAttribute
testMandatory, testMandatoryTx, testNever, testNeverTx, testNotSupported, testNotSupportedTx, testNoTx, testRequired, testRequiredRequiresNew, testRequiredRequiresNew2, testRequiredTx, testRequiresNew, testRequiresNewTx, testSupports, testSupportsTx
 
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

home

protected static SimpleEHome home
Constructor Detail

F_TxAttributeEC2

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

getHome

public SimpleEHome getHome()
return the Home
Overrides:
getHome in class A_TxAttributeEntity

getSimple

public Simple getSimple(int i)
                 throws java.lang.Exception
Create a bean and return it.
Overrides:
getSimple in class A_TxAttribute

setUp

protected void setUp()
init environment: - load beans - create/init database for entities.
Overrides:
setUp in class JTestCase

suite

public static junit.framework.Test suite()
This suite is all CMP version 2 test cases

main

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