Sha256: 2ac6a76fc6cec2a7df08dd88735f3dcd3c94eb7354d4f2f0269712d7f49aaeec

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

#####################################################################
# tc_mailslot.rb
#
# Test case for the Windows::Mailslot module.
#####################################################################
require 'windows/mailslot'
require 'minitest/autorun'

class TC_Windows_Mailslot < MiniTest::Unit::TestCase
   include Windows::Mailslot

   def test_constants
      assert_equal(0xFFFFFFFF, MAILSLOT_WAIT_FOREVER)
      assert_equal(0xFFFFFFFF, MAILSLOT_NO_MESSAGE)
   end

   def test_methods
      assert_respond_to(self, :CreateMailslot)
      assert_respond_to(self, :GetMailslotInfo)
      assert_respond_to(self, :SetMailslotInfo)
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
windows-pr-1.2.4 test/tc_mailslot.rb