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

Version Path
windows-pr-0.6.5 test/tc_volume.rb
windows-pr-0.6.6 test/tc_volume.rb
windows-pr-0.6.2 test/tc_volume.rb
windows-pr-0.6.3 test/tc_volume.rb
windows-pr-0.6.0 test/tc_volume.rb
windows-pr-0.6.4 test/tc_volume.rb
windows-pr-0.7.0 test/tc_volume.rb