diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-06 11:42:35 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-06 11:42:35 +0000 |
commit | 4cbaddcf8c61f411d54c2e7799e234972dd382ed (patch) | |
tree | de1e833914490616441d456b5ae5fa3ad730145d /ext/win32ole/tests | |
parent | e015d893529064c414d1f27c058dfc0f882dbb68 (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.rb | 8 |
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} |