diff options
Diffstat (limited to 'ruby_1_8_5/test/soap/test_httpconfigloader.rb')
-rw-r--r-- | ruby_1_8_5/test/soap/test_httpconfigloader.rb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/ruby_1_8_5/test/soap/test_httpconfigloader.rb b/ruby_1_8_5/test/soap/test_httpconfigloader.rb deleted file mode 100644 index b06243f661..0000000000 --- a/ruby_1_8_5/test/soap/test_httpconfigloader.rb +++ /dev/null @@ -1,39 +0,0 @@ -require 'test/unit' -require 'soap/httpconfigloader' -require 'soap/rpc/driver' - -if defined?(HTTPAccess2) - -module SOAP - - -class TestHTTPConfigLoader < Test::Unit::TestCase - DIR = File.dirname(File.expand_path(__FILE__)) - - def setup - @client = SOAP::RPC::Driver.new(nil, nil) - end - - def test_property - testpropertyname = File.join(DIR, 'soapclient.properties') - File.open(testpropertyname, "w") do |f| - f <<<<__EOP__ -protocol.http.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_PEER -# depth: 1 causes an error (intentional) -protocol.http.ssl_config.verify_depth = 1 -protocol.http.ssl_config.ciphers = ALL -__EOP__ - end - begin - @client.loadproperty(testpropertyname) - assert_equal('ALL', @client.options['protocol.http.ssl_config.ciphers']) - ensure - File.unlink(testpropertyname) - end - end -end - - -end - -end |