|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.openorb.orb.test.ORBTestCase
org.openorb.orb.test.adapter.poa.POATest
public class POATest
Tests range of POA policies and features.
| Constructor Summary | |
|---|---|
POATest(java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
The main entry point of the test case. |
protected void |
setUp()
Overloaded to allow the persistant test case to work. |
void |
testDefaultPolicies()
Test explicit activation and deactivation with the root POA. |
void |
testImplicitActivationRootPOA()
Test implicit activation with the root POA and basic object operations. |
void |
testNonRetainDefaultServant()
Test implicit activation with the root POA. |
void |
testPersistanceAndActivators()
Test persistant/system ids, adapter activator, servant activator. |
void |
testUserIDPolicy()
Test user ids. |
| Methods inherited from class org.openorb.orb.test.ORBTestCase |
|---|
enteringTest, exitingTest, forceMarshal, getORB, restartORB, setUp, tearDown, writeVerboseHex |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public POATest(java.lang.String name)
name - The name of the test case.| Method Detail |
|---|
protected void setUp()
setUp in class ORBTestCase
public void testImplicitActivationRootPOA()
throws org.omg.CORBA.UserException
org.omg.CORBA.UserException - if any of the test case fails .
public void testDefaultPolicies()
throws org.omg.CORBA.UserException
org.omg.CORBA.UserException - if any of the test case fails
public void testUserIDPolicy()
throws org.omg.CORBA.UserException
org.omg.CORBA.UserException - if any of the test case fails
public void testNonRetainDefaultServant()
throws org.omg.CORBA.UserException
org.omg.CORBA.UserException - if any of the test case fails
public void testPersistanceAndActivators()
throws org.omg.CORBA.UserException
org.omg.CORBA.UserException - if any of the test case failspublic static void main(java.lang.String[] args)
args - The command line parameters.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||