| |
|
| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.entity.A_AdvancedHomeEC
All known Subclasses: org.objectweb.jonas.jtests.clients.entity.F_AdvancedHomeEC, org.objectweb.jonas.jtests.clients.entity.F_AdvancedHomeEC2,
A_AdvancedHomeEC | abstract public class A_AdvancedHomeEC extends JTestCase (Code) | | This is an advanced test suite for home interface on entity bean CMP.
Beans used: annuaire
author: Philippe Coq, Philippe Durieux, Helene Joanin (jonas team) |
_testDuplicateKey | public void _testDuplicateKey() throws Exception(Code) | | Test DuplicateKeyException.
Create outside tx
known bug #300836: remove it from the list
|
_testDuplicateKeyTx | public void _testDuplicateKeyTx() throws Exception(Code) | | Test DuplicateKeyException.
Create in an implicit tx
known bug #300836: remove it from the list
|
getHome | abstract public PersonneHome getHome()(Code) | | return PersonneHome, that can be either CMP v1 or CMP v2 bean.
|
setUp | protected void setUp()(Code) | | |
testCreateAndBusiness | public void testCreateAndBusiness() throws Exception(Code) | | Test Create + Business Method inside the same Tx
|
testCreateInTx | public void testCreateInTx() throws Exception(Code) | | test Create inside a Transaction.
|
testCreateNull | public void testCreateNull() throws Exception(Code) | | Verify that we can create an entity with a null name
|
testCreateRemoveInTx | public void testCreateRemoveInTx() throws Exception(Code) | | Test create + remove in transactions
|
testFindAllEnum | public void testFindAllEnum() throws Exception(Code) | | test du findAll, returning an Enumeration.
Some of the beans are already in the database, some other are created.
|
testFindTwice | public void testFindTwice() throws Exception(Code) | | test 2 findByPrimaryKey in the same tx, with an update
between the 2 calls. We shall see the modifications, even before
the commit occurs.
|
testFinderInTx | public void testFinderInTx() throws Exception(Code) | | Test finder in transactions
|
testIsolation | public void testIsolation() throws Exception(Code) | | Combination of other tests
This test the transaction isolation in entity bean container
this test must never hang
|
testManyCreate | public void testManyCreate() throws Exception(Code) | | Test many Create calls
|
testRemove | public void testRemove() throws Exception(Code) | | Test bean.remove :
create / find / remove / find
|
testRemove2 | public void testRemove2() throws Exception(Code) | | Test bean.remove :
create / find / remove / bussiness method
Ensure the javax.ejb.EJBException is thrown when trying
to invoke an accessor method on a deleted entitybean object
|
testRemoveHandle | public void testRemoveHandle() throws Exception(Code) | | Test remove(handle): create / find / remove(handle) / find
CMP2: bug #300419
|
testRemoveInTx | public void testRemoveInTx() throws Exception(Code) | | Test bean.remove inside a tx:
create / find / remove / find
|
testRemovePKRB | public void testRemovePKRB() throws Exception(Code) | | Test remove by PK in a tx rolled back
we modify the bean instance outside tx, then we check that
the bean state has not been changed by the rolled back remove
|
testRemovePk | public void testRemovePk() throws Exception(Code) | | Test remove(pk): create / find / remove(pk) / find
|
testRemovePkInTx | public void testRemovePkInTx() throws Exception(Code) | | Test remove(pk) inside transaction:
create / find / remove(pk) / find
|
testRemovePkNonExistent | public void testRemovePkNonExistent() throws Exception(Code) | | Test remove(pk) of a non-existent pk.
|
testRemovePkNonExistentInTx | public void testRemovePkNonExistentInTx() throws Exception(Code) | | Test remove(pk) of a non-existent pk inside transaction.
See ejb2.1 18.3.1
|
testRemoveRB | public void testRemoveRB() throws Exception(Code) | | Test remove in a tx rolled back
we modify the bean instance outside tx, then we check that
the bean state has not been changed by the rolled back remove
|
testRemoveTwice | public void testRemoveTwice() throws Exception(Code) | | test remove twice
|
testRemoveTwiceTx | public void testRemoveTwiceTx() throws Exception(Code) | | test remove twice in same transaction
|
testSimpleCreateInTx | public void testSimpleCreateInTx() throws Exception(Code) | | test a simple Create inside a Transaction.
|
testSimpleRemove | public void testSimpleRemove() throws Exception(Code) | | test a simple Remove
Find an instance already in database and remove it.
|
|
|
|