From a654ee3128a189e3612332424084e54448b0a13a Mon Sep 17 00:00:00 2001 From: suke Date: Sat, 7 Feb 2015 04:37:11 +0000 Subject: * test/win32ole/test_win32ole_record.rb (test_ole_instance_variable_get): correct VT_RECORD type and instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_win32ole_record.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/win32ole') 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 -- cgit v1.2.3