Sha256: 8caa9d498b1c68d2ea589c539af2d7e61718e43269ab4552d61dc3b260232bef

Contents?: true

Size: 648 Bytes

Versions: 12

Compression:

Stored size: 648 Bytes

Contents

#####################################################################
# tc_process.rb
#
# Test case for the Windows::Process module.
#####################################################################
require 'windows/process'
require 'test/unit'

class TC_Windows_Process < Test::Unit::TestCase
   include Windows::Process

   def test_constants
      assert_equal(0x1F0FFF, PROCESS_ALL_ACCESS)
   end

   def test_methods
      assert_respond_to(self, :CreateProcess)
   end

   def test_helper_methods
      assert_respond_to(self, :windows_64?)
      assert_equal(true, [true, false].include?(windows_64?))
   end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
windows-pr-1.1.2 test/tc_process.rb
windows-pr-1.1.1 test/tc_process.rb
windows-pr-1.1.0 test/tc_process.rb
windows-pr-1.0.9 test/tc_process.rb
windows-pr-1.0.8 test/tc_process.rb
windows-pr-1.0.7 test/tc_process.rb
windows-pr-1.0.6 test/tc_process.rb
windows-pr-1.0.2 test/tc_process.rb
windows-pr-1.0.1 test/tc_process.rb
windows-pr-1.0.3 test/tc_process.rb
windows-pr-1.0.4 test/tc_process.rb
windows-pr-1.0.5 test/tc_process.rb