Sha256: fb0eedc48ee477b245ed440b383b790815b2a8bc3ce0fc77a3bad969f40659de

Contents?: true

Size: 642 Bytes

Versions: 2

Compression:

Stored size: 642 Bytes

Contents

#####################################################################
# tc_thread.rb
#
# Test case for the Windows::Thread module.
#####################################################################
require 'windows/thread'
require 'minitest/autorun'

class ThreadFoo
   include Windows::Thread
end

class TC_Windows_Thread < MiniTest::Test
   def setup
      @foo  = ThreadFoo.new
   end

   def test_numeric_constants
      assert_equal(0x00100000, ThreadFoo::SYNCHRONIZE)
   end

   def test_method_constants
      assert_not_nil(ThreadFoo::CreateThread)
   end

   def teardown
      @foo  = nil
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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