| |
|
| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.local.A_ClientView
All known Subclasses: org.objectweb.jonas.jtests.clients.local.F_ClientViewSL,
A_ClientView | abstract public class A_ClientView extends JTestCase (Code) | | This Class defines Test cases that can be run either SF or SL bean.
These tests are related to the "Client View of a Session Bean"
A session bean that supports both Local & Remote interface is used
(TargetSL oe TargetSF in beans/local)
Here are testcases taht must be run remotly
See Also: EJB2.0 specification Chapter 6. author: Ph Coq, Ph Durieux |
testEjbLocalRef | public void testEjbLocalRef() throws Exception(Code) | | EJBLocal Reference
This test verify that we can look up a LocalHome Object
via the java:comp/env subcontext
|
testEjbRef | public void testEjbRef() throws Exception(Code) | | EJB Reference
This test verify that we can look up a Home Object of a bean in the same ejbjar file
via the java:comp/env subcontext using an ejb-reference contains an ejb-link.
|
testEjbRefWithJonasEjbRef | public void testEjbRefWithJonasEjbRef() throws Exception(Code) | | EJB Reference
This test verify that we can look up a Home Object of a bean (in the same ejbjar file)
via the java:comp/env subcontext using an ejb-reference with a jonas-ejb-reference.
|
testLocalBusinessMethod1 | public void testLocalBusinessMethod1() throws Exception(Code) | | This test verify we can create a Local session , access to the bean
via its local interface and remove it
It verifies we cannot access to the bean after remove
|
testLocalBusinessMethod2 | public void testLocalBusinessMethod2() throws Exception(Code) | | Same test than testLocalBusinessMethod1 but two calls to businessmethod
|
testLocalBusinessMethod3 | public void testLocalBusinessMethod3() throws Exception(Code) | | test 3 Local Business Methods
|
testLocalCreateRemove | public void testLocalCreateRemove() throws Exception(Code) | | This test verify we can create a Local session bean and remove it
|
testLocalGetPrimaryKey | public void testLocalGetPrimaryKey() throws Exception(Code) | | test EJBLocalObject.getPrimary Key
This test verify that an EJB Exception must be catched
|
testLocalIsIdenticalOnSameBean | public void testLocalIsIdenticalOnSameBean() throws Exception(Code) | | test EJBLocalObject.isIdentical on the same bean
|
testLocalLookup | public void testLocalLookup() throws Exception(Code) | | Lookup a LocalHome Object
This test verify that we can look up a LocalHome Object
via the root context
|
testLocalRemoveByPK | public void testLocalRemoveByPK() throws Exception(Code) | | test that EJBLocalHome.remove(pk) should raise EJBException (API) or
RemoveException (spec EJB 2.0 6.3.2)
|
|
|
|