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