Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectweb.jtests.* (22)

Package Samples:

org.objectweb.jtests.jms.conform.message.headers: Tests JMS Message features.  
org.objectweb.jtests.jms.conform.message.properties: Tests JMS Message features.  
org.objectweb.jtests.jms.admin
org.objectweb.jtests.jms.conform.connection
org.objectweb.jtests.jms.conform.message
org.objectweb.jtests.jms.conform.queue
org.objectweb.jtests.jms.conform.selector
org.objectweb.jtests.jms.conform.session
org.objectweb.jtests.jms.conform.topic
org.objectweb.jtests.jms.framework
org.objectweb.jtests.providers.admin

Classes:

MessagePropertyConversionTest: Test the conversion of primitive types for the javax.jms.Message properties. See JMS Specification, 3.5.4 Property Value Conversion and the corresponding table (p.33-34). The method name testXXX2YYY means that we test if a property which has been set as a XXX type can be read as a YYY type, where XXX and YYY can be boolean, byte, short, long, float double or String . ---------------------------------------------------------------| | boolean | byte | short | int | long | float | double | String| |-----------------------------------------------------------------------| |boolean | X X | |byte | X ...
MessageTypeTest: Test the different types of messages provided by JMS. JMS provides 6 types of messages which differs by the type of their body: Message which doesn't have a body TextMessage with a String as body ObjectMessage with any Object as body BytesMessage with a body made of bytes MapMessage with name-value pairs of Java primitives in its body StreamMessage with a stream of Java primitives as body For each of this type of message, we test that a message can be sent and received with an empty body or not.
PubSubTestCase: Creates convenient JMS Publish/Subscribe objects which can be needed for tests. This class defines the setUp and tearDown methods so that JMS administrated objects and other "ready to use" Pub/Sub objects (that is to say topics, sessions, publishers and subscribers) are available conveniently for the test cases. Classes which want that convenience should extend PubSubTestCase instead of JMSTestCase .
PTPTestCase: Creates convenient Point to Point JMS objects which can be needed for tests. This class defines the setUp and tearDown methods so that JMS administrated objects and other "ready to use" PTP objects (that is to say queues, sessions, senders and receviers) are available conveniently for the test cases. Classes which want that convenience should extend PTPTestCase instead of JMSTestCase .
JMSTestCase: Class extending junit.framework.TestCase to provide a new fail() method with an Exception as parameter. Every Test Case for JMS should extend this class instead of junit.framework.TestCase
Admin: Simple Administration interface. JMS Provider has to implement this simple interface to be able to use the test suite.
MessagePropertyTest: Test the javax.jms.Message properties. See JMS Specification, 3.5 Message Properties (p.32-37)
TopicConnectionTest: Test topic-specific connection features. Test setting of client ID which is relevant only for Durable Subscribtion
MessageDefaultTest: Test the default constants of the javax.jms.Message interface.
ConnectionTest: Test connections. See JMS specifications, 4.3.5 Closing a Connection
QueueSessionTest: Test queue sessions See JMS specifications, 4.4 Session
TopicSessionTest: Test topic sessions See JMS specifications, 4.4 Session
SessionTest: Test sessions See JMS specifications, 4.4 Session
TemporaryQueueTest: Test the javax.jms.TemporaryQueue features.
TemporaryTopicTest: Test the javax.jms.TemporaryTopic features.
QueueBrowserTest: Test the javax.jms.QueueBrowser features.
SelectorSyntaxTest: Test the syntax of of message selector of JMS
SelectorTest: Test the message selector features of JMS
MessageHeaderTest: Test the headers of a message
MessageBodyTest: Tests on message body.
AdminFactory
JBossMQAdmin

Home | Contact Us | Privacy Policy | Terms of Service