Sha256: 820bf388902b4a5db34b028d1631b8632e2ad93ac1ca432bdc39ae83b53af1d8

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 Bytes

Contents

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

class TC_Windows_Mailslot < MiniTest::Test
   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

2 entries across 2 versions & 1 rubygems

Version Path
windows-pr-1.2.6 test/tc_mailslot.rb
windows-pr-1.2.5 test/tc_mailslot.rb