|
xmlBlaster 1.6.2 API | ||||||||||
| 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.xmlBlaster.test.qos.TestEmbeddedXmlBlaster
This client tests to start an xmlBlaster server in a thread and stop it again.
Invoke examples:
java junit.textui.TestRunner org.xmlBlaster.test.qos.TestEmbeddedXmlBlaster
java junit.swingui.TestRunner org.xmlBlaster.test.qos.TestEmbeddedXmlBlaster
EmbeddedXmlBlaster| Field Summary | |
private I_XmlBlasterAccess |
con
|
private Global |
glob
|
private static java.util.logging.Logger |
log
|
private static java.lang.String |
ME
|
private java.lang.String |
name
|
private java.lang.String |
passwd
|
private int |
serverPort
|
private EmbeddedXmlBlaster |
serverThread
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
TestEmbeddedXmlBlaster(Global glob,
java.lang.String testName)
|
|
TestEmbeddedXmlBlaster(java.lang.String testName)
Constructs the TestEmbeddedXmlBlaster object. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Deprecated. Use the TestRunner from the testsuite to run it: java -Djava.compiler= junit.textui.TestRunner org.xmlBlaster.test.qos.TestEmbeddedXmlBlaster |
protected void |
setUp()
Sets up the fixture. |
protected void |
tearDown()
Tears down the fixture. |
void |
testThreadFree()
RMI fails as we don't know how to kill the registry JacORB 1.3.30 can't reinitialize the orb if once shutdown (so we leave it alive) hopefully fixed with JacORB 1.4.2 XmlRpc has one thread open??? |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final java.lang.String ME
private final Global glob
private static java.util.logging.Logger log
private I_XmlBlasterAccess con
private java.lang.String name
private java.lang.String passwd
private EmbeddedXmlBlaster serverThread
private int serverPort
| Constructor Detail |
public TestEmbeddedXmlBlaster(java.lang.String testName)
testName - The name used in the test suite
public TestEmbeddedXmlBlaster(Global glob,
java.lang.String testName)
| Method Detail |
protected void setUp()
protected void tearDown()
public void testThreadFree()
BEFORE:
Thread Group: system Max Priority: 10
Thread: Signal dispatcher Priority: 5 Daemon
Thread: Reference Handler Priority: 10 Daemon
Thread: Finalizer Priority: 8 Daemon
Thread Group: main Max Priority: 10
Thread: main Priority: 5
AFTER:
Thread Group: system Max Priority: 10
Thread: Signal dispatcher Priority: 5 Daemon
Thread: Reference Handler Priority: 10 Daemon
Thread: Finalizer Priority: 8 Daemon
Thread: RMI TCP Accept-1 Priority: 5 Daemon
Thread: RMI TCP Accept-2 Priority: 5 Daemon
Thread: GC Daemon Priority: 2 Daemon
Thread: RMI RenewClean-[192.168.1.3:33493] Priority: 5 Daemon
Thread: RMI LeaseChecker Priority: 5 Daemon
Thread: RMI ConnectionExpiration-[192.168.1.3:33493] Priority: 5 Daemon
Thread: RMI ConnectionExpiration-[kinder:7613] Priority: 5 Daemon
Thread Group: main Max Priority: 10
Thread: XmlBlaster MainThread Priority: 5
Thread: Thread-11 Priority: 10 Daemon
Thread: JacORB Listener Thread on port 33489 Priority: 5 Daemon
Thread: Thread-14 Priority: 10 Daemon
Thread: Thread-16 Priority: 5 Daemon
Thread Group: XMLRPC Runner Max Priority: 10
Thread Group: RMI Runtime Max Priority: 10
Thread: TCP Connection(3)-192.168.1.3 Priority: 5 Daemon
Thread: TCP Connection(4)-192.168.1.3 Priority: 5 Daemon
public static void main(java.lang.String[] args)
java -Djava.compiler= junit.textui.TestRunner org.xmlBlaster.test.qos.TestEmbeddedXmlBlaster
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||