summaryrefslogtreecommitdiff
path: root/ext/win32ole/tests/testWIN32OLE.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32ole/tests/testWIN32OLE.rb')
-rw-r--r--ext/win32ole/tests/testWIN32OLE.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/win32ole/tests/testWIN32OLE.rb b/ext/win32ole/tests/testWIN32OLE.rb
index c51247de68..988fbb9101 100644
--- a/ext/win32ole/tests/testWIN32OLE.rb
+++ b/ext/win32ole/tests/testWIN32OLE.rb
@@ -303,6 +303,11 @@ class TestWin32OLE_WITH_MSI < RUNIT::TestCase
@record[ "StringData", 1 ] = 'ffff'
assert_equal('ffff', @record.StringData(1))
end
+
+ def test__invoke
+ shell=WIN32OLE.new('Shell.Application')
+ assert_equal(shell.NameSpace(0).title, shell._invoke(0x60020002, [0], [WIN32OLE::VARIANT::VT_VARIANT]).title)
+ end
end
# ---------------------