Sha256: 610177c7c0d25476d4aea0a7b6f27d64157426464ed141b29e759f33326854e7
Contents?: true
Size: 731 Bytes
Versions: 7
Compression:
Stored size: 731 Bytes
Contents
##################################################################### # tc_volume.rb # # Test case for the Windows::Volume module. ##################################################################### base = File.basename(Dir.pwd) if base == 'test' || base =~ /windows-pr/ Dir.chdir '..' if base == 'test' $LOAD_PATH.unshift Dir.pwd + '/lib' Dir.chdir 'test' rescue nil end require 'windows/volume' require 'test/unit' class Foo include Windows::Volume end class TC_Windows_Clipboard < Test::Unit::TestCase def setup @foo = Foo.new end def test_method_constants assert_not_nil(Foo::GetVolumeInformation) end def teardown @foo = nil end end
Version data entries
7 entries across 7 versions & 1 rubygems