diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/win32ole/test_win32ole_record.rb | 7 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Sat Feb 7 13:30:11 2015 Masaki Suketa <masaki.suketa@nifty.ne.jp> + + * test/win32ole/test_win32ole_record.rb + (test_ole_instance_variable_get): correct VT_RECORD type and + instance variables. + Fri Feb 6 17:47:05 2015 Aaron Patterson <aaron@tenderlovemaking.com> * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when diff --git a/test/win32ole/test_win32ole_record.rb b/test/win32ole/test_win32ole_record.rb index 265feb8859..4d9da4bb0e 100644 --- a/test/win32ole/test_win32ole_record.rb +++ b/test/win32ole/test_win32ole_record.rb @@ -11,6 +11,7 @@ PROGID_RBCOMTEST='RbComTest.ComSrvTest' =begin RbComTest.ComSrvTest is following VB.NET COM server(RbComTest solution). +(You must check COM interoperability.) Imports System.Runtime.InteropServices Public Class ComSrvTest @@ -189,9 +190,9 @@ if defined?(WIN32OLE_RECORD) end def test_ole_instance_variable_get - obj = WIN32OLE_RECORD.new('ComObject', @obj) - assert_equal(nil, obj.ole_instance_variable_get(:object_id)) - assert_equal(nil, obj.ole_instance_variable_get('object_id')) + obj = WIN32OLE_RECORD.new('Book', @obj) + assert_equal(nil, obj.ole_instance_variable_get(:title)) + assert_equal(nil, obj.ole_instance_variable_get('title')) end def test_ole_instance_variable_set |