Class TestConnection
In: test/test_connection.rb
Parent: Test::Unit::TestCase

Methods

Included Modules

TestBase

Public Instance methods

Test that methods detect a closed connection.

Test to illustrate Issue 44. Prior to a fix for 44, these tests would fail only when connecting to a pure STOMP 1.0 server that does not return a ‘version’ header at all.

Test connection closed checking.

Test basic connection creation.

Test that a connection frame is present.

Test connection open checking.

Test asking for a receipt on disconnect.

Test duplicate subscriptions.

Test a message with 0x00 embedded in the body.

Test direct / explicit receive.

Test converting a Message to a string.

Test messages with multiple line ends.

Test polling with multiple threads.

Test receiving with multiple threads.

Basic NAK test.

Test using a nil body.

Test nil 1.1 connection parameters.

Test suppression of content length header.

Test asynchronous polling.

Test publishing multiple messages.

Test asking for a receipt.

Test polling with a single thread.

Test transaction message sequencing.

[Validate]