Sha256: 701ceb6881258c06f0d9c008c81fe42fc6f5ee58fc470575f381fc7eec2d9ec8

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

#####################################################################
# tc_device_io.rb
#
# Test case for the Windows::DeviceIO module.
#####################################################################
require 'windows/device_io'
require 'minitest/autorun'

class DeviceIOFoo
   include Windows::DeviceIO
end

class TC_Windows_DeviceIO < MiniTest::Test
   def setup
      @foo  = DeviceIOFoo.new
   end

   def test_numeric_constants
      assert_equal(0x00000001, DeviceIOFoo::FILE_DEVICE_BEEP)
   end

   def test_method_constants
      assert_not_nil(DeviceIOFoo::DeviceIoControl)
   end

   def teardown
      @foo  = nil
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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