Sha256: 8489e8298716c0cf7f7fb75011f10d80b923d7f5e52ec2feabead106f26f2fdf

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

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

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

  def test_constants
    assert_equal(0x1F0FFF, PROCESS_ALL_ACCESS)
  end

  def test_methods
    assert(self.respond_to?(:CreateProcess, true))
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
windows-pr-1.2.4 test/tc_process.rb