| |
|
| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.entity.F_Cascade
F_Cascade | public class F_Cascade extends JTestCase (Code) | | This is a test suite on cascade-delete facility
author: Philippe Durieux |
Field Summary | |
protected boolean | isInit |
Method Summary | |
public void | _testCDAdPhRemByAd() test Cascade delete with Address + PhoneMumbers
This test works only if cascade-delete is set on customer from address. | protected boolean | initStateOK() | public static void | main(String args) | protected void | setUp() | public static Test | suite() | public void | testCDAdPh() | public void | testCascadeDeleteAd() test cascade delete in case of a relation one-to-one
We use the bean customer and its address. | public void | testCascadeDeleteCC() test cascade delete in case of a relation one-to-one
We use the bean customer and its credit card. | public void | testCascadeDeleteCars() test cascade delete in case of a relation one-to-many
We use the bean customer and its cars. | public void | testCascadeDeletePhs() test cascade delete in case of a relation one-to-many
We use the bean customer and its phones. | public void | testCrash1() | public void | testCreateInPostCreate() |
isInit | protected boolean isInit(Code) | | |
_testCDAdPhRemByAd | public void _testCDAdPhRemByAd() throws Exception(Code) | | test Cascade delete with Address + PhoneMumbers
This test works only if cascade-delete is set on customer from address.
|
setUp | protected void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testCDAdPh | public void testCDAdPh() throws Exception(Code) | | test Cascade delete with Address + PhoneMumbers
|
testCascadeDeleteAd | public void testCascadeDeleteAd() throws Exception(Code) | | test cascade delete in case of a relation one-to-one
We use the bean customer and its address.
|
testCascadeDeleteCC | public void testCascadeDeleteCC() throws Exception(Code) | | test cascade delete in case of a relation one-to-one
We use the bean customer and its credit card.
|
testCascadeDeleteCars | public void testCascadeDeleteCars() throws Exception(Code) | | test cascade delete in case of a relation one-to-many
We use the bean customer and its cars.
|
testCascadeDeletePhs | public void testCascadeDeletePhs() throws Exception(Code) | | test cascade delete in case of a relation one-to-many
We use the bean customer and its phones.
|
testCreateInPostCreate | public void testCreateInPostCreate() throws Exception(Code) | | test create in postCreate
|
|
|
|