Sha256: 5e2509c6f2eae91f7f02d90be05c159971a61d12e74efecc89ec691850ca2daa

Contents?: true

Size: 785 Bytes

Versions: 2

Compression:

Stored size: 785 Bytes

Contents

#####################################################################
# tc_window_classes.rb
#
# Test case for the Windows::Window::Classes module.
#####################################################################
require 'windows/window/classes'
require 'minitest/autorun'

class WindowClassesFoo
   include Windows::Window::Classes
end

class TC_Windows_Window_Classes < MiniTest::Test
   def setup
      @foo = WindowClassesFoo.new
   end

   def test_numeric_constants
      assert_equal(-8, WindowClassesFoo::GCL_MENUNAME)
   end

   def test_method_constants
      assert_not_nil(WindowClassesFoo::GetClassInfo)
   end

   def test_method_mixin
      assert_respond_to(@foo, :GetClassInfo)
   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_classes.rb
windows-pr-1.2.5 test/tc_window_classes.rb