diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-27 07:03:29 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-27 07:03:29 +0000 |
commit | 6671baa96b2921e2cdaeb4ca4a16bcd05f5e45ff (patch) | |
tree | fe2fa61702c537812d58f103f9d353ebef51d6c7 /test/soap/calc/test_calc_cgi.rb | |
parent | eb4ace3c49b2834b38c7f79bbd8ca3e6ee6e1c3a (diff) | |
download | ruby-6671baa96b2921e2cdaeb4ca4a16bcd05f5e45ff.tar.gz |
* lib/soap/rpc/cgistub.rb: make logging severity threshold higher.
* lib/soap/rpc/standaloneServer.rb: defer WEBrick server start to give a change
to reset logging severity threshold.
* test/soap/calc/test_*, test/soap/helloworld/test_helloworld.rb: run silent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap/calc/test_calc_cgi.rb')
-rw-r--r-- | test/soap/calc/test_calc_cgi.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/soap/calc/test_calc_cgi.rb b/test/soap/calc/test_calc_cgi.rb index 6c89d46c12..6d1204d48c 100644 --- a/test/soap/calc/test_calc_cgi.rb +++ b/test/soap/calc/test_calc_cgi.rb @@ -1,5 +1,6 @@ require 'test/unit' require 'soap/rpc/driver' +require 'logger' require 'webrick' @@ -9,9 +10,13 @@ module Calc class TestCalcCGI < Test::Unit::TestCase def setup + logger = Logger.new(STDERR) + logger.level = Logger::Severity::FATAL @server = WEBrick::HTTPServer.new( :BindAddress => "0.0.0.0", + :Logger => logger, :Port => 8808, + :AccessLog => [], :DocumentRoot => File.dirname(File.expand_path(__FILE__)), :CGIPathEnv => ENV['PATH'] ) |