Sha256: 239069435b2206d68c02a33f4e8761656cb905bea1af4eaacfe70748556d8ef6

Contents?: true

Size: 311 Bytes

Versions: 23

Compression:

Stored size: 311 Bytes

Contents

# encoding: utf-8

require File.join(File.dirname(__FILE__), '..', 'helper')

class TestDealerSocket < ZmqTestCase
  def test_behavior
    ctx = ZMQ::Context.new
    sock = ctx.socket(:DEALER)
    assert_equal ZMQ::DEALER, sock.type
    assert_equal "DEALER socket", sock.to_s
  ensure
    ctx.destroy
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rbczmq-1.7.4 test/socket/test_dealer_socket.rb
rbczmq-1.7.3 test/socket/test_dealer_socket.rb
rbczmq-1.7.2 test/socket/test_dealer_socket.rb
rbczmq-1.7.1 test/socket/test_dealer_socket.rb
rbczmq-1.7.0 test/socket/test_dealer_socket.rb
rbczmq-1.6.4 test/socket/test_dealer_socket.rb
rbczmq-1.6.2 test/socket/test_dealer_socket.rb
rbczmq-1.6 test/socket/test_dealer_socket.rb
rbczmq-1.5 test/socket/test_dealer_socket.rb
rbczmq-1.4 test/socket/test_dealer_socket.rb
rbczmq-1.3 test/socket/test_dealer_socket.rb
rbczmq-1.2 test/socket/test_dealer_socket.rb
rbczmq-1.1 test/socket/test_dealer_socket.rb
rbczmq-1.0 test/socket/test_dealer_socket.rb
rbczmq-0.9 test/socket/test_dealer_socket.rb
rbczmq-0.8 test/socket/test_dealer_socket.rb
rbczmq-0.7 test/socket/test_dealer_socket.rb
rbczmq-0.6 test/socket/test_dealer_socket.rb
rbczmq-0.5 test/socket/test_dealer_socket.rb
rbczmq-0.4 test/socket/test_dealer_socket.rb