Sha256: 96952e3ff20524668e744a378665f5f00519e0eafac23a6c84fe76987bdffdd0
Contents?: true
Size: 1.04 KB
Versions: 26
Compression:
Stored size: 1.04 KB
Contents
##################################################################### # tc_com.rb # # Test case for the Windows::COM module. ##################################################################### require "windows/com" require "test/unit" class TC_Windows_COM < Test::Unit::TestCase include Windows::COM def test_method_constants assert_respond_to(self, :BindMoniker) assert_respond_to(self, :CLSIDFromProgID) assert_respond_to(self, :CLSIDFromProgIDEx) assert_respond_to(self, :CoAddRefServerProcess) assert_respond_to(self, :CoAllowSetForegroundWindow) assert_respond_to(self, :CoCancelCall) assert_respond_to(self, :CoCopyProxy) assert_respond_to(self, :CoCreateFreeThreadedMarshaler) assert_respond_to(self, :CoCreateGuid) assert_respond_to(self, :CoCreateInstance) end def test_numeric_constants assert_equal(0, VT_EMPTY) assert_equal(1, VT_NULL) assert_equal(2, VT_I2) assert_equal(3, VT_I4) assert_equal(4, VT_R4) end end
Version data entries
26 entries across 26 versions & 1 rubygems