Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]
Show
Ignore:
Timestamp:
08/01/05 23:27:11 (3 years ago)
Author:
nahi
Message:

avoid using Range#each for speed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/interopR2/SOAPBuildersInterop_R2GrB.wsdl

    r1575 r1603  
    1313  <port name="InteropTestSoapPort" 
    1414      binding="tns:InteropTestSoapBindingB"> 
    15     <soap:address 
    16         location="http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/SOAPBuildersInterop/"/> 
     15    <soap:address location="http://dev.ctor.org/soapsrv"/> 
    1716  </port> 
    1817</service> 
  • trunk/test/interopR2/client.rb

    r1597 r1603  
    8282      setup_log(name) 
    8383      setup_drv(location) 
    84       setup_result_drv(name, location) 
    8584    end 
    8685 
    8786    def teardown 
    88       submit_test_result 
    8987    end 
    9088 
     
    117115          XSD::QName.new(InterfaceNS, name), soap_action, name, params) 
    118116      end 
    119     end 
    120  
    121     def setup_result_drv(name, location) 
    122       @@result_drv = RPC::Driver.new(SOAPBuildersInteropResult::Server, 
    123         SOAPBuildersInteropResult::InterfaceNS) 
    124       SOAPBuildersInteropResult::Methods.each do |method, *params| 
    125         @@result_drv.add_method(method, params) 
    126       end 
    127  
    128       client = SOAPBuildersInteropResult::Endpoint.new 
    129       client.processorName = 'SOAP4R' 
    130       client.processorVersion = '1.4' 
    131       client.uri = '210.233.24.119:*' 
    132       client.wsdl = 'Not used.' 
    133  
    134       server = SOAPBuildersInteropResult::Endpoint.new 
    135       server.endpointName = name 
    136       server.uri = location 
    137       server.wsdl = 'Not used.' 
    138  
    139       @@test_result = SOAPBuildersInteropResult::InteropResults.new( 
    140         client, server) 
    141     end 
    142  
    143     def submit_test_result 
    144       load 'soap/XMLSchemaDatatypes.rb' 
    145       @@result_drv.addResults(@@test_result) 
    146117    end 
    147118  end