Sha256: fd7a87173e94a57e1653cd6556c085a90ca1abc1e2e320303d2c074c5a1c04fb

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

#####################################################################
# tc_window_menu.rb
#
# Test case for the Windows::Window::Menu module.
#####################################################################
require 'windows/window/menu'
require 'minitest/autorun'

class WindowMenuFoo
   include Windows::Window::Menu
end

class TC_Windows_Window_Menu < MiniTest::Test
   def setup
      @foo = WindowMenuFoo.new
   end

   def test_numeric_constants
      assert_equal(0, WindowMenuFoo::MF_INSERT)
   end

   def test_method_constants
      assert_not_nil(WindowMenuFoo::AppendMenu)
   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_window_menu.rb
windows-pr-1.2.5 test/tc_window_menu.rb