|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.jtests.jms.framework.JMSTestCase (src)
org.objectweb.jtests.jms.framework.PubSubTestCase (src)
org.objectweb.jtests.jms.conform.connection.TopicConnectionTest
Test topic-specific connection features. Test setting of client ID which is relevant only for Durable Subscribtion
Field Summary |
Fields inherited from class org.objectweb.jtests.jms.framework.PubSubTestCase (src) |
publisher, publisherConnection, publisherSession, publisherTCF, publisherTopic, subscriber, subscriberConnection, subscriberSession, subscriberTCF, subscriberTopic |
Constructor Summary | |
TopicConnectionTest(java.lang.String name)
|
Method Summary | |
static Test |
suite()
Method to use this class in a Test suite |
void |
testSetClientID_1()
Test that a call to setClientID will throw an
IllegalStateException if a client ID has already been set
see JMS javadoc
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Connection.html#setClientID(java.lang.String) |
void |
testSetClientID_2()
Test that a call to setClientID can occur only after connection creation
and before any other action on the connection. |
Methods inherited from class org.objectweb.jtests.jms.framework.PubSubTestCase (src) |
setUp, tearDown |
Methods inherited from class org.objectweb.jtests.jms.framework.JMSTestCase (src) |
fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TopicConnectionTest(java.lang.String name)
Method Detail |
public void testSetClientID_1()
setClientID
will throw an
IllegalStateException
if a client ID has already been set
see JMS javadoc
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Connection.html#setClientID(java.lang.String)
public void testSetClientID_2()
setClientID
can occur only after connection creation
and before any other action on the connection.
This test is relevant only if the ID is set by the JMS client
see JMS javadoc
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Connection.html#setClientID(java.lang.String)
public static Test suite()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |