Sha256: cd74cdc20b0deb429c2064243e9fae9ea30bd53fe33481bec54ffa627ed985c8

Contents?: true

Size: 639 Bytes

Versions: 2

Compression:

Stored size: 639 Bytes

Contents

#####################################################################
# tc_window_timer.rb
#
# Test case for the Windows::Window::Timer module.
#####################################################################
require 'windows/window/timer'
require 'test/unit'

class WindowTimerFoo
   include Windows::Window::Timer
end

class TC_Windows_Window_Timer < Test::Unit::TestCase
   def setup
      @foo = WindowTimerFoo.new
   end

   def test_method_constants
      assert_not_nil(WindowTimerFoo::KillTimer)
   end

   def test_method_mixin
      assert_respond_to(@foo, :KillTimer)
   end
   
   def teardown
      @foo = nil
   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
windows-pr-1.2.3 test/tc_window_timer.rb
windows-pr-1.1.3 test/tc_window_timer.rb