summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-07 04:37:11 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-07 04:37:11 +0000
commita654ee3128a189e3612332424084e54448b0a13a (patch)
treeaaca633f7742586334e092b1d72dc125c86b0096
parent98b5f511a3599fff9d9fb87679c6c817b058f06a (diff)
* 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
-rw-r--r--ChangeLog6
-rw-r--r--test/win32ole/test_win32ole_record.rb7
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b3a38d..3e79bab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 265feb8..4d9da4b 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