Sha256: 23c93a40581a96e7772e4362ec0bd728873e5a974f0bd4dc902e556a8d34ee43
Contents?: true
Size: 659 Bytes
Versions: 4
Compression:
Stored size: 659 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/unittest_helper') require 'mock_world' require 'mock_mros' class TestIMultiSession < Test::Unit::TestCase def setup_loop loop = Coolio::MockLoop.new loop.world = MockWorld.new loop end def test_mr_multicast_call_async loop = setup_loop msession = Pmux::MRSession.new ['192.168.0.1', '192.168.0.2'], {}, loop msession.connect mf = msession.multicast_call_async :get_properties mf.join_all mf.all.each {|f| assert_match /^192\.168\.0\.\d+$/, f.addr res = f.get assert_kind_of Hash, res ae RUBY_VERSION, res['RUBY_VERSION'] } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pmux-0.1.3 | test/test_i_msession.rb |
pmux-0.1.2 | test/test_i_msession.rb |
pmux-0.1.1 | test/test_i_msession.rb |
pmux-0.1.0 | test/test_i_msession.rb |