|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ConnectionFactory
and makes it available
from JNDI with name name
.
InitialContext
with correct properties from
the JMS Provider.
Queue
and makes it available
from JNDI with name name
.
QueueConnectionFactory
and makes it available
from JNDI with name name
.
Topic
and makes it available
from JNDI with name name
.
TopicConnectionFactory
and makes it available
from JNDI with name name
.
ConnectionFactory
of name name
from JNDI and deletes it
Queue
of name name
from JNDI and deletes it
QueueConnectionFactory
of name name
from JNDI and deletes it
Topic
of name name
from JNDI and deletes it
TopicConnectionFactory
of name name
from JNDI and deletes it
junit.framework.TestCase
to
provide a new fail()
method with an Exception
as parameter.javax.jms.Message
interface.javax.jms.Message
properties.javax.jms.Message
properties.javax.jms.QueueBrowser
features.QueueBrowser
of the receiver's session
QueueBrowser
of the sender's session
javax.jms.TemporaryQueue
features.javax.jms.TemporaryTopic
features.acknowledge()
method of a received message
from a closed connection's session must throw an IllegalStateException
.
acknowledge()
method of a received message
from a closed session must throw an IllegalStateException
.
boolean
,
it can also be read as a boolean
.
boolean
,
to get is as a byte
throws a javax.jms.MessageFormatException
.
boolean
,
to get is as a double
throws a javax.jms.MessageFormatException
.
boolean
,
to get is as a float
throws a javax.jms.MessageFormatException
.
boolean
,
to get is as a int
throws a javax.jms.MessageFormatException
.
boolean
,
to get is as a long
throws a javax.jms.MessageFormatException
.
boolean
,
to get is as a short
throws a javax.jms.MessageFormatException
.
boolean
,
it can also be read as a String
.
QueueBrowser created with a message selector
browses only the messages matching this selector.
- testByte2Boolean() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
to get is as a boolean
throws a javax.jms.MessageFormatException
.
- testByte2Byte() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
it can also be read as a byte
.
- testByte2Double() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
to get is as a double
throws a javax.jms.MessageFormatException
.
- testByte2Float() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
to get is as a float
throws a javax.jms.MessageFormatException
.
- testByte2Int() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
it can also be read as an int
.
- testByte2Long() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
it can also be read as a long
.
- testByte2Short() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
it can also be read as a short
.
- testByte2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
byte
,
it can also be read as a String
.
- testBytesMessage_1() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
BytesMessage
with an empty body.
- testBytesMessage_2() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
BytesMessage
with 2 Java primitives in its body (a
String
and a double
).
- testClearBody_1() -
Method in class org.objectweb.jtests.jms.conform.message.MessageBodyTest
- Test that the
TextMessage.clearBody()
effectively clear the body of the message
- testClearBody_2() -
Method in class org.objectweb.jtests.jms.conform.message.MessageBodyTest
- Test that the
TextMessage.clearBody()
method does nto clear the
message properties.
- testClearProperties_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that the
Message.clearProperties()
method deletes all the
properties of the Message.
- testClearProperties_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that the
Message.clearProperties()
method does not clear the
value of the Message's body.
- testCloseClosedConnection() -
Method in class org.objectweb.jtests.jms.conform.connection.ConnectionTest
- Test that closing a closed connectiondoes not throw an exception.
- testCloseClosedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that closing a closed session does not throw
an exception.
- testCommitNonTransactedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that an attempt to call the
commit()
method on a
non transacted Session
throws a
javax.jms.IllegalStateException
.
- testCommitTransactedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that a call to the
rollback()
method on a
transacted Session
rollbacks all
the messages sent in the transaction.
- TestConfig - Class in org.objectweb.jtests.jms.framework
- Class used to provide configurable options in a convenient way
- TestConfig() -
Constructor for class org.objectweb.jtests.jms.framework.TestConfig
-
- testCreateBrowser_1() -
Method in class org.objectweb.jtests.jms.conform.session.QueueSessionTest
- Test that a call to the
createBrowser()
method with an invalid
Queue
throws a javax.jms.InvalidDestinationException
.
- testCreateBrowser_2() -
Method in class org.objectweb.jtests.jms.conform.session.QueueSessionTest
- Test that a call to the
createBrowser()
method with an invalid
messaeg session throws a javax.jms.InvalidSelectorException
.
- testCreateBrowserOnTopicSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createBrowser()
method
on a TopicSession
throws a
javax.jms.IllegalStateException
.
- testCreateDurableConnectionConsumerOnQueueConnection() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createDurableConnectionConsumer()
method
on a QueueConnection
throws a
javax.jms.IllegalStateException
.
- testCreateDurableSubscriber_1() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test that a call to the
createDurableSubscriber()
method with an invalid
Topic
throws a javax.jms.InvalidDestinationException
.
- testCreateDurableSubscriber_2() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test that a call to the
createDurableSubscriber()
method with an invalid
message selector throws a javax.jms.InvalidSelectorException
.
- testCreateDurableSubscriberOnQueueSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createDurableSubscriber()
method
on a QueueSession
throws a
javax.jms.IllegalStateException
.
- testCreateQueueOnTopicSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createQueue()
method
on a TopicSession
throws a
javax.jms.IllegalStateException
.
- testCreateReceiver_1() -
Method in class org.objectweb.jtests.jms.conform.session.QueueSessionTest
- Test that a call to the
createReceiver()
method with an invalid
Queue
throws a javax.jms.InvalidDestinationException
>
- testCreateReceiver_2() -
Method in class org.objectweb.jtests.jms.conform.session.QueueSessionTest
- Test that a call to the
createReceiver()
method with an invalid
message selector throws a javax.jms.InvalidSelectorException
.
- testCreateSubscriber_1() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test that a call to the
createSubscriber()
method with an invalid
Topic
throws a javax.jms.InvalidDestinationException
.
- testCreateSubscriber_2() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test that a call to the
createSubscriber()
method with an invalid
message selector throws a javax.jms.InvalidSelectorException
.
- testCreateTemporaryQueueOnTopicSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createTemporaryQueue()
method
on a TopicSession
throws a
javax.jms.IllegalStateException
.
- testCreateTemporaryTopicOnQueueSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createTemporaryTopic()
method
on a QueueSession
throws a
javax.jms.IllegalStateException
.
- testCreateTopicOnQueueSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
createTopic()
method
on a QueueSession
throws a
javax.jms.IllegalStateException
.
- testDEFAULT_DELIVERY_MODE() -
Method in class org.objectweb.jtests.jms.conform.message.MessageDefaultTest
- test that the
DEFAULT_DELIVERY_MODE
of javax.jms.Message
corresponds to javax.jms.Delivery.PERSISTENT
.
- testDEFAULT_PRIORITY() -
Method in class org.objectweb.jtests.jms.conform.message.MessageDefaultTest
- test that the
DEFAULT_PRIORITY
of javax.jms.Message
corresponds to 4.
- testDouble2Boolean() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
to get is as a boolean
throws a javax.jms.MessageFormatException
.
- testDouble2Byte() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
to get is as a byte
throws a javax.jms.MessageFormatException
.
- testDouble2Double() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
it can also be read as a double
.
- testDouble2Float() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
to get is as a float
throws a javax.jms.MessageFormatException
.
- testDouble2Int() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
to get is as an int
throws a javax.jms.MessageFormatException
.
- testDouble2Long() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
to get is as a long
throws a javax.jms.MessageFormatException
.
- testDouble2Short() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
to get is as a short
throws a javax.jms.MessageFormatException
.
- testDouble2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
double
,
it can also be read as a java.lang.String
.
- testDurableSubscriber() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test that a durable subscriber effectively receives the messages sent to its
topic while it was inactive.
- testEmptyStringAsSelector() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that message selector can be an empty string.
- testEmptyStringAsSelector() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test that an empty string as a message selector indicates that there
is no message selector for the message consumer.
- testEmptyStringInSetMethodsForMapMessage() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Test that the if the name parameter of the set methods of a
MapMessage
is an empty String,
the method must throw the error java.lang.IllegalArgumentException
.
- testEquals() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the "=" condition in message selector.
- testExactNumericLiteral() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test diffent syntax for exact numeric literal (+62, -957, 57)
- testFloat2Boolean() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
to get is as a boolean
throws a javax.jms.MessageFormatException
.
- testFloat2Byte() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
to get is as a byte
throws a javax.jms.MessageFormatException
.
- testFloat2Double() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
it can also be read as a double
.
- testFloat2Float() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
it can also be read as a float
.
- testFloat2Int() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
to get is as a int
throws a javax.jms.MessageFormatException
.
- testFloat2Long() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
to get is as a long
throws a javax.jms.MessageFormatException
.
- testFloat2Short() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
to get is as a short
throws a javax.jms.MessageFormatException
.
- testFloat2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
float
,
it can also be read as a String
.
- testGetBooleanProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
boolean
property which does not exist
returns false
- testGetByteProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
byte
property which does not exist throw
a java.lang.NumberFormatException
- testGetDoubleProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
double
property which does not exist throw
a java.lang.NullPointerException
- testGetFloatProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
float
property which does not exist throw
a java.lang.NullPointerException
- testGetIntProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
int
property which does not exist throw
a java.lang.NumberFormatException
- testGetLongProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
long
property which does not exist throw
a java.lang.NumberFormatException
- testgetMapNames() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Test that the
MapMessage.getMapNames()
method returns an
empty Enumeration
when no map has been defined before.
- testGetObjectProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that a
null
value is returned by the Message.getObjectProperty()
method
if a property by the specified name does not exits.
- testGetPropertyNames() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that the
Message.getPropertyNames()
method does not return
the name of the JMS standard header fields (e.g.
- testGetShortProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that an attempt to get a
short
property which does not exist throw
a java.lang.NumberFormatException
- testGetStringProperty() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that a
null
value is returned by the Message.getStringProperty()
method
if a property by the specified name does not exits.
- testGetTransacted() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that the
getTransacted()
method of a Session
returns true
if the session is transacted, false
else.
- testGreaterThan() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the ">" condition in message selector.
- testIdentifierAND() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
AND
.
- testIdentifierBETWEEN() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
BETWEEN
.
- testIdentifierConversion() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test that conversions that apply to the
get
methods for properties do not
apply when a property is used in a message selector expression.
- testIdentifierESCAPE() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
ESCAPE
.
- testIdentifierFALSE() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
FALSE
.
- testIdentifierIN() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
IN
.
- testIdentifierIS() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
IS
.
- testIdentifierLIKE() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
LIKE
.
- testIdentifierNOT() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
NOT
.
- testIdentifierNULL() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
NULL
.
- testIdentifierOR() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
OR
.
- testIdentifierTRUE() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers can't be
TRUE
.
- testIn() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test syntax of "identifier [NOT] IN (string-literal1, string-literal2,...)"
- testIn() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the IN condition in message selector.
- testInt2Boolean() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
int
,
to get is as a boolean
throws a javax.jms.MessageFormatException
.
- testInt2Byte() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
int
,
to get is as a byte
throws a javax.jms.MessageFormatException
.
- testInt2Double() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
int
,
to get is as a double
throws a javax.jms.MessageFormatException
.
- testInt2Float() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
int
,
to get is as a float
throws a javax.jms.MessageFormatException
.
- testInt2Int() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as an
int
,
it can also be read as an int
.
- testInt2Long() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as an
int
,
it can also be read as a long
.
- testInt2Short() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
int
,
to get is as a short
throws a javax.jms.MessageFormatException
.
- testInt2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as an
int
,
it can also be read as a String
.
- testInvalidIdentifiersStart() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers that start with an invalid Java identifier start character are invalid.
- testJMSDeliveryMode() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the
JMSDeliveryMode
header field value is ignored
when the message is sent and that it holds the value specified by the sending
method (i.e.
- testJMSDeliveryModeInSelector() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test that the JMS property
JMSDeliveryMode
is treated as having the values 'PERSISTENT'
or 'NON_PERSISTENT'
when used in a message selector (chapter 3.8.1.3).
- testJMSDestination() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the
JMSDestination
header field value is ignored when the message
is sent and that after completion of the sending method, it holds the Destination
specified by the sending method.
- testJMSExpiration() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the value of the
JMSExpiration header field is the same
for the sent message and the received one.
- testJMSMessageID_1() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the
JMSMessageID
header field value is
ignored when the message is sent.
- testJMSMessageID_2() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the
JMSMessageID
is set by the provider when the send
method returns
and that it starts with "ID:"
.
- testJMSPriority_1() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the priority set by
Message.setJMSPriority()
is ignored when a
message is sent and that it holds the value specified when sending the message (i.e.
- testJMSPriority_2() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that the
MessageProducer.setPriority()
changes effectively
priority of the message.
- testJMSReplyTo_1() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that a
Destination
set by the setJMSReplyTo()
method on a sended message corresponds to the Destination
get by
the
getJMSReplyTo()
method.
- testJMSReplyTo_2() -
Method in class org.objectweb.jtests.jms.conform.message.headers.MessageHeaderTest
- Test that if the JMS ReplyTo header field has been set as a
TemporaryQueue
,
it will be rightly get also as a TemporaryQueue
(and not only as a Queue
).
- testJMSXDeliveryCount() -
Method in class org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest
- Test that the JMSX property
JMSXDeliveryCount
works.
- testJMSXGroupID_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest
- Test that the JMSX property
JMSXGroupID
works
- testLike() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test syntax of "identifier [NOT] LIKE pattern-value [ESCAPE escape-character]"
- testLike_1() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the LIKE condition with '%' in the pattern.
- testLike_2() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the LIKE condition with '_' in the pattern.
- testLikeEscape() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the LIKE ...
- testLong2Boolean() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
to get is as a boolean
throws a javax.jms.MessageFormatException
.
- testLong2Byte() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
to get is as a byte
throws a javax.jms.MessageFormatException
.
- testLong2Double() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
to get is as a double
throws a javax.jms.MessageFormatException
.
- testLong2Float() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
to get is as a float
throws a javax.jms.MessageFormatException
.
- testLong2Int() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
to get is as an int
throws a javax.jms.MessageFormatException
.
- testLong2Long() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
it can also be read as a long
.
- testLong2Short() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
to get is as a short
throws a javax.jms.MessageFormatException
.
- testLong2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
long
,
it can also be read as a String
.
- testMapMessage_1() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
MapMessage
with an empty body.
- testMapMessage_2() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
MapMessage
with 2 Java primitives in its body (a
String
and a double
).
- testMapMessageConversion() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Test in MapMessage the conversion between
getObject("foo")
and
getDouble("foo")
(the later returning a java.lang.Double and the former a double)
- testMessageSentWhenConnectionClosed() -
Method in class org.objectweb.jtests.jms.conform.connection.ConnectionTest
- Test that a
MessageProducer
can send messages while a
Connection
is stopped.
- testNotEquals() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the "<>" (not equal) condition in message selector.
- testNull() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test syntax of "identifier IS [NOT] NULL"
- testNull() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the
NULL
value in message selector.
- testNullInSetMethodsForMapMessage() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Test that the if the name parameter of the set methods of a
MapMessage
is null
,
the method must throw the error java.lang.IllegalArgumentException
.
- testObjectMessage_1() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
ObjectMessage
with an empty body.
- testObjectMessage_2() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send an
ObjectMessage
with a Vector
(composed of a
String
and a double
) in its body.
- testPropertyIteration() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that the
Message.getPropertyNames()
method returns an empty
java.util.Enumeration
if there is no properties.
- testRecoverTransactedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that an attempt to call the
recover()
method on a
transacted Session
throws a
javax.jms.IllegalStateException
.
- testRollbackNonTransactedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that an attempt to call the
roolback()
method on a
non transacted Session
throws a
javax.jms.IllegalStateException
.
- testRollbackRececeivedMessage() -
Method in class org.objectweb.jtests.jms.conform.session.QueueSessionTest
- Test that if we rollback a transaction which has consumed a message,
the message is effectively redelivered.
- testRollbackReceivedMessage() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test that if we rollback a transaction which has consumed a message,
the message is effectively redelivered.
- testRollbackTransactedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that a call to the
rollback()
method on a
transacted Session
rollbacks all
the messages sent in the transaction.
- testSelectorExampleFromSpecs() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Test the message selector using the filter example provided by the JMS specifications.
- testSenderBrowser() -
Method in class org.objectweb.jtests.jms.conform.queue.QueueBrowserTest
- Test the
QueueBrowser
of the sender.
- testSetClientID_1() -
Method in class org.objectweb.jtests.jms.conform.connection.TopicConnectionTest
- 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)
- testSetClientID_2() -
Method in class org.objectweb.jtests.jms.conform.connection.TopicConnectionTest
- Test that a call to
setClientID
can occur only after connection creation
and before any other action on the connection.
- testSetObjectProperty_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- if a property is set as a
Float
with the Message.setObjectProperty()
method, it can be retrieve directly as a double
by Message.getFloatProperty()
- testSetObjectProperty_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyTest
- Test that any other class than
Boolean, Byte, Short, Integer, Long,
Float, Double
and String
used in the Message.setObjectProperty()
method throws a javax.jms.MessageFormatException
.
- testShort2Boolean() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
to get is as a boolean
throws a javax.jms.MessageFormatException
.
- testShort2Byte() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
to get is as a byte
throws a javax.jms.MessageFormatException
.
- testShort2Double() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
to get is as a double
throws a javax.jms.MessageFormatException
.
- testShort2Float() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
to get is as a float
throws a javax.jms.MessageFormatException
.
- testShort2Int() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
it can also be read as an int
.
- testShort2Long() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
it can also be read as a long
.
- testShort2Short() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
it can also be read as a short
.
- testShort2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
short
,
it can also be read as a String
.
- testStartStartedConnection() -
Method in class org.objectweb.jtests.jms.conform.connection.ConnectionTest
- Test that starting a started connection is ignored
- testStopConsumerConnection() -
Method in class org.objectweb.jtests.jms.conform.connection.ConnectionTest
- Test that delivery of message is stopped if the message consumer connection is stopped
- testStopStoppedConnection() -
Method in class org.objectweb.jtests.jms.conform.connection.ConnectionTest
- Test that stopping a stopped connection is ignored
- testStreamMessage_1() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
StreamMessage
with an empty body.
- testStreamMessage_2() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
StreamMessage
with 2 Java primitives in its body (a
String
and a double
).
- testString() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test diffent syntax for string literal ('literal' and 'literal''s')
- testString2Boolean_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a boolean
if the String
is a correct representation of a boolean
(e.g.
- testString2Boolean_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a boolean
returns true
if the property is not
null and is equal, ignoring case, to the string "true" (.eg.
- testString2Byte_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a byte
if the String
is a correct representation of a byte
(e.g.
- testString2Byte_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a byte
throws a java.lang.NuberFormatException
if the String
is not a correct representation for a byte
(e.g.
- testString2Double_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a double
as long as the String
is a correct representation of a double
(e.g.
- testString2Double_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a double
throws a java.lang.NuberFormatException
if the String
is not a correct representation for a double
(e.g.
- testString2Float_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a float
as long as the String
is a correct representation of a float
(e.g.
- testString2Float_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a float
throws a java.lang.NuberFormatException
if the String
is not a correct representation for a float
(e.g.
- testString2Int_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a int
as long as the String
is a correct representation of a int
(e.g.
- testString2Int_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a int
throws a java.lang.NuberFormatException
if the String
is not a correct representation for a int
(e.g.
- testString2Long_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a long
as long as the String
is a correct representation of a long
(e.g.
- testString2Long_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a long
throws a java.lang.NuberFormatException
if the String
is not a correct representation for a long
(e.g.
- testString2Short_1() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a short
as long as the String
is a correct representation of a short
(e.g.
- testString2Short_2() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
to get it as a short
throws a java.lang.NuberFormatException
if the String
is not a correct representation for a short
(e.g.
- testString2String() -
Method in class org.objectweb.jtests.jms.conform.message.properties.MessagePropertyConversionTest
- if a property is set as a
java.lang.String
,
it can also be read as a java.lang.String
.
- testStringLiterals() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorTest
- Tats that String literals are well handled by the message selector.
- testSupportsJMSXDeliveryCount() -
Method in class org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest
- Test that the JMSX property
JMSXDeliveryCount
is supported.
- testSupportsJMSXGroupID() -
Method in class org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest
- Test that the JMSX property
JMSXGroupID
is supported.
- testSupportsJMSXGroupSeq() -
Method in class org.objectweb.jtests.jms.conform.message.properties.JMSXPropertyTest
- Test that the JMSX property
JMSXGroupSeq
is supported.
- testTemporaryQueue() -
Method in class org.objectweb.jtests.jms.conform.queue.TemporaryQueueTest
- Test a TemporaryQueue
- testTemporaryTopic() -
Method in class org.objectweb.jtests.jms.conform.topic.TemporaryTopicTest
- Test a TemporaryTopic
- testTextMessage_1() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
TextMessage
with an empty body.
- testTextMessage_2() -
Method in class org.objectweb.jtests.jms.conform.message.MessageTypeTest
- Send a
TextMessage
with a String
in its body.
- testUnsubscribe() -
Method in class org.objectweb.jtests.jms.conform.session.TopicSessionTest
- Test the unsubscription of a durable subscriber.
- testUnsubscribeOnQueueSession() -
Method in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- Test that a call to
unsubscribe()
method
on a QueueSession
throws a
javax.jms.IllegalStateException
.
- testUseClosedConnection() -
Method in class org.objectweb.jtests.jms.conform.connection.ConnectionTest
- Test that an attempt to use a
Connection
which has been closed
throws a javax.jms.IllegalStateException
.
- testUsedClosedSession() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that an attempt to use a
Session
which has been closed
throws a javax.jms.IllegalStateException
.
- testUseMessage() -
Method in class org.objectweb.jtests.jms.conform.session.SessionTest
- Test that it is valid to use message objects created or received via the [closed] session with the
exception of a received message
acknowledge()
method.
- testValidIdentifiersStart() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test that identifiers that start with a valid Java identifier start character are valid.
- testWriteOnReceivedBody() -
Method in class org.objectweb.jtests.jms.conform.message.MessageBodyTest
- Test that a call to the
TextMessage.setText()
method on a
received message raises a javax.jms.MessageNotWriteableException
.
- testZero() -
Method in class org.objectweb.jtests.jms.conform.selector.SelectorSyntaxTest
- Test diffent syntax for zero as an exact or an approximate numeric literal (0, 0.0, 0.)
- TIMEOUT -
Static variable in class org.objectweb.jtests.jms.framework.TestConfig
- timeout value used by
receive
method in the tests.
- topic -
Variable in class org.objectweb.jtests.jms.framework.UnifiedTestCase
- Topic
- topicConnection -
Variable in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- TopicConnection
- topicConnectionFactory -
Variable in class org.objectweb.jtests.jms.framework.UnifiedTestCase
- TopicConnectionFactory
- TopicConnectionTest - Class in org.objectweb.jtests.jms.conform.connection
- Test topic-specific connection features.
- TopicConnectionTest(String) -
Constructor for class org.objectweb.jtests.jms.conform.connection.TopicConnectionTest
-
- topicSession -
Variable in class org.objectweb.jtests.jms.conform.session.UnifiedSessionTest
- TopicSession (non transacted, AUTO_ACKNOWLEDGE)
- TopicSessionTest - Class in org.objectweb.jtests.jms.conform.session
- Test topic sessions
See JMS specifications, �4.4 Session - TopicSessionTest(String) -
Constructor for class org.objectweb.jtests.jms.conform.session.TopicSessionTest
-
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |