Package coilmq :: Package tests :: Module test_engine :: Class EngineTest
[frames] | no frames]

Class EngineTest

unittest.TestCase --+
                    |
                   EngineTest

Instance Methods
 
setUp(self)
 
tearDown(self)
 
assertErrorFrame(self, frame, msgsub)
Assert that the passed in frame is an error frame and that message contains specified string.
 
test_connect_no_auth(self)
Test the CONNECT command with no auth required.
 
test_connect_auth(self)
Test the CONNECT command when auth is required.
 
test_subscribe_noack(self)
Test subscribing to topics and queues w/ no ACK.
 
test_send(self)
Test sending to a topic and queue.
 
test_receipt(self)
Test pushing frames with a receipt specified.
 
test_subscribe_ack(self)
Test subscribing to a queue with ack=true
 
test_unsubscribe(self)
Test the UNSUBSCRIBE command.
 
test_begin(self)
Test transaction BEGIN.
 
test_commit(self)
Test transaction COMMIT.
 
test_commit_invalid(self)
Test invalid states for transaction COMMIT.
 
test_abort(self)
Test transaction ABORT.
 
test_abort_invalid(self)
Test invalid states for transaction ABORT.