Suppress WIN32OLE deprecation warnings for the time being
This commit is contained in:
parent
cd8ad9634d
commit
99d5e6ab7a
@ -1,6 +1,9 @@
|
||||
require 'win32ole'
|
||||
|
||||
module WIN32OLESpecs
|
||||
WIN32OLERuntimeError ||= WIN32OLE::RuntimeError
|
||||
WIN32OLE_TYPELIB ||= WIN32OLE::TypeLib
|
||||
|
||||
MSXML_AVAILABLE = WIN32OLE_TYPELIB.typelibs.any? { |t| t.name.start_with?('Microsoft XML') }
|
||||
SYSTEM_MONITOR_CONTROL_AVAILABLE = WIN32OLE_TYPELIB.typelibs.any? { |t| t.name.start_with?('System Monitor Control') }
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#_getproperty" do
|
||||
@ -12,4 +14,6 @@ platform_is :windows do
|
||||
@dict._getproperty(0, ['key'], [WIN32OLE::VARIANT::VT_BSTR]).should == 'value'
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#_invoke" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE.codepage=" do
|
||||
@ -11,4 +13,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE.connect" do
|
||||
@ -13,4 +15,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE.const_load when passed Shell.Application OLE object" do
|
||||
@ -30,4 +32,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE class" do
|
||||
@ -40,4 +42,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE.create_guid" do
|
||||
@ -7,4 +9,6 @@ platform_is :windows do
|
||||
WIN32OLE.create_guid.should =~ /^\{[A-Z0-9]{8}\-[A-Z0-9]{4}\-[A-Z0-9]{4}\-[A-Z0-9]{4}\-[A-Z0-9]{12}/
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#invoke" do
|
||||
@ -12,4 +14,6 @@ platform_is :windows do
|
||||
@dict.invoke('Item', 'key').should == 'value'
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE.locale" do
|
||||
@ -27,4 +29,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLESpecs.new_ole" do
|
||||
@ -23,4 +25,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#ole_func_methods" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
@dict.ole_func_methods.map { |m| m.name }.include?('AddRef').should be_true
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#ole_get_methods" do
|
||||
@ -14,4 +16,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/ole_method'
|
||||
|
||||
@ -8,4 +10,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/ole_method'
|
||||
|
||||
@ -8,4 +10,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#ole_methods" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
@dict.ole_methods.map { |m| m.name }.include?('AddRef').should be_true
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,6 +1,8 @@
|
||||
require_relative "../../../spec_helper"
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#ole_obj_help" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
@dict.ole_obj_help.kind_of?(WIN32OLE_TYPE).should be_true
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
describe "WIN32OLE#ole_put_methods" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
@dict.ole_put_methods.map { |m| m.name }.include?('Key').should be_true
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
require_relative 'shared/setproperty'
|
||||
|
||||
@ -8,4 +10,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
|
||||
guard -> { WIN32OLESpecs::MSXML_AVAILABLE } do
|
||||
@ -31,4 +33,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
guard -> { WIN32OLESpecs::MSXML_AVAILABLE } do
|
||||
|
||||
@ -68,4 +70,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#dispid" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
guard -> { WIN32OLESpecs::SYSTEM_MONITOR_CONTROL_AVAILABLE } do
|
||||
|
||||
@ -26,4 +28,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require_relative '../fixtures/classes'
|
||||
guard -> { WIN32OLESpecs::SYSTEM_MONITOR_CONTROL_AVAILABLE } do
|
||||
|
||||
@ -20,4 +22,6 @@ platform_is :windows do
|
||||
end
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#helpcontext" do
|
||||
@ -24,4 +26,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#helpfile" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#helpstring" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#invkind" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#invoke_kind" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#name" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD.new" do
|
||||
@ -31,4 +33,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#offset_vtbl" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#params" do
|
||||
@ -26,4 +28,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#return_type_detail" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#return_type" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#return_vtype" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#size_opt_params" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#size_params" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#name" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_METHOD#visible?" do
|
||||
@ -18,4 +20,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#default" do
|
||||
@ -29,4 +31,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#input?" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#name" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#ole_type_detail" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#ole_type" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#optional?" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#retval?" do
|
||||
@ -19,4 +21,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_PARAM#to_s" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#guid for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#helpcontext for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#helpfile for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#helpstring for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#major_version for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#minor_version for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#name" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE.new" do
|
||||
@ -38,4 +40,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE.ole_classes for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#ole_methods for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#ole_type for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#progid for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE.progids" do
|
||||
@ -12,4 +14,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#src_type for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#to_s" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#typekind for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE.typelibs for Shell Controls" do
|
||||
@ -20,4 +22,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#variables for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_TYPE#visible? for Shell Controls" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
end
|
||||
|
||||
end
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#name" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#ole_type_detail" do
|
||||
@ -17,4 +19,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#ole_type" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -2,6 +2,8 @@ require_relative "../../../spec_helper"
|
||||
require_relative 'shared/name'
|
||||
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#to_s" do
|
||||
@ -9,4 +11,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#value" do
|
||||
@ -17,4 +19,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#variable_kind" do
|
||||
@ -17,4 +19,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#varkind" do
|
||||
@ -17,4 +19,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
@ -1,5 +1,7 @@
|
||||
require_relative "../../../spec_helper"
|
||||
platform_is :windows do
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
|
||||
require 'win32ole'
|
||||
|
||||
describe "WIN32OLE_VARIABLE#visible?" do
|
||||
@ -16,4 +18,6 @@ platform_is :windows do
|
||||
|
||||
end
|
||||
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user