1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
suke 2015-02-07 04:37:11 +00:00
parent 98b5f511a3
commit a654ee3128
2 changed files with 10 additions and 3 deletions

View file

@ -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

View file

@ -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