Sha256: e6a74478c8b8f403cff60ad7eff20af0bde06f7745a248b6ca3a582519034d34

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 Bytes

Contents

#####################################################################
# tc_registry.rb
#
# Test case for the Windows::Registry module.
#####################################################################
require 'windows/registry'
require 'minitest/autorun'

class RegistryFoo
   include Windows::Registry
end

class TC_Windows_Registry < MiniTest::Test
   def setup
      @foo  = RegistryFoo.new
   end

   def test_numeric_constants
      assert_equal(0x80000000, RegistryFoo::HKEY_CLASSES_ROOT)
   end

   def test_method_constants
      assert_not_nil(RegistryFoo::RegCloseKey)
   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_registry.rb
windows-pr-1.2.5 test/tc_registry.rb