diff --git a/test/win32ole/test_err_in_callback.rb b/test/win32ole/test_err_in_callback.rb index 2c2b4a61a1..9ffaf9125f 100644 --- a/test/win32ole/test_err_in_callback.rb +++ b/test/win32ole/test_err_in_callback.rb @@ -38,7 +38,7 @@ if defined?(WIN32OLE) end def test_err_in_callback - skip "'ADODB.Connection' is not available" unless available_adodb? + omit "'ADODB.Connection' is not available" unless available_adodb? if @ruby Dir.mktmpdir do |tmpdir| logfile = File.join(tmpdir, "test_err_in_callback.log") diff --git a/test/win32ole/test_win32ole_event.rb b/test/win32ole/test_win32ole_event.rb index fa9e7b5b08..f02df53be7 100644 --- a/test/win32ole/test_win32ole_event.rb +++ b/test/win32ole/test_win32ole_event.rb @@ -136,7 +136,7 @@ if defined?(WIN32OLE_EVENT) @wmi.ExecNotificationQueryAsync(@sws, @sql) rescue => e if /OLE error code:80041008 in SWbemServicesEx/ =~ e.message - skip "No administrator privilege?" + omit "No administrator privilege?" end raise end diff --git a/test/win32ole/test_win32ole_method_event.rb b/test/win32ole/test_win32ole_method_event.rb index 6dad6ff2b4..7758168872 100644 --- a/test/win32ole/test_win32ole_method_event.rb +++ b/test/win32ole/test_win32ole_method_event.rb @@ -10,7 +10,7 @@ if defined?(WIN32OLE_METHOD) class TestWIN32OLE_METHOD_EVENT < Test::Unit::TestCase unless AvailableOLE.sysmon_available? def test_dummy_for_skip_message - skip 'System Monitor Control is not available' + omit 'System Monitor Control is not available' end else def setup diff --git a/test/win32ole/test_win32ole_param_event.rb b/test/win32ole/test_win32ole_param_event.rb index 64812e567d..a659a6d0f3 100644 --- a/test/win32ole/test_win32ole_param_event.rb +++ b/test/win32ole/test_win32ole_param_event.rb @@ -23,7 +23,7 @@ if defined?(WIN32OLE_PARAM) end else def test_dummy_for_skip_message - skip 'ActiveX Data Object Library and MS XML not found' + omit 'ActiveX Data Object Library and MS XML not found' end end end diff --git a/test/win32ole/test_win32ole_record.rb b/test/win32ole/test_win32ole_record.rb index 7d6c3fb4af..65fd5f6a3c 100644 --- a/test/win32ole/test_win32ole_record.rb +++ b/test/win32ole/test_win32ole_record.rb @@ -76,7 +76,7 @@ if defined?(WIN32OLE_RECORD) class TestWIN32OLE_RECORD_BY_RBCOMTEST < Test::Unit::TestCase unless rbcomtest_exist? def test_dummy_for_skip_message - skip "#{PROGID_RBCOMTEST} for WIN32OLE_RECORD test is not installed" + omit "#{PROGID_RBCOMTEST} for WIN32OLE_RECORD test is not installed" end else def setup diff --git a/test/win32ole/test_win32ole_type_event.rb b/test/win32ole/test_win32ole_type_event.rb index ad2de54e59..ec46245cae 100644 --- a/test/win32ole/test_win32ole_type_event.rb +++ b/test/win32ole/test_win32ole_type_event.rb @@ -12,7 +12,7 @@ if defined?(WIN32OLE_TYPE) class TestWIN32OLE_TYPE_EVENT < Test::Unit::TestCase unless AvailableOLE.sysmon_available? def test_dummy_for_skip_message - skip 'System Monitor Control is not available' + omit 'System Monitor Control is not available' end else diff --git a/test/win32ole/test_word.rb b/test/win32ole/test_word.rb index b1cdb273cc..a23757f620 100644 --- a/test/win32ole/test_word.rb +++ b/test/win32ole/test_word.rb @@ -35,7 +35,7 @@ if defined?(WIN32OLE) class TestWIN32OLE_WITH_WORD < Test::Unit::TestCase unless word_installed? def test_dummy_for_skip_message - skip "Microsoft Word is not installed" + omit "Microsoft Word is not installed" end else def setup