test/tc_window_timer.rb in windows-pr-1.2.2 vs test/tc_window_timer.rb in windows-pr-1.2.3

- old
+ new

@@ -1,29 +1,29 @@ -##################################################################### -# 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 +##################################################################### +# 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