| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.entity.A_VariousPKEC
All known Subclasses: org.objectweb.jonas.jtests.clients.entity.F_VariousPKEC2, org.objectweb.jonas.jtests.clients.entity.F_VariousPKEC,
A_VariousPKEC | abstract public class A_VariousPKEC extends JTestCase (Code) | | This set of test are all tests common to CMP version 1 and CMP version 2
These are tests about the different cases of the primary key type:
- primary key that maps to a single field in the entity bean class (java.lang.Integer),
- unknown primary key class at the bean development phase,
(defered primary key type specification to the deployment phase).
Note that the compilation of this kind of bean is already a good test !!
The case of the primary key maps to multiple fields in the entity bean class
is already tested in the "inherit" test.
Beans used: ebasic/Account, ebasic/Person
author: Helene Joanin (jonas team) |
getAccountHome | abstract public AccountHome getAccountHome()(Code) | | Return AccountHome, that can be either CMP version 1 or CMP version 2 bean.
|
getPersonHome | abstract public PersonHome getPersonHome()(Code) | | Return PersonHome, that can be either CMP version 1 or CMP version 2 bean.
|
setUp | protected void setUp()(Code) | | |
testSpkCreate | public void testSpkCreate() throws Exception(Code) | | Creation of a bean with PK that maps a single field
|
testSpkFindAll | public void testSpkFindAll() throws Exception(Code) | | findAll beans with PK that maps a single field
|
testSpkFindByPrimaryKey | public void testSpkFindByPrimaryKey() throws Exception(Code) | | findByPrimaryKey of a bean with PK that maps a single field
|
testSpkRemove | public void testSpkRemove() throws Exception(Code) | | Remove of a bean with PK that maps a single field
|
testUpkCreate | public void testUpkCreate() throws Exception(Code) | | Creation of a bean with unknown PK class at the bean development phase
|
testUpkFindAll | public void testUpkFindAll() throws Exception(Code) | | findAll beans with unknown PK class at the bean development phase
|
testUpkFindByPrimaryKey | public void testUpkFindByPrimaryKey() throws Exception(Code) | | findByPrimaryKey of a bean with unknown PK class at the bean development phase
|
testUpkRemove | public void testUpkRemove() throws Exception(Code) | | Remove of a bean with unknown PK class at the bean development phase
|
|
|