summaryrefslogtreecommitdiff
path: root/test/soap/calc/test_calc2.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-22 15:43:10 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-22 15:43:10 +0000
commit00ac002f79d201db14734a0d997d35985f6aabce (patch)
tree777912106052c60d3be45d5d416d75973e1c1238 /test/soap/calc/test_calc2.rb
parent618a4351784bc7aedf50f05b706f87ce9d193209 (diff)
* test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap/calc/test_calc2.rb')
-rw-r--r--test/soap/calc/test_calc2.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/soap/calc/test_calc2.rb b/test/soap/calc/test_calc2.rb
index 4675d0316b..1f18a5f222 100644
--- a/test/soap/calc/test_calc2.rb
+++ b/test/soap/calc/test_calc2.rb
@@ -16,7 +16,7 @@ class TestCalc2 < Test::Unit::TestCase
def setup
@server = CalcServer2.new('CalcServer', 'http://tempuri.org/calcService', '0.0.0.0', Port)
- @server.level = Logger::Severity::FATAL
+ @server.level = Logger::Severity::ERROR
@t = Thread.new {
Thread.current.abort_on_exception = true
@server.start
@@ -28,7 +28,8 @@ class TestCalc2 < Test::Unit::TestCase
raise
end
end
- @var = SOAP::RPC::Driver.new("http://localhost:#{Port}/", 'http://tempuri.org/calcService')
+ @endpoint = "http://localhost:#{Port}/"
+ @var = SOAP::RPC::Driver.new(@endpoint, 'http://tempuri.org/calcService')
@var.add_method('set', 'newValue')
@var.add_method('get')
@var.add_method_as('+', 'add', 'rhs')
@@ -41,6 +42,7 @@ class TestCalc2 < Test::Unit::TestCase
@server.server.shutdown
@t.kill
@t.join
+ @var.reset_stream
end
def test_calc2