Sha256: 8bd96722e64c52f355b8da8ced0b805c50a55001f4f05a39a49f08e32c68f408

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 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::Unit::TestCase
   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

1 entries across 1 versions & 1 rubygems

Version Path
windows-pr-1.2.4 test/tc_window_menu.rb