summaryrefslogtreecommitdiff
path: root/ext/win32ole/tests
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-06 11:42:35 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-06 11:42:35 +0000
commit4cbaddcf8c61f411d54c2e7799e234972dd382ed (patch)
treede1e833914490616441d456b5ae5fa3ad730145d /ext/win32ole/tests
parente015d893529064c414d1f27c058dfc0f882dbb68 (diff)
* ext/win32ole/win32ole.c: rename WIN32OLE#ole_obj_help to
WIN32OLE#ole_type. alias ole_obj_help to ole_type. * ext/win32ole/tests/testWIN32OLE.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/tests')
-rw-r--r--ext/win32ole/tests/testWIN32OLE.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/win32ole/tests/testWIN32OLE.rb b/ext/win32ole/tests/testWIN32OLE.rb
index d0705093f3..379eca315d 100644
--- a/ext/win32ole/tests/testWIN32OLE.rb
+++ b/ext/win32ole/tests/testWIN32OLE.rb
@@ -223,6 +223,14 @@ class TestWin32OLE < RUNIT::TestCase
book = workbooks.invoke( 'add' )
assert_instance_of(WIN32OLE, book)
end
+ def test_ole_type
+ tobj = @excel.ole_type
+ assert_equal('_Application', tobj.name)
+ end
+ def test_ole_obj_help
+ tobj = @excel.ole_type
+ assert_equal('_Application', tobj.name)
+ end
def test_ole_methods
methods = @excel.ole_methods
method_names = methods.collect{|m| m.name}