Package coilmq :: Package tests :: Module test_queue :: Class QueueManagerTest
[frames] | no frames]

Class QueueManagerTest

unittest.TestCase --+
                    |
                   QueueManagerTest

Test the QueueManager class.

Instance Methods
 
setUp(self)
 
test_subscribe(self)
Test subscribing a connection to the queue.
 
test_unsubscribe(self)
Test unsubscribing a connection from the queue.
 
send_simple(self)
Test a basic send command.
 
test_send_err(self)
Test sending a message when delivery results in error.
 
test_send_backlog_err_reliable(self)
Test errors when sending backlog to reliable subscriber.
 
test_send_backlog_err_unreliable(self)
Test errors when sending backlog to reliable subscriber.
 
test_send_reliableFirst(self)
Test that messages are prioritized to reliable subscribers.
 
test_ack_basic(self)
Test reliable client (ACK) behavior.
 
test_ack_transaction(self)
Test the reliable client (ACK) behavior with transactions.
 
test_disconnect_pending_frames(self)
Test a queue disconnect when there are pending frames.
Method Details

test_send_reliableFirst(self)

 

Test that messages are prioritized to reliable subscribers.

This is actually a test of the underlying scheduler more than it is a test of the send message, per se.