Sha256: 5761d5cac83b38fe16b66a6f811f408f38c7eb2076aef5d6b0172b25a4a9a659

Contents?: true

Size: 382 Bytes

Versions: 16

Compression:

Stored size: 382 Bytes

Contents

require 'test/unit'
require 'kgio'

class TestKgioSocket < Test::Unit::TestCase
  def test_socket_args
    s = Kgio::Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
    assert_kind_of Socket, s
    assert_instance_of Kgio::Socket, s

    s = Kgio::Socket.new(Socket::AF_UNIX, Socket::SOCK_STREAM, 0)
    assert_kind_of Socket, s
    assert_instance_of Kgio::Socket, s
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
kgio-2.11.4 test/test_socket.rb
kgio-2.11.3 test/test_socket.rb
kgio-2.11.2 test/test_socket.rb
kgio-2.11.1.1.g36ea test/test_socket.rb
kgio-2.11.1 test/test_socket.rb
kgio-2.11.0 test/test_socket.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/kgio-2.10.0/test/test_socket.rb
kgio-2.10.0 test/test_socket.rb
kgio-2.9.3 test/test_socket.rb
kgio-2.9.2 test/test_socket.rb
kgio-2.9.1 test/test_socket.rb
kgio-2.9.0.2.gf33a test/test_socket.rb
kgio-2.9.0 test/test_socket.rb
kgio-2.8.1 test/test_socket.rb
kgio-2.8.0.2.g30c1 test/test_socket.rb
kgio-2.8.0 test/test_socket.rb