ruby-changes:37454
From: suke <ko1@a...>
Date: Sat, 7 Feb 2015 13:37:23 +0900 (JST)
Subject: [ruby-changes:37454] suke:r49535 (trunk): * test/win32ole/test_win32ole_record.rb
suke 2015-02-07 13:37:11 +0900 (Sat, 07 Feb 2015) New Revision: 49535 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49535 Log: * test/win32ole/test_win32ole_record.rb (test_ole_instance_variable_get): correct VT_RECORD type and instance variables. Modified files: trunk/ChangeLog trunk/test/win32ole/test_win32ole_record.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 49534) +++ ChangeLog (revision 49535) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Feb 7 13:30:11 2015 Masaki Suketa <masaki.suketa@n...> + + * 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@t...> * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when Index: test/win32ole/test_win32ole_record.rb =================================================================== --- test/win32ole/test_win32ole_record.rb (revision 49534) +++ test/win32ole/test_win32ole_record.rb (revision 49535) @@ -11,6 +11,7 @@ PROGID_RBCOMTEST='RbComTest.ComSrvTest' https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_record.rb#L11 =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) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_record.rb#L190 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/