org.objectweb.jonas.jtests.clients.session
Class F_ClientViewSF

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.jtests.util.JTestCase
                    |
                    +--org.objectweb.jonas.jtests.clients.session.A_ClientView
                          |
                          +--org.objectweb.jonas.jtests.clients.session.F_ClientViewSF
All Implemented Interfaces:
junit.framework.Test

public class F_ClientViewSF
extends A_ClientView

testcases specifics for stateful session beans must be here - isIdentical, create


Field Summary
protected static java.lang.String BEAN_HOME
           
protected static TargetSFHome home
           
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
F_ClientViewSF(java.lang.String name)
           
 
Method Summary
 TargetSLHome getHome()
           
static void main(java.lang.String[] args)
           
protected  void setUp()
          init environment:
static junit.framework.Test suite()
           
 void testCreateMethod()
          test create
 void testCreateWithParameter()
          test create with parameters
 void testIsIdenticalOnBeans()
          test EJBObject.isIdentical on two beans
 
Methods inherited from class org.objectweb.jonas.jtests.clients.session.A_ClientView
testBusinessMethod1, testBusinessMethod2, testBusinessMethod3, testCreateRemove, testGetEJBMetaData, testGetHomeHandle, testGetPrimaryKey, testHomeLookup, testIsIdenticalOnSameBean, testRemoveByPK, testRemoveHandle
 
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase
debug, getDBEnv, random, sleep, tearDown, testEmpty, unloadBeans, useBeans
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEAN_HOME

protected static java.lang.String BEAN_HOME

home

protected static TargetSFHome home
Constructor Detail

F_ClientViewSF

public F_ClientViewSF(java.lang.String name)
Method Detail

testIsIdenticalOnBeans

public void testIsIdenticalOnBeans()
                            throws java.lang.Exception
test EJBObject.isIdentical on two beans
See Also:
EJB2.0 §6.9.1

testCreateWithParameter

public void testCreateWithParameter()
                             throws java.lang.Exception
test create with parameters

testCreateMethod

public void testCreateMethod()
                      throws java.lang.Exception
test create

setUp

protected void setUp()
init environment:
Overrides:
setUp in class JTestCase

getHome

public TargetSLHome getHome()
                     throws java.lang.Exception
Overrides:
getHome in class A_ClientView
Following copied from class: org.objectweb.jonas.jtests.clients.session.A_ClientView
Returns:
TargetSLHome, that can be either SF or SL bean.

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)