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