diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-07 04:37:11 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-07 04:37:11 +0000 |
commit | a654ee3128a189e3612332424084e54448b0a13a (patch) | |
tree | aaca633f7742586334e092b1d72dc125c86b0096 /test/win32ole | |
parent | 98b5f511a3599fff9d9fb87679c6c817b058f06a (diff) | |
download | ruby-a654ee3128a189e3612332424084e54448b0a13a.tar.gz |
* 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
Diffstat (limited to 'test/win32ole')
-rw-r--r-- | test/win32ole/test_win32ole_record.rb | 7 |
1 files changed, 4 insertions, 3 deletions
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 |