Sha256: 906df438b1c70d5ac70f90de6f642776c2de1c45e4d6615874f806432b6cf67a

Contents?: true

Size: 412 Bytes

Versions: 14

Compression:

Stored size: 412 Bytes

Contents

require 'tempfile'
require 'tmpdir'
require './test/lib_server_accept'

class TestKgioUNIXServer < Test::Unit::TestCase

  def setup
    @tmpdir = Dir.mktmpdir('kgio_unix_2')
    tmp = Tempfile.new('kgio_unix_2', @tmpdir)
    @path = tmp.path
    tmp.close!
    @srv = Kgio::UNIXServer.new(@path)
    @host = '127.0.0.1'
  end

  def client_connect
    UNIXSocket.new(@path)
  end

  include LibServerAccept
end

Version data entries

14 entries across 14 versions & 2 rubygems

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