|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.objectweb.jonas.jtests.util.JTestCase | +--org.objectweb.jonas.jtests.clients.entity.A_EtypeOshort
This set of test are common to CMP version 1 and CMP version 2 These are tests about java.lang.Short field of entity bean . Beans used: etype/oshort
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
A_EtypeOshort(java.lang.String name)
|
Method Summary | |
abstract OshortHome |
getHome()
Return OshortHome, that can be either CMP version 1 or CMP version 2 bean. |
protected void |
setUp()
common setUp routine, used for every test. |
void |
testCreate()
create() test |
void |
testFindByF1()
findByF1() test |
void |
testFindByPk()
findByPrimaryKey() test |
void |
testGetF1()
getF1() test |
void |
testGetF1Null()
getF1Null() test: f1 with a 'null' value |
void |
testRemove()
remove() test |
void |
testSetF1()
setF1() test |
void |
testSetF1Null()
setF1Null() test: f1 with a 'null' value |
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 |
Constructor Detail |
public A_EtypeOshort(java.lang.String name)
Method Detail |
protected void setUp()
JTestCase
setUp
in class JTestCase
public abstract OshortHome getHome()
public void testFindByPk() throws java.lang.Exception
public void testFindByF1() throws java.lang.Exception
public void testGetF1() throws java.lang.Exception
public void testGetF1Null() throws java.lang.Exception
public void testSetF1() throws java.lang.Exception
public void testSetF1Null() throws java.lang.Exception
public void testCreate() throws java.lang.Exception
public void testRemove() throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |