|
|||||||||
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.F_Inherit
This test check it's possible to use inheritance to develop beans. (The test is essentially do at the beans compilation and beans deployment !!!) Beans used: inherit
Field Summary | |
protected static UserHome |
duhome
|
protected static PersonHome |
phome
|
protected static UserHome |
uhome
|
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
F_Inherit(java.lang.String name)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
common setUp routine, used for every test. |
static junit.framework.Test |
suite()
|
void |
testDerivedUser()
test that the bean DerivedUser works well |
void |
testPerson()
test that the bean Person works well |
void |
testUser()
test that the bean User works well |
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 |
protected static PersonHome phome
protected static UserHome uhome
protected static UserHome duhome
Constructor Detail |
public F_Inherit(java.lang.String name)
Method Detail |
protected void setUp()
JTestCase
setUp
in class JTestCase
public void testPerson() throws java.lang.Exception
public void testUser() throws java.lang.Exception
public void testDerivedUser() throws java.lang.Exception
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |