|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
ConnectionFactoryTestCase interface.ConnectionTestCase interface.MessageTestCase
interface.SendReceiveTestCase interface.SessionTestCase
interface.AuthTest.
Session.AUTO_ACKNOWLEDGE message acknowledgment mode.AutoAckTest
BasicBytesMessage.
BasicMapMessage
BasicMessage
BasicMessageFactory
BasicMessageFactory
BasicObjectMessage
TestRunner.runTest(junit.framework.Test, junit.framework.TestResult).
BasicServerSession
javax.jms.ServerSessionPool interface.BasicServerSessionPool
BasicStreamMessage.
BasicTextMessage
TestCoverage.begin(org.exolab.jmscts.core.JMSTestCase) may not be invoked if the test setup fails.
BytesMessage message type.BytesMessage copies contentBytesMessageTest
InvalidSelectorException
Message.clearBody() and
Message.clearProperties()ClearTest
Message.clearProperty() and
Message.clearBody() related tests.Session.CLIENT_ACKNOWLEDGE message acknowledgment mode.ClientAcknowledgeTest
ClientIdentifierTest
Session.closeSession.CLIENT_ACKNOWLEDGE message acknowledgment mode.CloseTest
CloseTest
CloseTest
CommitTest
CompletionListener
Configuration
Connection.closeConnectionCloseTest.
ConnectionConsumersConnectionConsumerTest.
TestCoverage instanceBytesMessage
BytesMessage
BytesMessage
MapMessage
MapMessage
MapMessage
Message
Message
Message
ObjectMessage
ObjectMessage
ObjectMessage
MessageReceiver for the supplied session, destination,
and messaging behaviour
MessageReceiver for the supplied session, destination,
messaging behaviour, and selector
MessageReceiver for the supplied session, destination,
messaging behaviour, and selector
AbstractSendReceiveTestCase.getDestination(java.lang.String), using the default test context
MessageReceiver for the supplied test context and
destination
MessageReceiver for the supplied test context,
destination, selector, and noLocal flag
MessageReceiver for the supplied test context,
destination, name, selector, and noLocal flag
AbstractSendReceiveTestCase.getDestination(java.lang.String), using the specified test context
AbstractSendReceiveTestCase.getDestinations()
AbstractSendReceiveTestCase.getDestinations()
MessageSender for the supplied session, destination
and behaviour
AbstractSendReceiveTestCase.getDestination(java.lang.String), using the default test context
MessageSender for the supplied test context
AbstractSendReceiveTestCase.getDestination(java.lang.String), using the specified test context
AbstractSendReceiveTestCase.getDestinations()
AbstractSendReceiveTestCase.getDestinations()
StreamMessage
StreamMessage
StreamMessage
TextMessage
TextMessage
TextMessage
DelayedAction
DelayedAction, with a listener to notify
on completion
DelegatingListener
DelegatingListener, and register
an initial listener
DupublicDurableSubscriberTest
Session.DUPS_OK_ACKNOWLEDGE message acknowledgment mode.DupsAckTest
DurableSubscriberTest
MessageListener interface and
echoes messages to another destinationEchoListener.onMessage(javax.jms.Message) is invoked
EchoListener.onMessage(javax.jms.Message) is invoked.
ExecutionMonitorService
ExpirationTest
ForeignMessageTest
MessageTypes
instance
AckType instance
ConnectionFactoryTypes instance
MessageTypes
instance
ConnectionFactoryTypes instance
AckTypes instance
TestContext to a
Behaviour
jmscts.factory javadoc tags associated with the test
case
TestContext instance to a Context
jmscts.delivery javadoc tags associated with the test
case.
ThreadedAction.runProtected(), or
null, if no exception was thrown
ThreadedActions.runProtected().
TestContext to a Factory
Failure
Failure
jmscts.home system property,
defaulting to the value of user.dir if its not set
jmscts.home system property,
defaulting to the value of user.dir if its not set
TestContext to a MessageType
jmscts.message javadoc tags associated with the test
case.
Message methods
TestContext to a SessionType
JMSTestCase instance to a TestRun
JMSTestCase instance to a TestRun,
using the specified context
JMSTestCase instance to a TestRuns
JMSCorrelationIDTest
JMSDeliveryModeJMSDestinationTest
JMSMessageIDTest
JMSPriorityJMSReplyToTest
JMSTimestampJMSXGroupTest
JUnitTestRunner
ListenerCloseTest
ListenerTest
Receive toolReceive toolMapMessage copies byte array contentMapMessage message type.MapMessageTest
MapMessageTest
test, adding the
contained Test instances to suite, in order for the
ProviderTestRunner to be invoked successfully.
MessageCopyTest
MesssageCreator
MessageFactory
MessageFactory
MessageListenerTest
MessageConsumer or
QueueBrowser.MessageProducerMessagingCommand
MessengerService
MetaDataTest
Class.getDeclaredMethods() and Class.getMethod(java.lang.String, java.lang.Class[]) callsTopicSubscriberNoLocalTest
IllegalStateException if invokedNonTransactedTest
ObjectMessage copies contentObjectMessage message typeObjectMessageTest
ObjectMessageTest
MessageListener.onMessage() for each of
the registered listeners
MessagePopulatorVerifier
for a given messageMessageProducer related testsPropertyConversionTest
Property instancesProperty instancesPropertyTest
PropertyTypeTest
Provider using its configurationProviderLoader
QueueSendersQueueSenderTest
boolean from the bytes message stream
boolean from the bytes message stream
double from the stream message
double from the bytes message stream
float from the stream message
float from the bytes message stream
ReadWriteTest
Message instances from a
MessageConsumer or QueueBrowser
CountingListener
ReceiverCloseTest
ReceiverTest
ReceiveSize0KTest for a specific
test case
Message.clearBody() and
Message.clearProperties() for CLIENT_ACKNOWLEDGE sessions
where the session is recovered.RecoverClearTest
IllegalStateException if invokedRecoverTest
RepublishTest
Requirement and Reference
instances.Message.clearBody() and
Message.clearProperties() for transacted sessions where the
session is rolled back.RollbackClearTest
RollbackTest
Send0KTest for a specific
test case
SendReceive0KTest for a specific
test case
SendReceive2Size0KTest for a specific
test case
SendReceive50Size0KTest for a specific
test case
Message.clearBody() and
Message.clearProperties() on send and receipt, against all
message, delivery, and transaction typesSendReceiveClearTest
SendReceiveReadWriteTest
Connection.stop and
Connection.startSendReceiveStopTest
SendReceiveStressTestCase for a specific
test case
SendReceiveTestInvoker
SequenceMessagePopulator
SendReceiveTestCase.getDestinations().
AbstractSendReceiveTestCase.getDestinations().
SnapshotService
TestStatistics instanceConnection.stop and
Connection.startStopStartTest
StreamMessage copies contentStreamMessage message typeStreamMessageTest
ConnectionConsumer can be created
true and true selects
all messages
true and false selects
no messages
false and true selects
no messages
false and false selects
no messages
true AND true selects
all messages
17 between 16 and 18 selects
all messages
17 between 18 and 19 selects
no messages
17 Between 17 And 17 selects
all messages
17 between 4 * 4 and 10 + 8
selects all messages
17 between 4 * 5 and 10 + 12
selects no messages
two between one and three
selects all messages, where one, two and three are integer properties
with with corresponding values
MapMessage.setObject() copies byte arrays
StreamMessage.setObject() copies byte arrays
ObjectMessage.setObject() copies byte arrays
BytesMessage.clearBody() leaves the message
body empty, and doesn't clear the message properties.
BytesMessage.clearBody() can be invoked
for a new message
BytesMessage.clearBody() leaves the message
body empty, and doesn't clear the message properties, on receipt of
a message.
MessageNotReadableException, until
BytesMessage.reset() is invoked, and that subsequent
reads throw MessageEOFException
'abc' = 'ABC'.
'abc' <> 'ABC'.
Country = 'france', and the string property 'Country',
with value 'France'.
'it''s' = 'it''s'.
'it''s' = 'its'.
Message.clearBody() leaves the message body
empty, and doesn't clear the message properties.
Message.clearBody() can be invoked for a new
message.
Message.clearBody() leaves the message
body empty, and doesn't clear the message properties, on receipt of
a message.
Message.clearProperties() and
Message.clearBody() on send doesn't affect the sent message
Message.clearProperties() leaves the message
properties empty, and doesn't clear the message body.
Message.clearProperties() can be invoked
for a new message.
Message.clearProperties() leaves the message
properties empty, and doesn't clear the message body, on receipt of
a message.
Session.rollback() for a closed
session throws IllegalStateException
Message.acknowledge(),
which should throw IllegalStateException.
Message.acknowledge(), which
should throw IllegalStateException.
TestContext instances using existing contexts
as prototypesObjectMessage.getObject() returns a
different reference to that set, when the object is supplied at
construction
ObjectMessage.setObject() copies user objects
0, and that the JMSExpiration property is set to
0 on send and receive when the default time-to-live is
used.
0, and that the JMSExpiration property is set to
0 on send and receive when the default time-to-live is
used.
0, and that the JMSExpiration
property is set to 0 on send and receive when the default
time-to-live is used.
0, and that the JMSExpiration
property is set to 0 on send and receive when the default
time-to-live is used.
10 / zero = 10 / zero selects
all messages, when the double property 'zero' is set, with
value 0.0
$State = 'VIC' and property '$State'
with value 'VIC'.
doubleNaN = doubleNaN
selects no messages, when the double property 'doubleNaN' is set,
with value Double.NaN (as NaN != NaN)
doubleNaN <> doubleNaN
selects all messages, when the double property 'doubleNaN' is set,
with value Double.NaN
'abc' = 'abc' selects
all messages
true = true selects
all messages
0.0 = 0.0 selects all
messages
true = false selects
no messages
0.0 = 1.0 selects no
messages
0.2 = 0.2 selects all
messages
0.2 = 0.0 selects no
messages
92d = 92 selects all messages
93f = 93 selects all messages
rate = 0.2 selects
all messages, when the double property 'rate' is set, with
value 0.2
Country = 'France' selects
all messages, when the string property 'Country' is set, with
value 'France'
false selects no
messages
FALSE selects all
messages
FilterTestFilter
floatNaN = floatNaN selects
no messages, when the float property 'floatNaN' is set, with
value Float.NaN (as NaN != NaN)
floatNaN <> floatNaN
selects all messages, when the float property 'floatNaN' is set, with
value Float.NaN
false >= true throws
InvalidSelectorException
2.0 >= 1.0 selects all
messages
'abc' >= 'abc' throws
InvalidSelectorException
1.0 >= 2.0 selects no
messages
dummy >= 'abc' throws
InvalidSelectorException
'abc' >= dummy throws
InvalidSelectorException
false > true throws
InvalidSelectorException
2.0 > 1.0 selects all
messages
'abc' > 'abc' throws
InvalidSelectorException
1.0 > 2.0 selects no
messages
dummy > 'abc' throws
InvalidSelectorException
'abc' > dummy throws
InvalidSelectorException
JMSPriority >= '0'
throws InvalidSelectorException
JMSDeliveryMode = {non-persistent}
or JMSDeliveryMode = {persistent} throws
InvalidSelectorException, where {non-persistent} and {persistent}
are the values of DeliveryMode.NON_PERSISTENT and
DeliveryMode.PERSISTENT respectively
JMSTimestamp >= '0'
throws InvalidSelectorException
two between '1' and '3'
throws InvalidSelectorException
1.0 throws
InvalidSelectorException
~ABC = 'foo' throws
InvalidSelectorException
'abc' throws
InvalidSelectorException
'0' <= JMSPriority
throws InvalidSelectorException
JMSDeliveryMode = 'non_persistent'
throws InvalidSelectorException.
'0' <= JMSTimestamp
throws InvalidSelectorException
one between false and true
throws InvalidSelectorException
-1.0 throws
InvalidSelectorException
Country.name = 'Australia'
throws InvalidSelectorException
'abc' = 'abc throws
InvalidSelectorException
JMSTimestamp = '2001/1/1 0:0'
throws InvalidSelectorException
b' between 'a' and 'c'
throws InvalidSelectorException
2.0 < '3.0' throws
InvalidSelectorException
'abc' = abc' throws
InvalidSelectorException
between 1 and 3
throws InvalidSelectorException
1.0 <> false throws
InvalidSelectorException
'abc = 'abc' throws
InvalidSelectorException
not between 1 and 3
throws InvalidSelectorException
1a.0 = 1a.0 throws
InvalidSelectorException
'abc'''' = 'abc' throws
InvalidSelectorException
2 between 1, 3
throws InvalidSelectorException
"abc" = "abc" throws
InvalidSelectorException
2 between 1 and
throws InvalidSelectorException
2 between and 3
throws InvalidSelectorException
JMSMessageID between 1 and 10
throws InvalidSelectorException
and throws
InvalidSelectorException
true and throws
InvalidSelectorException
false and throws
InvalidSelectorException
MessageFormatException
JMSDeliveryMode = 'PERSISTENT' or
JMSDeliveryMode = 'NON_PERSISTENT'.
JMSPriority <> 0.
jmspriority between 1 and 9.
TopicSession.recover() have their JMSRedelivered flag set
to true, and that the same messages received via
another TopicSession have their JMSRedelivered flag set to
false.
JMSTimestamp >= 0 selects
all messages
JMSTimestamp >= {time} selects
all messages, where {time} is a literal value derived from
System.currentTimeMillis()
JMSTimestamp < {time} selects
no messages, where {time} is a literal value derived from
System.currentTimeMillis()
false <= true throws
InvalidSelectorException
1.0 <= 2.0 selects all
messages
'abc' <= 'abc' throws
InvalidSelectorException
2.0 <= 1.0 selects no
messages
dummy <= 'abc' throws
InvalidSelectorException
'abc' <= dummy throws
InvalidSelectorException
false < true throws
InvalidSelectorException
1.0 < 2.0 selects all
messages
'abc' < 'abc' throws
InvalidSelectorException
2.0 < 1.0 selects no
messages
dummy < 'abc' throws
InvalidSelectorException
'abc' < dummy throws
InvalidSelectorException
17 not between 18 and 19 selects
all messages
17 not between 16 and 18 selects
no messages
17 not between 17 and 17 selects
no messages
17 Not Between 4 * 5 And 20 / 1
selects all messages
two not between one and three
selects all messages, where one, two and three are integer properties
with with corresponding values
false <> true selects
all messages
1.0 <> 2.0 selects all
messages
false <> false selects
no messages
1.0 <> 1.0 selects no
messages
1.0 <> 1.0 selects all
messages
rate <> 0.2 selects
no messages, when the double property 'rate' is set, with
value 0.2
Double.MIN_VALUE..Double.MAX_VALUE,
using the selector
{min-value}={min-value} and {max-value} = {max-value}
where {min-value} and {max-value} are the values of Double.MIN_VALUE and
Double.MAX_VALUE respectively.
MessageFormatException.
MapMessage.setBytes(byte[], int, int) takes
a copy of the byte array.
StreamMessage.writeBytes(byte[], int, int)
takes a copy of the byte array.
BytesMessage.writeBytes(byte[], int, int)
takes a copy of the byte array.
MapMessage.setBytes(byte[]) takes a copy of
the byte array.
Connection.start() for a started
connection has no effect.
Connection.stop() for a stopped
connection has no effect.
StreamMessage.clearBody() leaves the message
body empty, and doesn't clear the message properties.
StreamMessage.clearBody() can be invoked
for a new message
StreamMessage.clearBody() leaves the message
body empty, and doesn't clear the message properties, on receipt of
a message.
MessageNotReadableException, until
StreamMessage.reset() is invoked, and that subsequent
reads throw MessageEOFException
true selects all
messages
TrUe selects all
messages
-1.0 = -1.0 selects all messages
-1.0 = 1.0 selects no messages
--1.0 = 1.0 selects all messages
_postcode_ = '3001' and property '_postcode_'
with value '3001'.
true and dummy selects
no messages, for the unset property 'dummy'
dummy between 1 and 10 selects
no messages, for the unset property 'dummy'
dummy + 10.0 = 10.0 selects
no messages, for the unset property 'dummy'
false and dummy selects
no messages, for the unset property 'dummy'
1 between dummy and 10 selects
no messages, for the unset property 'dummy'
dummy - 10.0 = -10.0 selects
no messages, for the unset property 'dummy'
dummy and true selects
no messages, for the unset property 'dummy'
1 between 0 and dummy selects
no messages, for the unset property 'dummy'
10.0 + dummy = 10.0 selects
no messages, for the unset property 'dummy'
dummy and false selects
no messages, for the unset property 'dummy'
10.0 - dummy = 0.0 selects
no messages, for the unset property 'dummy'
dummy and dummy selects
no messages, for the unset property 'dummy'
dummy * 10.0 = 0.0 selects
no messages, for the unset property 'dummy'
10.0 * dummy = 0.0 selects
no messages, for the unset property 'dummy'
dummy / 10.0 = 0.0 selects
no messages, for the unset property 'dummy'
10.0 / dummy = 0.0 selects
no messages, for the unset property 'dummy'
country = 'Australia', and property 'Country'
with value 'Australia'.
StreamMessage.writeBytes(byte[]) takes a copy
of the byte array.
BytesMessage.writeBytes(byte[]) takes a copy
of the byte array.
ThreadedAction
ThreadedAction, with a listener to notify
on completion
ThreadedAction instances.ThreadedActions
ThreadedReceiver, for synchronous receipt
ThreadedReceiver, for synchronous receipt
ThreadedReceiver, for asynchronous receipt
ThreadedReceiver, for asynchronous receipt
ThreadedSender
ThreadedSender
TopicPublishersTopicPublisherTest
MessagePropertyVerifier.populate(javax.jms.Message)
MessageListener interface and enables
clients to synchronize behaviour with the WaitingListener.onMessage(javax.jms.Message) method.WaitingListener.onMessage(javax.jms.Message) will be invoked.
boolean to the stream message.
boolean to the bytes message stream as a 1-byte
value.
byte to the stream message
byte to the bytes message stream as a 1-byte
value
char to the stream message
char to the bytes message stream as a 2-byte
value, high byte first.
double to the stream message
long using the
doubleToLongBits method in class Double,
and then writes that long value to the bytes message
stream as an 8-byte quantity, high byte first.
float to the stream message
int using the
floatToIntBits method in class Float,
and then writes that int value to the bytes message
stream as a 4-byte quantity, high byte first.
int to the stream message
int to the bytes message stream as four bytes,
high byte first.
long to the stream message
long to the bytes message stream as eight bytes,
high byte first
short to the stream message
short to the bytes message stream as two bytes,
high byte first
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||