Sha256: 8d67dafc93c18b3e1948a69819ad3ac6828b1f8d5d2bef1f30cb6e44144266bf

Contents?: true

Size: 734 Bytes

Versions: 32

Compression:

Stored size: 734 Bytes

Contents

require 'test/unit'
require 'soap/mapping'
require 'soap/processor'
require 'soap/rpc/element'
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')


module SOAP
module Marshal


class TestDefinedArray < Test::Unit::TestCase
  DIR = File.dirname(File.expand_path(__FILE__))

  def pathname(filename)
    File.join(DIR, filename)
  end

  def setup
    TestUtil.require(DIR, 'amazonEcDriver.rb')
  end

  def test_amazonresponse
    drv = AWSECommerceServicePortType.new
    drv.wiredump_dev = STDOUT if $DEBUG
    drv.test_loopback_response << File.read(pathname('amazonresponse.xml'))
    obj = drv.itemSearch(ItemSearch.new)
    assert_equal(3, obj.items.item.tracks.disc.size)
  end
end


end
end

Version data entries

32 entries across 32 versions & 13 rubygems

Version Path
mumboe-soap4r-1.6.0.pre.beta test/soap/literalArrayMapping/test_definedarray.rb
DefV-soap4r-1.5.8.2 test/soap/literalArrayMapping/test_definedarray.rb
mumboe-soap4r-1.5.8.7 test/soap/literalArrayMapping/test_definedarray.rb
teo-soap4r-1.5.9b test/soap/literalArrayMapping/test_definedarray.rb
mumboe-soap4r-1.5.8.6 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-spox-1.6.0 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-r19-1.5.9 test/soap/literalArrayMapping/test_definedarray.rb
mumboe-soap4r-1.5.8.5 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby1.9-2.0.5 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-sgonyea-1.6.0 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-straightjacket-1.5.9 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-straightjacket-1.5.8 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby1.9-2.0.3 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby1.9-2.0.2 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby1.9-2.0.1 test/soap/literalArrayMapping/test_definedarray.rb
mumboe-soap4r-1.5.8.4 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby1.9-2.0.0 test/soap/literalArrayMapping/test_definedarray.rb
hands-soap4r-1.5.8.4 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby1.9-1.0.0 test/soap/literalArrayMapping/test_definedarray.rb
snaury-soap4r-1.5.8.1 test/soap/literalArrayMapping/test_definedarray.rb