* test/win32ole/test_win32ole_event.rb (TestWIN32OLE_EVENT): use

standard skip method to skip tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2012-07-18 00:36:01 +00:00
parent fe6aa0e16a
commit 7a514fc6f1
2 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,8 @@
Wed Jul 18 09:33:59 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/win32ole/test_win32ole_event.rb (TestWIN32OLE_EVENT): use
standard skip method to skip tests.
Wed Jul 18 09:26:45 2012 Eric Hodel <drbrain@segment7.net>
* lib/logger.rb: Updated typos and output to match modern Logger
@ -5,8 +10,9 @@ Wed Jul 18 09:26:45 2012 Eric Hodel <drbrain@segment7.net>
Wed Jul 18 07:59:29 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/util.rb (CGI.escapeHTML,unescapeHTML): Add &apos; for HTML5 escaping.
[Feature #6620]
* lib/cgi/util.rb (CGI.escapeHTML,unescapeHTML): Add &apos; for HTML5
escaping.
[Feature #6620]
Tue Jul 17 22:17:13 2012 Tanaka Akira <akr@fsij.org>

View File

@ -22,12 +22,12 @@ def ado_installed?
end
if defined?(WIN32OLE_EVENT)
dotest = ado_installed?
if !dotest
STDERR.puts("\n#{__FILE__} skipped(ActiveX Data Object Library not found.)")
end
if dotest
class TestWIN32OLE_EVENT < Test::Unit::TestCase
class TestWIN32OLE_EVENT < Test::Unit::TestCase
unless ado_installed?
def test_dummy_for_skip_message
skip "ActiveX Data Object Library not found"
end
else
CONNSTR="Driver={Microsoft Text Driver (*.txt; *.csv)};DefaultDir=.;"
module ADO
end