Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t/Shop/ShipDriver/USPSInternational.t ..
- 1..40
- ok 1 - definition takes an exception to not giving it a session variable isa WebGUI::Error::InvalidParam
- ok 2 - ... checking error message
- ok 3 - The reference isa ARRAY
- ok 4 - The object isa WebGUI::Shop::ShipDriver::USPSInternational
- ok 5 - The object isa WebGUI::Shop::ShipDriver
- ok 6 - getName returns the human readable name of this driver
- ok 7 - delete deleted the object
- ok 8 - calculate throws an exception when no userId isa WebGUI::Error::InvalidParam
- ok 9 - ... checking error message
- ok 10 - _getShippableUnits: empty cart
- ok 11 - _getShippableUnits: one loose item in the cart
- ok 12 - _getShippableUnits: two loose items in the cart
- ok 13 - _getShippableUnits: two loose items, and 1 ships separately item in the cart
- ok 14 - _getShippableUnits: two loose items, and 2 ships separately item in the cart, regarless of quantity for the new item
- ok 15 - _getShippableUnits: two loose items, and 2 ships separately item in the cart, and another loose item sorted by zipcode
- ok 16 - _getShippableUnits: only 1 ships separately item in the cart
- ok 17 - buildXML: checking userId is an attribute of the IntlRateRequest tag
- ok 18 - buildXML: checking ID is an attribute of the Package tag
- ok 19 - buildXML: 1 item in cart
- ok 20 - ... and tag order
- ok 21 # skip No userId for testing
- ok 22 # skip No userId for testing
- ok 23 - _calculateFromXML calculates shipping cost correctly for 1 item in the cart
- ok 24 - Validate XML structure and content for 2 items in the cart
- ok 25 # skip No userId for testing
- ok 26 # skip No userId for testing
- ok 27 - _calculateFromXML calculates shipping cost correctly for 2 items in the cart
- ok 28 - _calculateFromXML calculates shipping cost correctly for 2 items in the cart, with quantity of 2
- ok 29 - Validate XML structure and content for 3 items in the cart, 3 shippable items
- ok 30 # skip No userId for testing
- ok 31 # skip No userId for testing
- ok 32 - buildXML: minimum weight
- ok 33 # skip No userId for testing
- ok 34 # skip No userId for testing
- ok 35 # skip No userId for testing
- ok 36 # skip No userId for testing
- ok 37 # skip No userId for testing
- ok 38 - _calculateFromXML throws an exception for illegal package ids isa WebGUI::Error::Shop::RemoteShippingRate
- ok 39 - ... checking error message
- ok 40 - calculate throws an exception when a bad userId is used isa WebGUI::Error::Shop::RemoteShippingRate
- ok 41 - calculate won't calculate for domestic countries isa WebGUI::Error::InvalidParam
- Dubious, test returned 255 (wstat 65280, 0xff00)
- All 40 subtests passed
- (less 11 skipped subtests: 29 okay)
- t/Spectre/Workflow.t ...................
- 1..20
- ok 1 - can call getJsonStatus for all sites
- ok 2 - can call getJsonStatus for localhost
- ok 3 - workflow/getJsonStatus for all sites returns a proper JSON data structure
- ok 4 - workflow/getJsonStatus for all sites returns a JSON structure parseable into a Perl hashref isa HASH
- ok 5 - localhost exists in all sites result structure
- ok 6 - workflow/getJsonStatus for one site returns a proper JSON data structure
- ok 7 - workflow/getJsonStatus for one site returns a JSON structure parseable into a Perl hashref isa HASH
- ok 8 - Suspended exists for localhost in all sites structure # TODO tests to make later.
- ok 9 - Suspended is an arrayref in the localhost hash in all sites structure isa ARRAY # TODO tests to make later.
- ok 10 - Suspended exists for localhost in one site structure # TODO tests to make later.
- ok 11 - Suspended is an arrayref in the localhost hash in one site structure isa ARRAY # TODO tests to make later.
- ok 12 - Waiting exists for localhost in all sites structure # TODO tests to make later.
- ok 13 - Waiting is an arrayref in the localhost hash in all sites structure isa ARRAY # TODO tests to make later.
- ok 14 - Waiting exists for localhost in one site structure # TODO tests to make later.
- ok 15 - Waiting is an arrayref in the localhost hash in one site structure isa ARRAY # TODO tests to make later.
- ok 16 - Running exists for localhost in all sites structure # TODO tests to make later.
- ok 17 - Running is an arrayref in the localhost hash in all sites structure isa ARRAY # TODO tests to make later.
- ok 18 - Running exists for localhost in one site structure # TODO tests to make later.
- ok 19 - Running is an arrayref in the localhost hash in one site structure isa ARRAY # TODO tests to make later.
- Dubious, test returned 255 (wstat 65280, 0xff00)
- Failed 1/20 subtests
- (12 TODO tests unexpectedly succeeded)
- Test Summary Report
- -------------------
- t/Shop/ShipDriver/USPSInternational.t (Wstat: 65280 Tests: 41 Failed: 1)
- Failed test: 41
- Non-zero exit status: 255
- Parse errors: Bad plan. You planned 40 tests but ran 41.
- t/Spectre/Workflow.t (Wstat: 65280 Tests: 19 Failed: 0)
- TODO passed: 8-19
- Non-zero exit status: 255
- Parse errors: Bad plan. You planned 20 tests but ran 19.
- Files=2, Tests=60, 14 wallclock secs ( 0.03 usr 0.06 sys + 2.68 cusr 3.61 csys = 6.38 CPU)
- Result: FAIL
Add Comment
Please, Sign In to add comment