org.objectweb.jonas.jtests.clients.entity
Class F_VariousPKEC2

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

public class F_VariousPKEC2
extends A_VariousPKEC

These are tests about the different cases of the primary key type for CMP version 2 entity. All common tests to CMP version 1 and CMP version 2 are in the inherited class.

Author:
Helene Joanin (jonas team)

Field Summary
protected static AccountHome ahome
           
protected static PersonHome phome
           
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
F_VariousPKEC2(java.lang.String name)
           
 
Method Summary
 AccountHome getAccountHome()
          Return AccountHome, that can be either CMP version 1 or CMP version 2 bean.
 PersonHome getPersonHome()
          Return PersonHome, that can be either CMP version 1 or CMP version 2 bean.
static void main(java.lang.String[] args)
           
protected  void setUp()
          common setUp routine, used for every test.
static junit.framework.Test suite()
           
 
Methods inherited from class org.objectweb.jonas.jtests.clients.entity.A_VariousPKEC
testSpkCreate, testSpkFindAll, testSpkFindByPrimaryKey, testSpkRemove, testUpkCreate, testUpkFindAll, testUpkFindByPrimaryKey, testUpkRemove
 
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

ahome

protected static AccountHome ahome

phome

protected static PersonHome phome
Constructor Detail

F_VariousPKEC2

public F_VariousPKEC2(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 A_VariousPKEC

getAccountHome

public AccountHome getAccountHome()
Description copied from class: A_VariousPKEC
Return AccountHome, that can be either CMP version 1 or CMP version 2 bean.
Overrides:
getAccountHome in class A_VariousPKEC

getPersonHome

public PersonHome getPersonHome()
Description copied from class: A_VariousPKEC
Return PersonHome, that can be either CMP version 1 or CMP version 2 bean.
Overrides:
getPersonHome in class A_VariousPKEC

suite

public static junit.framework.Test suite()

main

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