| |
|
| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.session.A_ClientView
All known Subclasses: org.objectweb.jonas.jtests.clients.session.F_ClientViewSL, org.objectweb.jonas.jtests.clients.session.F_ClientViewSF, org.objectweb.jonas.jtests.clients.session.F_ClientViewNoTxSL,
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)
But here are testcases that can be run via a non remote suite.
See Also: EJB2.0 specification Chapter 6. author: Ph Coq, Ph Durieux |
testBusinessMethod1 | public void testBusinessMethod1() throws Exception(Code) | | This test verify we can create, access to the bean via
its remote interface and remove it
It verifies we cannot access to the bean after remove
|
testBusinessMethod2 | public void testBusinessMethod2() throws Exception(Code) | | Same test than testBusinessMethod1 but two calls to businessmethod
|
testBusinessMethod3 | public void testBusinessMethod3() throws Exception(Code) | | test 3 Remote Business Methods
|
testCreateRemove | public void testCreateRemove() throws Exception(Code) | | This test verify we can create and remove a session bean
|
testGetEJBMetaData | public void testGetEJBMetaData() throws Exception(Code) | | test that EJBHome.getEJBMetaData()
test we can obtain an handle for a session bean
|
testGetHomeHandle | public void testGetHomeHandle() throws Exception(Code) | | test that EJBHome.getHomeHandle()
test we can obtain a handle for a session bean's home interface
|
testGetPrimaryKey | public void testGetPrimaryKey() throws Exception(Code) | | test EJBObject.getPrimary Key
This test verify that a Remote Exception must be catched
|
testGetPrimaryKeyClass | public void testGetPrimaryKeyClass() throws Exception(Code) | | test EJBHome.getEJBMetaData().getPrimaryKeyClass()
This test verify that a EJBException must be catched
|
testHomeLookup | public void testHomeLookup() throws Exception(Code) | | Lookup a Home Object
This test verify that we can look up a Home Object
via the root context
|
testIsIdenticalOnSameBean | public void testIsIdenticalOnSameBean() throws Exception(Code) | | test EJBObject.isIdentical on the same bean
|
testLongCreateRemove | public void testLongCreateRemove() throws Exception(Code) | | This test verify we can create and remove a session bean
|
testRemoveByPK | public void testRemoveByPK() throws Exception(Code) | | test that EJBHome.remove(pk) should raise RemoteException (API) or
RemoveException (spec EJB 2.0 6.3.2)
|
testRemoveHandle | public void testRemoveHandle() throws Exception(Code) | | test that EJBHome.removeHandle()
test we can remove a session via its handle
it verifies the bean cannot be accessed after remove and
java.rmi.NoSuchObjectException is raised
|
testSerializeHandle | public void testSerializeHandle() throws Exception(Code) | | test serialize/deserialize handle.
throws: Exception - |
|
|
|