|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--test.ojb.broker.ProxyExamples
Demo Application that shows basic concepts for Applications using the PersistenceBroker as a mediator for persistence
Field Summary | |
(package private) PersistenceBroker |
broker
|
Constructor Summary | |
ProxyExamples(java.lang.String name)
Insert the method's description here. |
Method Summary | |
protected Article |
createArticle(int id)
Insert the method's description here. |
static void |
main(java.lang.String[] args)
|
void |
setUp()
Insert the method's description here. |
void |
tearDown()
Insert the method's description here. |
void |
testCollectionProxies()
|
void |
testDynamicProxies()
This example shows how the PersistenceBroker can be used with a highly configurable proxy concept. |
void |
testProgrammedProxies()
This example shows how the PersistenceBroker can be used with a highly configurable proxy concept. |
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 |
PersistenceBroker broker
Constructor Detail |
public ProxyExamples(java.lang.String name)
Method Detail |
public static void main(java.lang.String[] args)
protected Article createArticle(int id)
id
- intpublic void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testProgrammedProxies()
public void testDynamicProxies()
public void testCollectionProxies()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |