Sha256: 25bce5a482caaa138d497c554122630144a334c0431e70850218a08ee08547f9

Contents?: true

Size: 686 Bytes

Versions: 15

Compression:

Stored size: 686 Bytes

Contents

# encoding: ASCII-8BIT
require 'helper'
require 'testutil'
require 'soap/mapping'
require 'soap/processor'
require 'soap/rpc/element'


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

15 entries across 15 versions & 9 rubygems

Version Path
malagant-soap4r-1.5.8.20141127181857 test/soap/literalArrayMapping/test_definedarray.rb
rtiss_soap4r-1.6.1 test/soap/literalArrayMapping/test_definedarray.rb
rtiss_soap4r-1.6.0 test/soap/literalArrayMapping/test_definedarray.rb
eSpace_soap4r-1.5.8 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-ruby19-1.5.9 test/soap/literalArrayMapping/test_definedarray.rb
tomdz-soap4r-1.5.8.20120202093209 test/soap/literalArrayMapping/test_definedarray.rb
soap5r-2.0.3 test/soap/literalArrayMapping/test_definedarray.rb
soap5r-2.0.2 test/soap/literalArrayMapping/test_definedarray.rb
soap5r-2.0.1 test/soap/literalArrayMapping/test_definedarray.rb
soap5r-2.0.0 test/soap/literalArrayMapping/test_definedarray.rb
soap5r-2.0.0.20120130130121 test/soap/literalArrayMapping/test_definedarray.rb
soap4r-sgonyea-1.5.9 test/soap/literalArrayMapping/test_definedarray.rb
sunteya-soap4r-1.5.8.0 test/soap/literalArrayMapping/test_definedarray.rb
tomdz-soap4r-1.5.8.20111103171510 test/soap/literalArrayMapping/test_definedarray.rb
rubyjedi-soap4r-1.5.8.20100619003610 test/soap/literalArrayMapping/test_definedarray.rb