Sha256: 3215dea323d8ae146bc64ea28226b1bf19975f2d022ec04df38437df8ec80923

Contents?: true

Size: 669 Bytes

Versions: 36

Compression:

Stored size: 669 Bytes

Contents

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

class DeviceIOFoo
   include Windows::DeviceIO
end

class TC_Windows_DeviceIO < Test::Unit::TestCase
   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

36 entries across 36 versions & 1 rubygems

Version Path
windows-pr-1.2.2 test/tc_device_io.rb
windows-pr-1.2.1 test/tc_device_io.rb
windows-pr-1.2.0 test/tc_device_io.rb
windows-pr-1.1.2 test/tc_device_io.rb
windows-pr-1.1.1 test/tc_device_io.rb
windows-pr-1.1.0 test/tc_device_io.rb
windows-pr-1.0.9 test/tc_device_io.rb
windows-pr-1.0.8 test/tc_device_io.rb
windows-pr-1.0.7 test/tc_device_io.rb
windows-pr-1.0.6 test/tc_device_io.rb
windows-pr-0.7.3 test/tc_device_io.rb
windows-pr-0.8.5 test/tc_device_io.rb
windows-pr-0.8.6 test/tc_device_io.rb
windows-pr-0.8.7 test/tc_device_io.rb
windows-pr-0.8.4 test/tc_device_io.rb
windows-pr-0.8.2 test/tc_device_io.rb
windows-pr-0.7.4 test/tc_device_io.rb
windows-pr-0.8.3 test/tc_device_io.rb
windows-pr-0.8.1 test/tc_device_io.rb
windows-pr-0.8.0 test/tc_device_io.rb