Class TestConnection1P
In: test/test_connection1p.rb
Parent: Test::Unit::TestCase

Methods

Included Modules

TestBase

Public Instance methods

Test malformed heartbeat header.

Test basic connection open.

Test missing connect headers.

Test requesting only a 1.0 connection.

Test requesting only a 1.1+ connection.

Test basic request for no heartbeats.

Test malformed heartbeat header.

Test a valid heartbeat header.

Test only sending heartbeats.

Test only receiving heartbeats.

Test sending and receiving heartbeats.

Test valid UTF8 data.

Test invalid UTF8 data.

Repeated headers test. Currently:

  • Apollo emits repeated headers for a 1.1 connection only
  • RabbitMQ does not emit repeated headers under any circumstances
  • AMQ 5.6 does not emit repeated headers under any circumstances

Pure luck that this runs against AMQ at present.

Test frozen headers.

Test heartbeats with send and receive.

Test heartbeats with send and receive.

Test heartbeats with send and receive.

Test very encoding / decoding of headers

[Validate]