Sha256: 7215503af754ea358591892c88407b88b22ffd8bfd753cef978ce4787453b7db

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

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

class TC_Windows_Process < MiniTest::Test
  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

2 entries across 2 versions & 1 rubygems

Version Path
windows-pr-1.2.6 test/tc_process.rb
windows-pr-1.2.5 test/tc_process.rb