- * Package: dev-perl/RPC-XML-0.760.0
- * Repository: gentoo
- * Maintainer: perl@gentoo.org
- * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU
- * FEATURES: sandbox test userpriv usersandbox
- >>> Unpacking source...
- >>> Unpacking RPC-XML-0.76.tar.gz to /tmp/portage/dev-perl/RPC-XML-0.760.0/work
- >>> Source unpacked in /tmp/portage/dev-perl/RPC-XML-0.760.0/work
- >>> Preparing source in /tmp/portage/dev-perl/RPC-XML-0.760.0/work/RPC-XML-0.76 ...
- >>> Source prepared.
- >>> Configuring source in /tmp/portage/dev-perl/RPC-XML-0.760.0/work/RPC-XML-0.76 ...
- * Using ExtUtils::MakeMaker
- * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/tmp/portage/dev-perl/RPC-XML-0.760.0/image/
- Checking if your kit is complete...
- Looks good
- Writing Makefile for RPC::XML
- Writing MYMETA.yml and MYMETA.json
- >>> Source configured.
- >>> Compiling source in /tmp/portage/dev-perl/RPC-XML-0.760.0/work/RPC-XML-0.76 ...
- * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
- make -j24 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
- /usr/bin/perl5.16.0 etc/make_method --base=lib/Apache/RPC/status
- /usr/bin/perl5.16.0 etc/make_method --base=methods/identity
- /usr/bin/perl5.16.0 etc/make_method --base=methods/introspection
- /usr/bin/perl5.16.0 etc/make_method --base=methods/listMethods
- /usr/bin/perl5.16.0 etc/make_method --base=methods/methodHelp
- /usr/bin/perl5.16.0 etc/make_method --base=methods/methodSignature
- /usr/bin/perl5.16.0 etc/make_method --base=methods/multicall
- /usr/bin/perl5.16.0 etc/make_method --base=methods/status
- cp etc/make_method blib/script/make_method
- /usr/bin/perl5.16.0 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/make_method
- cp methods/status.xpl blib/lib/RPC/XML/status.xpl
- cp lib/Apache/RPC/Status.pm blib/lib/Apache/RPC/Status.pm
- cp methods/methodHelp.xpl blib/lib/RPC/XML/methodHelp.xpl
- cp lib/RPC/XML/Procedure.pm blib/lib/RPC/XML/Procedure.pm
- cp methods/introspection.xpl blib/lib/RPC/XML/introspection.xpl
- cp lib/RPC/XML/Parser/XMLLibXML.pm blib/lib/RPC/XML/Parser/XMLLibXML.pm
- cp lib/RPC/XML/Parser.pm blib/lib/RPC/XML/Parser.pm
- cp methods/identity.xpl blib/lib/RPC/XML/identity.xpl
- cp lib/RPC/XML/Server.pm blib/lib/RPC/XML/Server.pm
- cp lib/Apache/RPC/Server.pm blib/lib/Apache/RPC/Server.pm
- cp methods/multicall.xpl blib/lib/RPC/XML/multicall.xpl
- cp lib/Apache/RPC/status.xpl blib/lib/Apache/RPC/status.xpl
- cp lib/RPC/XML.pm blib/lib/RPC/XML.pm
- cp methods/listMethods.xpl blib/lib/RPC/XML/listMethods.xpl
- cp lib/RPC/XML/Client.pm blib/lib/RPC/XML/Client.pm
- cp methods/methodSignature.xpl blib/lib/RPC/XML/methodSignature.xpl
- cp lib/RPC/XML/ParserFactory.pm blib/lib/RPC/XML/ParserFactory.pm
- cp lib/RPC/XML/Parser/XMLParser.pm blib/lib/RPC/XML/Parser/XMLParser.pm
- Manifying blib/man1/make_method.1
- >>> Source compiled.
- make -j24 test TEST_VERBOSE=1
- PERL_DL_NONLAZY=1 /usr/bin/perl5.16.0 "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
- t/00_load.t .....................
- 1..10
- ok 1 - use RPC::XML;
- ok 2 - use RPC::XML::Client;
- ok 3 - use RPC::XML::Parser;
- ok 4 - use RPC::XML::Parser::XMLLibXML;
- ok 5 - use RPC::XML::Parser::XMLParser;
- ok 6 - use RPC::XML::ParserFactory;
- ok 7 - use RPC::XML::Procedure;
- ok 8 - use RPC::XML::Server;
- ok 9 # skip No mod_perl 1.X detected
- ok 10 # skip No mod_perl 1.X detected
- ok
- t/10_data.t .....................
- 1..252
- ok 1 - Attempt to directly construct simple_type failed
- ok 2 - Correct error message
- ok 3 - Static call to RPC::XML::simple_type::value fails
- ok 4 - Correct error message
- ok 5 - Static call to RPC::XML::simple_type::as_string fails
- ok 6 - Correct error message
- ok 7 - Static call to RPC::XML::simple_type::as_string fails
- ok 8 - Correct error message
- ok 9 - Static call to RPC::XML::simple_type::as_string fails
- ok 10 - Correct error message
- ok 11 - Attempt to instantiate from non-scalar ref failed
- ok 12 - Correct error message
- ok 13 - Basic data-type double isa RPC::XML::double
- ok 14 - Basic data-type double, value check
- ok 15 - Basic data-type double, XML serialization
- ok 16 - Basic data-type double, type identification
- ok 17 - Basic data-type double, length() method test
- ok 18 - Basic data-type i4 isa RPC::XML::i4
- ok 19 - Basic data-type i4, value check
- ok 20 - Basic data-type i4, XML serialization
- ok 21 - Basic data-type i4, type identification
- ok 22 - Basic data-type i4, length() method test
- ok 23 - Basic data-type i8 isa RPC::XML::i8
- ok 24 - Basic data-type i8, value check
- ok 25 - Basic data-type i8, XML serialization
- ok 26 - Basic data-type i8, type identification
- ok 27 - Basic data-type i8, length() method test
- ok 28 - Basic data-type int isa RPC::XML::int
- ok 29 - Basic data-type int, value check
- ok 30 - Basic data-type int, XML serialization
- ok 31 - Basic data-type int, type identification
- ok 32 - Basic data-type int, length() method test
- ok 33 - Basic data-type string isa RPC::XML::string
- ok 34 - Basic data-type string, value check
- ok 35 - Basic data-type string, XML serialization
- ok 36 - Basic data-type string, type identification
- ok 37 - Basic data-type string, length() method test
- ok 38 - Data objects from blessed scalar refs, type double isa RPC::XML::double
- ok 39 - Data objects from blessed scalar refs, type double, value check
- ok 40 - Data objects from blessed scalar refs, type double, XML serialization
- ok 41 - Data objects from blessed scalar refs, type double, type identification
- ok 42 - Data objects from blessed scalar refs, type double, length() method test
- ok 43 - Data objects from blessed scalar refs, type i4 isa RPC::XML::i4
- ok 44 - Data objects from blessed scalar refs, type i4, value check
- ok 45 - Data objects from blessed scalar refs, type i4, XML serialization
- ok 46 - Data objects from blessed scalar refs, type i4, type identification
- ok 47 - Data objects from blessed scalar refs, type i4, length() method test
- ok 48 - Data objects from blessed scalar refs, type i8 isa RPC::XML::i8
- ok 49 - Data objects from blessed scalar refs, type i8, value check
- ok 50 - Data objects from blessed scalar refs, type i8, XML serialization
- ok 51 - Data objects from blessed scalar refs, type i8, type identification
- ok 52 - Data objects from blessed scalar refs, type i8, length() method test
- ok 53 - Data objects from blessed scalar refs, type int isa RPC::XML::int
- ok 54 - Data objects from blessed scalar refs, type int, value check
- ok 55 - Data objects from blessed scalar refs, type int, XML serialization
- ok 56 - Data objects from blessed scalar refs, type int, type identification
- ok 57 - Data objects from blessed scalar refs, type int, length() method test
- ok 58 - Data objects from blessed scalar refs, type string isa RPC::XML::string
- ok 59 - Data objects from blessed scalar refs, type string, value check
- ok 60 - Data objects from blessed scalar refs, type string, XML serialization
- ok 61 - Data objects from blessed scalar refs, type string, type identification
- ok 62 - Data objects from blessed scalar refs, type string, length() method test
- ok 63 - RPC::XML::double stringification [1]
- ok 64 - RPC::XML::double stringification [2]
- ok 65 - RPC::XML::string extra tests, value check
- ok 66 - RPC::XML::string extra tests, XML serialization
- ok 67 - RPC::XML::string, encoding '0'
- ok 68 - $obj($_) isa RPC::XML::boolean
- ok 69 - RPC::XML::boolean(0), value check
- ok 70 - RPC::XML::boolean(0), XML serialization
- ok 71 - RPC::XML::boolean(0), type identification
- ok 72 - $obj($_) isa RPC::XML::boolean
- ok 73 - RPC::XML::boolean(1), value check
- ok 74 - RPC::XML::boolean(1), XML serialization
- ok 75 - RPC::XML::boolean(1), type identification
- ok 76 - $obj($_) isa RPC::XML::boolean
- ok 77 - RPC::XML::boolean(yes), value check
- ok 78 - RPC::XML::boolean(yes), XML serialization
- ok 79 - RPC::XML::boolean(yes), type identification
- ok 80 - $obj($_) isa RPC::XML::boolean
- ok 81 - RPC::XML::boolean(no), value check
- ok 82 - RPC::XML::boolean(no), XML serialization
- ok 83 - RPC::XML::boolean(no), type identification
- ok 84 - $obj($_) isa RPC::XML::boolean
- ok 85 - RPC::XML::boolean(tRuE), value check
- ok 86 - RPC::XML::boolean(tRuE), XML serialization
- ok 87 - RPC::XML::boolean(tRuE), type identification
- ok 88 - $obj($_) isa RPC::XML::boolean
- ok 89 - RPC::XML::boolean(FaLsE), value check
- ok 90 - RPC::XML::boolean(FaLsE), XML serialization
- ok 91 - RPC::XML::boolean(FaLsE), type identification
- ok 92 - RPC::XML::boolean, bad value did not yield referent
- ok 93 - RPC::XML::boolean, bad value correctly set $RPC::XML::ERROR
- ok 94 - $obj isa RPC::XML::datetime_iso8601
- ok 95 - RPC::XML::datetime_iso8601, type identification
- ok 96 - RPC::XML::datetime_iso8601, length() method test
- ok 97 - RPC::XML::datetime_iso8601, value() method test
- ok 98 - $obj isa RPC::XML::datetime_iso8601
- ok 99 - RPC::XML::datetime_iso8601, type identification (ref)
- ok 100 - RPC::XML::datetime_iso8601, length() method test (ref)
- ok 101 - RPC::XML::datetime_iso8601, value() method test (ref)
- ok 102 - $obj isa RPC::XML::datetime_iso8601
- ok 103 - RPC::XML::datetime_iso8601, type identification
- ok 104 - RPC::XML::datetime_iso8601, length() method test
- ok 105 - RPC::XML::datetime_iso8601, value() method test
- ok 106 - RPC::XML::datetime_iso8601, empty value did not yield referent
- ok 107 - RPC::XML::datetime_iso8601, empty value correctly set $RPC::XML::ERROR
- ok 108 - RPC::XML::datetime_iso8601, bad value did not yield referent
- ok 109 - RPC::XML::datetime_iso8601, empty value correctly set $RPC::XML::ERROR
- ok 110 - $obj isa RPC::XML::datetime_iso8601
- ok 111 - RPC::XML::datetime_iso8601, type identification
- ok 112 - RPC::XML::datetime_iso8601, value() method test
- ok 113 - $obj isa RPC::XML::datetime_iso8601
- ok 114 - RPC::XML::datetime_iso8601, from DateTime
- ok 115 - $obj isa RPC::XML::datetime_iso8601
- ok 116 - RPC::XML::datetime_iso8601, from DateTime via smart_encode
- ok 117 - $obj isa RPC::XML::base64
- ok 118 - RPC::XML::base64, XML serialization
- ok 119 - RPC::XML::base64, correct value()
- ok 120 - RPC::XML::base64, length() method test
- ok 121 - $obj (pre-encoded) isa RPC::XML::base64
- ok 122 - RPC::XML::base64(pre-encoded), value check
- ok 123 - $obj isa RPC::XML::base64
- ok 124 - RPC::XML::base64, correct value()
- ok 125 - $obj isa RPC::XML::base64
- ok 126 - Zero-length base64 object value OK
- ok 127 - Zero-length base64 object stringifies OK
- ok 128 - smart_encode, string<1>
- ok 129 - smart_encode, int<1>
- ok 130 - smart_encode, double<1>
- ok 131 - smart_encode, int<2>
- ok 132 - smart_encode, string<2>
- ok 133 - smart_encode, array
- ok 134 - smart_encode, struct
- ok 135 - smart_encode, string<3>
- ok 136 - smart_encode, int<3>
- ok 137 - smart_encode, double<2>
- ok 138 - smart_encode, int<4>
- ok 139 - smart_encode, int<5>
- ok 140 - smart_encode, i8<1>
- ok 141 - smart_encode, i8<2>
- ok 142 - smart_encode, i8<3>
- ok 143 - smart_encode, dateTime.iso8601
- ok 144 - smart_encode, dateTime.iso8601<2>
- ok 145 - smart_encode, dateTime.iso8601<3>
- ok 146 - smart_encode undef->string type
- ok 147 - smart_encode undef->string value
- ok 148 - smart_encode, bad reference argument did not yield referent
- ok 149 - smart_encode, bad reference argument set $@ as expected
- ok 150 - $obj isa RPC::XML::array
- ok 151 - RPC::XML::array, type identification
- ok 152 - RPC::XML::array, array size test
- ok 153 - RPC::XML::array, array content is RPC::XML::* referent
- ok 154 - RPC::XML::array, XML serialization
- ok 155 - RPC::XML::array, length() method test
- ok 156 - $obj from blessed arrayref isa RPC::XML::array
- ok 157 - RPC::XML::array from blessed arrayref, type identification
- ok 158 - RPC::XML::array from blessed arrayref, array size test
- ok 159 - RPC::XML::array from blessed arrayref, array content is referent
- ok 160 - RPC::XML::array from blessed arrayref, XML serialization
- ok 161 - RPC::XML::array from blessed arrayref, length() method test
- ok 162 - $obj isa RPC::XML::struct
- ok 163 - RPC::XML::struct, type identification
- ok 164 - RPC::XML::struct, ref-type of value()
- ok 165 - RPC::XML::struct, correct number of keys
- ok 166 - RPC::XML::struct, 'key1' value test
- ok 167 - RPC::XML::struct, key-value is referent in shallow conversion
- ok 168 - $obj(object-values) isa RPC::XML::struct
- ok 169 - RPC::XML::struct(object-values), 'key1' value test
- ok 170 - RPC::XML::struct(object-values), value-object type correctness
- ok 171 - RPC::XML::struct, XML serialization
- ok 172 - RPC::XML::struct, length() method test
- ok 173 - $obj(with XML special char keys) isa RPC::XML::struct
- ok 174 - RPC::XML::struct, XML-encoding of serialized form with char entities
- ok 175 - $obj(struct<1>) isa RPC::XML::struct
- ok 176 - struct object type method
- ok 177 - struct $obj->value isa HASH
- ok 178 - struct obj number of keys test
- ok 179 - struct obj "key1" test
- ok 180 - $val->{key1} (shallow eval) isa RPC::XML::int
- ok 181 - $obj(struct<2>) isa RPC::XML::struct
- ok 182 - struct<2> "key1" test
- ok 183 - struct<2> "key1" type test
- ok 184 - struct<2> XML serialization
- ok 185 - struct<2> length() check
- ok 186 - $obj (fault) isa RPC::XML::fault
- ok 187 - fault class constructor fails on missing key(s)
- ok 188 - fault class failure set error string
- ok 189 - fault class rejects extra args
- ok 190 - fault class failure set error string
- ok 191 - $obj<2> (fault) isa RPC::XML::fault
- ok 192 - fault code() method
- ok 193 - fault string() method
- ok 194 - fault XML serialization
- ok 195 - fault length() check
- ok 196 - $obj (request) isa RPC::XML::request
- ok 197 - request name method
- ok 198 - request args method
- ok 199 - bad request contructor failed
- ok 200 - bad request constructor set error string
- ok 201 - Bad method name in constructor failed
- ok 202 - Bad method name in constructor set error string
- ok 203 - request args method size test
- ok 204 - request args elt[0] type test
- ok 205 - request args elt[9] value test
- ok 206 - request XML serialization
- ok 207 - request length() test
- ok 208 - $obj (response) isa RPC::XML::response
- ok 209 - response value->type test
- ok 210 - response value->value test
- ok 211 - response object not fault
- ok 212 - response XML serialization
- ok 213 - response length() test
- ok 214 - bad response constructor failed
- ok 215 - bad response constructor set error string
- ok 216 - bad response constructor failed
- ok 217 - bad response constructor set error string
- ok 218 - $obj (response/fault) isa RPC::XML::response
- ok 219 - fault response creation is_fault test
- ok 220 - smart_encode zealousness test, 1 * 1.84467440737096e+19
- ok 221 - smart_encode zealousness, non-forced type
- ok 222 - smart_encode zealousness test, 1 * 1.84467440737096e+19 (force)
- ok 223 - smart_encode zealousness, forced to string
- ok 224 - smart_encode zealousness test, -1 * 1.84467440737096e+19
- ok 225 - smart_encode zealousness, non-forced type
- ok 226 - smart_encode zealousness test, -1 * 1.84467440737096e+19 (force)
- ok 227 - smart_encode zealousness, forced to string
- ok 228 - smart_encode zealousness test, 1 * 1e+37
- ok 229 - smart_encode zealousness, non-forced type
- ok 230 - smart_encode zealousness test, 1 * 1e+37 (force)
- ok 231 - smart_encode zealousness, forced to string
- ok 232 - smart_encode zealousness test, -1 * 1e+37
- ok 233 - smart_encode zealousness, non-forced type
- ok 234 - smart_encode zealousness test, -1 * 1e+37 (force)
- ok 235 - smart_encode zealousness, forced to string
- ok 236 - smart_encode zealousness test, 1 * 4294967297
- ok 237 - smart_encode zealousness, non-forced type
- ok 238 - smart_encode zealousness test, 1 * 4294967297 (force)
- ok 239 - smart_encode zealousness, forced to string
- ok 240 - smart_encode zealousness test, -1 * 4294967297
- ok 241 - smart_encode zealousness, non-forced type
- ok 242 - smart_encode zealousness test, -1 * 4294967297 (force)
- ok 243 - smart_encode zealousness, forced to string
- ok 244 - smart_encode zealousness test, 1 * 256
- ok 245 - smart_encode zealousness, non-forced type
- ok 246 - smart_encode zealousness test, 1 * 256 (force)
- ok 247 - smart_encode zealousness, forced to string
- ok 248 - smart_encode zealousness test, -1 * 256
- ok 249 - smart_encode zealousness, non-forced type
- ok 250 - smart_encode zealousness test, -1 * 256 (force)
- ok 251 - smart_encode zealousness, forced to string
- ok 252 - Floating-point format test, RT31818
- ok
- t/11_base64_fh.t ................
- 1..35
- ok 1 - $obj isa RPC::XML::base64
- ok 2 - object construction leaves pos() unchanged
- ok 3 - object value is correct
- ok 4 - call to value() leaves pos() unchanged
- ok 5 - object stringification is correct
- ok 6 - call to as_string leaves pos() unchanged
- ok 7 - $obj(encoded) isa RPC::XML::base64
- ok 8 - object(encoded) construction leaves pos() unchanged
- ok 9 - object(encoded) value is correct
- ok 10 - call to value() leaves pos() unchanged
- ok 11 - object(encoded) stringification is correct
- ok 12 - call to as_string leaves pos() unchanged
- ok 13 - $obj(glob) isa RPC::XML::base64
- ok 14 - object(glob) construction leaves pos() unchanged
- ok 15 - object(glob) value is correct
- ok 16 - call to value() leaves pos() unchanged
- ok 17 - object(glob) stringification is correct
- ok 18 - call to as_string leaves pos() unchanged
- ok 19 - $obj isa RPC::XML::base64
- ok 20 - from file, stringification
- ok 21 - from file, length
- ok 22 - MD5 checksum matches
- ok 23 - to_file call returned correct number of bytes
- ok 24 - temp-file size matches file size
- ok 25 - MD5 hexdigest matches
- ok 26 - to_file call returned correct number of bytes
- ok 27 - temp-file size matches string
- ok 28 - to_file call on file-handle, correct size
- ok 29 - temp-file size matches string
- ok 30 - to_file call failed on unusable reference type
- ok 31 - Correct error message
- ok 32 - to_file call failed on un-openable file
- ok 33 - Correct error message
- ok 34 - to_file() written size matches decoded file size
- ok 35 - MD5 hexdigest matches
- ok
- t/12_nil.t ......................
- 1..11
- ok 1 - Did not create a nil without first enabling nil
- ok 2 - $RPC::XML::ERROR correctly set
- ok 3 - The object isa RPC::XML::nil
- ok 4 - Stringification
- ok 5 - Length of element
- ok 6 - The object isa RPC::XML::nil
- ok 7 - The object isa RPC::XML::nil
- ok 8 - Stringification
- ok 9 - Length of element
- ok 10 - smart_encode undef->string type
- ok 11 - smart_encode undef->string value
- ok
- t/13_no_deep_recursion.t ........
- 1..17
- ok 1 - The object isa RPC::XML::array
- ok 2 - Cyclical array now length 1
- ok 3 - Cyclical array kept non-cyclic element
- ok 4 - The object isa RPC::XML::array
- ok 5 - Cyclical array <2> now length 1
- ok 6 - Cyclical array <2> kept non-cyclic element
- ok 7 - The object isa RPC::XML::struct
- ok 8 - Cyclical struct has correct num of keys
- ok 9 - Cyclical struct array elem is correct
- ok 10 - Cyclical struct other key no. 1 correct
- ok 11 - Cyclical struct other key no. 2 correct
- ok 12 - The object isa RPC::XML::struct
- ok 13 - Cyclical struct <2> has correct num of keys
- ok 14 - Cyclical struct <2> array elem is correct
- ok 15 - Cyclical struct <2> other key no. 1 correct
- ok 16 - Cyclical struct <2> other key no. 2 correct
- ok 17 - Cyclical struct <2> nested hash has correct keys
- ok
- t/14_datetime_iso8601.t .........
- 1..116
- ok 1 - Input 0 $obj isa RPC::XML::datetime_iso8601
- ok 2 - Input '20110820' yielded correct value
- ok 3 - Input 1 $obj isa RPC::XML::datetime_iso8601
- ok 4 - Input '2011-08-20' yielded correct value
- ok 5 - Input 2 $obj isa RPC::XML::datetime_iso8601
- ok 6 - Input '2011-08' yielded correct value
- ok 7 - Input 3 $obj isa RPC::XML::datetime_iso8601
- ok 8 - Input '2011' yielded correct value
- ok 9 - Input 4 $obj isa RPC::XML::datetime_iso8601
- ok 10 - Input '110820' yielded correct value
- ok 11 - Input 5 $obj isa RPC::XML::datetime_iso8601
- ok 12 - Input '11-08-20' yielded correct value
- ok 13 - Input 6 $obj isa RPC::XML::datetime_iso8601
- ok 14 - Input '-1108' yielded correct value
- ok 15 - Input 7 $obj isa RPC::XML::datetime_iso8601
- ok 16 - Input '-11-08' yielded correct value
- ok 17 - Input 8 $obj isa RPC::XML::datetime_iso8601
- ok 18 - Input '--0820' yielded correct value
- ok 19 - Input 9 $obj isa RPC::XML::datetime_iso8601
- ok 20 - Input '--08-20' yielded correct value
- ok 21 - Input 10 $obj isa RPC::XML::datetime_iso8601
- ok 22 - Input '--08' yielded correct value
- ok 23 - Input 11 $obj isa RPC::XML::datetime_iso8601
- ok 24 - Input '---20' yielded correct value
- ok 25 - Input 12 $obj isa RPC::XML::datetime_iso8601
- ok 26 - Input '2011232' yielded correct value
- ok 27 - Input 13 $obj isa RPC::XML::datetime_iso8601
- ok 28 - Input '2011-232' yielded correct value
- ok 29 - Input 14 $obj isa RPC::XML::datetime_iso8601
- ok 30 - Input '11232' yielded correct value
- ok 31 - Input 15 $obj isa RPC::XML::datetime_iso8601
- ok 32 - Input '11-232' yielded correct value
- ok 33 - Input 16 $obj isa RPC::XML::datetime_iso8601
- ok 34 - Input '-232' yielded correct value
- ok 35 - Input 17 $obj isa RPC::XML::datetime_iso8601
- ok 36 - Input '2011W336' yielded correct value
- ok 37 - Input 18 $obj isa RPC::XML::datetime_iso8601
- ok 38 - Input '2011-W33-6' yielded correct value
- ok 39 - Input 19 $obj isa RPC::XML::datetime_iso8601
- ok 40 - Input '2011W33' yielded correct value
- ok 41 - Input 20 $obj isa RPC::XML::datetime_iso8601
- ok 42 - Input '2011-W33' yielded correct value
- ok 43 - Input 21 $obj isa RPC::XML::datetime_iso8601
- ok 44 - Input '11W336' yielded correct value
- ok 45 - Input 22 $obj isa RPC::XML::datetime_iso8601
- ok 46 - Input '11-W33-6' yielded correct value
- ok 47 - Input 23 $obj isa RPC::XML::datetime_iso8601
- ok 48 - Input '11W33' yielded correct value
- ok 49 - Input 24 $obj isa RPC::XML::datetime_iso8601
- ok 50 - Input '11-W33' yielded correct value
- ok 51 - Input 25 $obj isa RPC::XML::datetime_iso8601
- ok 52 - Input '-1W336' yielded correct value
- ok 53 - Input 26 $obj isa RPC::XML::datetime_iso8601
- ok 54 - Input '-1-W33-6' yielded correct value
- ok 55 - Input 27 $obj isa RPC::XML::datetime_iso8601
- ok 56 - Input '-1W33' yielded correct value
- ok 57 - Input 28 $obj isa RPC::XML::datetime_iso8601
- ok 58 - Input '-1-W33' yielded correct value
- ok 59 - Input 29 $obj isa RPC::XML::datetime_iso8601
- ok 60 - Input '-W336' yielded correct value
- ok 61 - Input 30 $obj isa RPC::XML::datetime_iso8601
- ok 62 - Input '-W33-6' yielded correct value
- ok 63 - Input 31 $obj isa RPC::XML::datetime_iso8601
- ok 64 - Input '17:55:55' yielded correct value
- ok 65 - Input 32 $obj isa RPC::XML::datetime_iso8601
- ok 66 - Input '17:55' yielded correct value
- ok 67 - Input 33 $obj isa RPC::XML::datetime_iso8601
- ok 68 - Input '175555,50' yielded correct value
- ok 69 - Input 34 $obj isa RPC::XML::datetime_iso8601
- ok 70 - Input '17:55:55,50' yielded correct value
- ok 71 - Input 35 $obj isa RPC::XML::datetime_iso8601
- ok 72 - Input '175555.50' yielded correct value
- ok 73 - Input 36 $obj isa RPC::XML::datetime_iso8601
- ok 74 - Input '1755.50' yielded correct value
- ok 75 - Input 37 $obj isa RPC::XML::datetime_iso8601
- ok 76 - Input '17:55.50' yielded correct value
- ok 77 - Input 38 $obj isa RPC::XML::datetime_iso8601
- ok 78 - Input '17.50' yielded correct value
- ok 79 - Input 39 $obj isa RPC::XML::datetime_iso8601
- ok 80 - Input '-55:00' yielded correct value
- ok 81 - Input 40 $obj isa RPC::XML::datetime_iso8601
- ok 82 - Input '-5500,50' yielded correct value
- ok 83 - Input 41 $obj isa RPC::XML::datetime_iso8601
- ok 84 - Input '-55.50' yielded correct value
- ok 85 - Input 42 $obj isa RPC::XML::datetime_iso8601
- ok 86 - Input '--00.0' yielded correct value
- ok 87 - Input 43 $obj isa RPC::XML::datetime_iso8601
- ok 88 - Input '175555Z' yielded correct value
- ok 89 - Input 44 $obj isa RPC::XML::datetime_iso8601
- ok 90 - Input '17:55:55Z' yielded correct value
- ok 91 - Input 45 $obj isa RPC::XML::datetime_iso8601
- ok 92 - Input '1755Z' yielded correct value
- ok 93 - Input 46 $obj isa RPC::XML::datetime_iso8601
- ok 94 - Input '17:55Z' yielded correct value
- ok 95 - Input 47 $obj isa RPC::XML::datetime_iso8601
- ok 96 - Input '17Z' yielded correct value
- ok 97 - Input 48 $obj isa RPC::XML::datetime_iso8601
- ok 98 - Input '175555.0Z' yielded correct value
- ok 99 - Input 49 $obj isa RPC::XML::datetime_iso8601
- ok 100 - Input '17:55:55.0Z' yielded correct value
- ok 101 - Input 50 $obj isa RPC::XML::datetime_iso8601
- ok 102 - Input '175555-0700' yielded correct value
- ok 103 - Input 51 $obj isa RPC::XML::datetime_iso8601
- ok 104 - Input '17:55:55-07:00' yielded correct value
- ok 105 - Input 52 $obj isa RPC::XML::datetime_iso8601
- ok 106 - Input '175555-07' yielded correct value
- ok 107 - Input 53 $obj isa RPC::XML::datetime_iso8601
- ok 108 - Input '17:55:55-07' yielded correct value
- ok 109 - Input 54 $obj isa RPC::XML::datetime_iso8601
- ok 110 - Input '175555.0-0700' yielded correct value
- ok 111 - Input 55 $obj isa RPC::XML::datetime_iso8601
- ok 112 - Input '17:55:55.0-07:00' yielded correct value
- ok 113 - Input 56 yielded no object
- ok 114 - Input '17,01' yielded correct error message
- ok 115 - Input 57 yielded no object
- ok 116 - Input '20110820175555' yielded correct error message
- ok
- t/15_serialize.t ................
- 1..20
- ok 1 - Testing length() method
- ok 2 - serialize method did not croak
- ok 3 - File size is correct
- ok 4 - File content is correct
- ok 5 - length() in fault response
- ok 6 - serialize method did not croak
- ok 7 - Fault-response file size OK
- ok 8 - Fault-response content is correct
- ok 9 - length() in normal response
- ok 10 - serialize method did not croak
- ok 11 - Normal response file size OK
- ok 12 - Normal response content OK
- ok 13 - length() in normal response
- ok 14 - serialize method did not croak
- ok 15 - Normal response file size OK
- ok 16 - Normal response content OK
- ok 17 - length() in normal response
- ok 18 - serialize method did not croak
- ok 19 - Normal response file size OK
- ok 20 - Normal response content OK
- ok
- t/20_xml_parser.t ...............
- 1..137
- ok 1 - $p isa RPC::XML::Parser::XMLParser
- ok 2 - $p isa RPC::XML::Parser
- ok 3 - Calling parse_more on $p failed
- ok 4 - Correct error message
- ok 5 - Calling parse_done on $p failed
- ok 6 - Correct error message
- ok 7 - $ret isa RPC::XML::request
- ok 8 - Correct request method name
- ok 9 - $ret isa RPC::XML::request
- ok 10 - Correct request method name
- ok 11 - No <params> block yields correct args list
- ok 12 - $ret isa RPC::XML::response
- ok 13 - Response value
- ok 14 - Bad XML did not parse
- ok 15 - Parse failure returned error
- ok 16 - Parse of RPC::XML::request block isa RPC::XML::request
- ok 17 - Properly parsed /methodCall/methodName
- ok 18 - Parser created correct-length args list
- ok 19 - Parse of <i4> argument isa RPC::XML::i4
- ok 20 - RPC::XML::i4 value parsed OK
- ok 21 - Parse of <int> argument isa RPC::XML::int
- ok 22 - RPC::XML::int value parsed OK
- ok 23 - Parse of <i8> argument isa RPC::XML::i8
- ok 24 - RPC::XML::i8 value parsed OK
- ok 25 - Parse of <double> argument isa RPC::XML::double
- ok 26 - RPC::XML::double value parsed OK
- ok 27 - Parse of <string> argument isa RPC::XML::string
- ok 28 - RPC::XML::string value parsed OK
- ok 29 - Parse of <boolean> argument isa RPC::XML::boolean
- ok 30 - RPC::XML::boolean value parsed OK
- ok 31 - Parse of <dateTime.iso8601> argument isa RPC::XML::datetime_iso8601
- ok 32 - RPC::XML::dateTime.iso8601 value parsed OK
- ok 33 - Parse of <array> argument isa RPC::XML::array
- ok 34 - RPC::XML::array value parsed OK
- ok 35 - Parse of <struct> argument isa RPC::XML::struct
- ok 36 - RPC::XML::struct value parsed OK
- ok 37 - $spool_ret isa RPC::XML::request
- ok 38 - Request, base64 spooling, method name test
- ok 39 - Request, base64 spooling, return arg test
- ok 40 - $new_base64 isa RPC::XML::base64
- ok 41 - Parse base64 spooling, value comparison
- ok 42 - $new_base64->{value_fh} isa GLOB
- ok 43 - RPC::XML::Parser handles core entities
- ok 44 - Bad entities ignored
- ok 45 - $ret from scalar reference isa RPC::XML::request
- ok 46 - Correct request method name
- ok 47 - $ret from glob reference isa RPC::XML::request
- ok 48 - Correct request method name
- ok 49 - $ret error from scalar reference
- ok 50 - Correct error message
- ok 51 - $ret error from glob reference
- ok 52 - Correct error message
- ok 53 - Unusable reference did not parse to anything
- ok 54 - Correct error message
- ok 55 - Bad XML <1>
- ok 56 - Correct error message
- ok 57 - Bad XML <2>
- ok 58 - Correct error message
- ok 59 - Bad XML <3>
- ok 60 - Correct error message
- ok 61 - Bad XML <4>
- ok 62 - Correct error message
- ok 63 - Bad XML <5>
- ok 64 - Correct error message
- ok 65 - Bad XML <6>
- ok 66 - Correct error message
- ok 67 - Bad XML <7>
- ok 68 - Correct error message
- ok 69 - Bad XML <8>
- ok 70 - Correct error message
- ok 71 - Bad XML <9>
- ok 72 - Correct error message
- ok 73 - Bad XML <10>
- ok 74 - Correct error message
- ok 75 - Bad XML <11>
- ok 76 - Correct error message
- ok 77 - Bad XML <12>
- ok 78 - Correct error message
- ok 79 - Bad XML <13>
- ok 80 - Correct error message
- ok 81 - Bad XML <14>
- ok 82 - Correct error message
- ok 83 - Bad XML <15>
- ok 84 - Correct error message
- ok 85 - Bad XML <16>
- ok 86 - Correct error message
- ok 87 - Bad XML <17>
- ok 88 - Correct error message
- ok 89 - Bad XML <18>
- ok 90 - Correct error message
- ok 91 - Bad XML <19>
- ok 92 - Correct error message
- ok 93 - Bad XML <20>
- ok 94 - Correct error message
- ok 95 - Bad XML <21>
- ok 96 - Correct error message
- ok 97 - Bad XML <22>
- ok 98 - Correct error message
- ok 99 - Bad XML <23>
- ok 100 - Correct error message
- ok 101 - Bad XML <24>
- ok 102 - Correct error message
- ok 103 - Bad XML <25>
- ok 104 - Correct error message
- ok 105 - Bad XML <26>
- ok 106 - Correct error message
- ok 107 - Bad XML <27>
- ok 108 - Correct error message
- ok 109 - Bad XML <28>
- ok 110 - Correct error message
- ok 111 - Bad XML <29>
- ok 112 - Correct error message
- ok 113 - Bad XML <30>
- ok 114 - Correct error message
- ok 115 - Bad XML <31>
- ok 116 - Correct error message
- ok 117 - Bad XML <32>
- ok 118 - Correct error message
- ok 119 - Bad XML <33>
- ok 120 - Correct error message
- ok 121 - Bad XML <34>
- ok 122 - Correct error message
- ok 123 - Bad XML <35>
- ok 124 - Correct error message
- ok 125 - Bad XML <36>
- ok 126 - Correct error message
- ok 127 - Bad XML <37>
- ok 128 - Correct error message
- ok 129 - Bad XML <38>
- ok 130 - Correct error message
- ok 131 - Bad XML <39>
- ok 132 - Correct error message
- ok 133 - Bad XML <40>
- ok 134 - Correct error message
- ok 135 - Bad XML <41>
- ok 136 - Correct error message
- ok 137 - Opening Base64 spoolfile correctly failed
- ok
- t/21_xml_libxml.t ...............
- 1..110
- ok 1 - $p isa RPC::XML::Parser::XMLLibXML
- ok 2 - $p isa RPC::XML::Parser
- ok 3 - $ret isa RPC::XML::request
- ok 4 - Correct request method name
- ok 5 - $ret isa RPC::XML::response
- ok 6 - Response value
- ok 7 - Bad XML did not parse
- ok 8 - Parse failure returned error
- ok 9 - fault parsing: $ret isa RPC::XML::response
- ok 10 - fault parsing: $ret->value isa RPC::XML::fault
- ok 11 - fault parsing: correct code value
- ok 12 - fault parsing: correct string value
- ok 13 - Parse of RPC::XML::request block isa RPC::XML::request
- ok 14 - Properly parsed /methodCall/methodName
- ok 15 - Parser created correct-length args list
- ok 16 - Parse of <i4> argument isa RPC::XML::i4
- ok 17 - RPC::XML::i4 value parsed OK
- ok 18 - Parse of <int> argument isa RPC::XML::int
- ok 19 - RPC::XML::int value parsed OK
- ok 20 - Parse of <i8> argument isa RPC::XML::i8
- ok 21 - RPC::XML::i8 value parsed OK
- ok 22 - Parse of <double> argument isa RPC::XML::double
- ok 23 - RPC::XML::double value parsed OK
- ok 24 - Parse of <string> argument isa RPC::XML::string
- ok 25 - RPC::XML::string value parsed OK
- ok 26 - Parse of <boolean> argument isa RPC::XML::boolean
- ok 27 - RPC::XML::boolean value parsed OK
- ok 28 - Parse of <dateTime.iso8601> argument isa RPC::XML::datetime_iso8601
- ok 29 - RPC::XML::dateTime.iso8601 value parsed OK
- ok 30 - Parse of <array> argument isa RPC::XML::array
- ok 31 - RPC::XML::array value parsed OK
- ok 32 - Parse of <struct> argument isa RPC::XML::struct
- ok 33 - RPC::XML::struct value parsed OK
- ok 34 - $spool_ret isa RPC::XML::request
- ok 35 - Request, base64 spooling, method name test
- ok 36 - Request, base64 spooling, return arg test
- ok 37 - $new_base64 isa RPC::XML::base64
- ok 38 - Parse base64 spooling, value comparison
- ok 39 - $new_base64->{value_fh} isa GLOB
- ok 40 - RPC::XML::Parser handles core entities
- ok 41 - Push-parser instance isa RPC::XML::Parser::XMLLibXML
- ok 42 - parse_done() return value isa RPC::XML::request
- ok 43 - First args value isa RPC::XML::base64
- ok 44 - Push-parse value comparison
- ok 45 - Bad entities ignored
- ok 46 - $ret from scalar reference isa RPC::XML::request
- ok 47 - Correct request method name
- ok 48 - $ret from glob reference isa RPC::XML::request
- ok 49 - Correct request method name
- ok 50 - $ret error from scalar reference
- ok 51 - Correct error message
- ok 52 - $ret error from glob reference
- ok 53 - Correct error message
- ok 54 - Unusable reference did not parse to anything
- ok 55 - Correct error message
- ok 56 - Bad XML <1>
- ok 57 - Correct error message
- ok 58 - Bad XML <2>
- ok 59 - Correct error message
- ok 60 - Bad XML <3>
- ok 61 - Correct error message
- ok 62 - Bad XML <4>
- ok 63 - Correct error message
- ok 64 - Bad XML <5>
- ok 65 - Correct error message
- ok 66 - Bad XML <6>
- ok 67 - Correct error message
- ok 68 - Bad XML <7>
- ok 69 - Correct error message
- ok 70 - Bad XML <8>
- ok 71 - Correct error message
- ok 72 - Bad XML <9>
- ok 73 - Correct error message
- ok 74 - Bad XML <10>
- ok 75 - Correct error message
- ok 76 - Bad XML <11>
- ok 77 - Correct error message
- ok 78 - Bad XML <12>
- ok 79 - Correct error message
- ok 80 - Bad XML <13>
- ok 81 - Correct error message
- ok 82 - Bad XML <14>
- ok 83 - Correct error message
- ok 84 - Bad XML <15>
- ok 85 - Correct error message
- ok 86 - Bad XML <16>
- ok 87 - Correct error message
- ok 88 - Bad XML <17>
- ok 89 - Correct error message
- ok 90 - Bad XML <18>
- ok 91 - Correct error message
- ok 92 - Bad XML <19>
- ok 93 - Correct error message
- ok 94 - Bad XML <20>
- ok 95 - Correct error message
- ok 96 - Bad XML <21>
- ok 97 - Correct error message
- ok 98 - Bad XML <22>
- ok 99 - Correct error message
- ok 100 - Bad XML <23>
- ok 101 - Correct error message
- ok 102 - Bad XML <24>
- ok 103 - Correct error message
- ok 104 - Bad XML <25>
- ok 105 - Correct error message
- ok 106 - Bad XML <26>
- ok 107 - Correct error message
- ok 108 - Bad XML <27>
- ok 109 - Correct error message
- ok 110 - Opening Base64 spoolfile correctly failed
- ok
- t/25_parser_negative.t ..........
- 1..14
- ok 1 - RPC::XML::Parser did not instantiate
- ok 2 - Correctly-set error message in $@
- ok 3 - ::parse correctly failed to run
- ok 4 - Correctly-set error message in $@
- ok 5 - ::parse_more correctly failed to run
- ok 6 - Correctly-set error message in $@
- ok 7 - ::parse_done correctly failed to run
- ok 8 - Correctly-set error message in $@
- ok 9 - ::parse correctly failed to run
- ok 10 - Correctly-set error message in $@
- ok 11 - ::parse_more correctly failed to run
- ok 12 - Correctly-set error message in $@
- ok 13 - ::parse_done correctly failed to run
- ok 14 - Correctly-set error message in $@
- ok
- t/29_parserfactory.t ............
- 1..38
- ok 1 - Factory correctly failed when it could not load parser class
- ok 2 - Correct error message
- ok 3 - $p isa RPC::XML::Parser
- ok 4 - $p isa RPC::XML::Parser::XMLParser
- ok 5 - $ret isa RPC::XML::request
- ok 6 - Correct request method name
- ok 7 - $ret isa RPC::XML::response
- ok 8 - Response value
- ok 9 - Bad XML did not parse
- ok 10 - Parse failure returned error
- ok 11 - Alias XML::Parser: $p isa RPC::XML::Parser
- ok 12 - Alias XML::Parser: $p isa RPC::XML::Parser::XMLParser
- ok 13 - Alias xml::parser: $p isa RPC::XML::Parser
- ok 14 - Alias xml::parser: $p isa RPC::XML::Parser::XMLParser
- ok 15 - Alias xmlparser: $p isa RPC::XML::Parser
- ok 16 - Alias xmlparser: $p isa RPC::XML::Parser::XMLParser
- ok 17 - Alias XML::LibXML: $p isa RPC::XML::Parser
- ok 18 - Alias XML::LibXML: $p isa RPC::XML::Parser::XMLLibXML
- ok 19 - Alias xml::libxml: $p isa RPC::XML::Parser
- ok 20 - Alias xml::libxml: $p isa RPC::XML::Parser::XMLLibXML
- ok 21 - Alias xmllibxml: $p isa RPC::XML::Parser
- ok 22 - Alias xmllibxml: $p isa RPC::XML::Parser::XMLLibXML
- ok 23 - New'ing XML::Parser: $p isa RPC::XML::Parser
- ok 24 - New'ing XML::Parser: $p isa RPC::XML::Parser::XMLParser
- ok 25 - New'ing xml::parser: $p isa RPC::XML::Parser
- ok 26 - New'ing xml::parser: $p isa RPC::XML::Parser::XMLParser
- ok 27 - New'ing xmlparser: $p isa RPC::XML::Parser
- ok 28 - New'ing xmlparser: $p isa RPC::XML::Parser::XMLParser
- ok 29 - New'ing XML::LibXML: $p isa RPC::XML::Parser
- ok 30 - New'ing XML::LibXML: $p isa RPC::XML::Parser::XMLLibXML
- ok 31 - New'ing xml::libxml: $p isa RPC::XML::Parser
- ok 32 - New'ing xml::libxml: $p isa RPC::XML::Parser::XMLLibXML
- ok 33 - New'ing xmllibxml: $p isa RPC::XML::Parser
- ok 34 - New'ing xmllibxml: $p isa RPC::XML::Parser::XMLLibXML
- ok 35 - Factory-new fails with bad class argument
- ok 36 - Correct error message
- ok 37 - Factory-new fails with a bad parser class
- ok 38 - Correct error message
- ok
- t/30_method.t ...................
- 1..81
- ok 1 - $obj isa RPC::XML::Procedure
- ok 2 - Correct error message from bad new()
- ok 3 - Basic accessors
- ok 4 - Calling the code
- ok 5 - Null value for help()
- ok 6 - Null value for namespace()
- ok 7 - Zero value for version()
- ok 8 - Zero value for hidden()
- ok 9 - help() changes correctly
- ok 10 - version() changes correctly
- ok 11 - hidden() changes correctly
- ok 12 - code() changes correctly
- ok 13 - code() did not change to a bad value
- ok 14 - signature() changes correctly
- ok 15 - signature() failed correctly on ambiguous data
- ok 16 - signature() reverted to old value
- ok 17 - signature() failed correctly on bad input
- ok 18 - reload() fails OK
- ok 19 - $obj<2> isa RPC::XML::Procedure
- ok 20 - Basic accessors <2>
- ok 21 - Calling the code <2>
- ok 22 - $obj<3> isa RPC::XML::Procedure
- ok 23 - hidden() is correctly false
- ok 24 - Correct constructor failure [1]
- ok 25 - Correct constructor failure [2]
- ok 26 - Correct constructor failure [3]
- ok 27 - Correct constructor failure [4]
- ok 28 - Correct constructor failure [5]
- ok 29 - Correct constructor failure [6]
- ok 30 - Correct constructor failure [7]
- ok 31 - Bad XPL [1] not loaded
- ok 32 - Bad XPL [2] not loaded
- ok 33 - $obj isa RPC::XML::Method
- ok 34 - Good XPL load, basic accessors
- ok 35 - Good XPL load, code() accessor
- ok 36 - Good XPL load, code() invocation
- ok 37 - $obj2 isa RPC::XML::Method
- ok 38 - Compare accessors of clone and source
- ok 39 - Clone signature() accessor has different listref
- ok 40 - Clone signature() value is same despite this
- ok 41 - Clone code() ref value is same as source
- ok 42 - Test match_signature()
- ok 43 - Adding via add_signature() returns obj ref
- ok 44 - Number of signatures after add_signature()
- ok 45 - New signature matches correctly
- ok 46 - Signature matches arrayref
- ok 47 - Correct failure of adding ambiguous signature
- ok 48 - Signature failure returned correct message
- ok 49 - Test delete_signature()
- ok 50 - Correct signature count after delete
- ok 51 - Deleting last signature fails
- ok 52 - Attempt to delete non-existent signature
- ok 53 - Correct signature count after useless delete
- ok 54 - $obj isa RPC::XML::Procedure
- ok 55 - $obj isa RPC::XML::Function
- ok 56 - RPC::XML::Function valid return from signature() <1>
- ok 57 - RPC::XML::Function valid add_signature
- ok 58 - RPC::XML::Function valid return from signature() <2>
- ok 59 - RPC::XML::Function correct signature match
- ok 60 - RPC::XML::Function valid delete_signature
- ok 61 - RPC::XML::Function valid return from signature() <3>
- ok 62 - $obj2 isa RPC::XML::Function
- ok 63 - Compare accessors of clone and source
- ok 64 - Clone code() ref value is same as source
- ok 65 - Correct error message on bad constructor call
- ok 66 - The object isa RPC::XML::Procedure
- ok 67 - Calling test.test_nil
- ok 68 - Return value isa RPC::XML::nil
- ok 69 - The object isa RPC::XML::Procedure
- ok 70 - Calling test.test_nil2
- ok 71 - Return value isa RPC::XML::nil
- ok 72 - The object isa RPC::XML::Procedure
- ok 73 - Calling test.test_nil3
- ok 74 - Return value isa RPC::XML::nil
- ok 75 - The object isa RPC::XML::Procedure
- ok 76 - Test match_signature() with nil
- ok 77 - Test match_signature() with nil [2]
- ok 78 - $obj isa RPC::XML::Procedure
- ok 79 - reload() returns ok
- ok 80 - Reloaded method gave correct value
- ok 81 - Correct error from reload() after unlink
- ok
- t/35_namespaces.t ...............
- 1..7
- ok 1 - The object isa RPC::XML::Method
- ok 2 - Test namespace() method
- ok 3 - Sub closure value of __PACKAGE__
- ok 4 - The object isa RPC::XML::Method
- ok 5 - Test namespace() method (dotted namespace)
- ok 6 - Sub closure value of __PACKAGE__ (dotted namespace)
- ok 7 - Reading namespace-local value declared outside XPL
- ok
- t/40_server.t ...................
- 1..84
- ok 1 - $srv<1> isa RPC::XML::Server
- ok 2 - RPC::XML::Server::version method
- ok 3 - RPC::XML::Server::started method
- ok 4 - RPC::XML::Server::product_tokens method
- ok 5 - RPC::XML::Server::url method (empty)
- ok 6 - RPC::XML::Server::requests method (0)
- ok 7 - RPC::XML::Server::response method returns HTTP::Response
- ok 8 - Bad file did not result in method reference
- ok 9 - Correct error message
- ok 10 - Proper number of relative keys
- ok 11 - Fault codes adjustment yielded correct new codes
- ok 12 - User-supplied fault elements look OK
- ok 13 - Default URL for port-80 server
- ok 14 - Default URL for port-443 server
- ok 15 # skip No in-use port found for negative testing, skipped
- ok 16 # skip No in-use port found for negative testing, skipped
- ok 17 - $srv<2> isa RPC::XML::Server
- ok 18 - RPC::XML::Server::url method (set)
- ok 19 - add_method return value test
- ok 20 - get_method return value isa RPC::XML::Method
- ok 21 - get_method for non-existent method
- ok 22 - add_method() fails on bad data
- ok 23 - First live-request returned without timeout
- ok 24 - First live req: Check that $res is not an error
- ok 25 - First live req: parsed $res isa RPC::XML::response
- ok 26 - First live req: parsed $res is not a fault
- ok 27 - First live req: $res value test
- ok 28 - delete_method return value test
- ok 29 - Second live-request returned without timeout
- ok 30 - Second live req: Check that $res is not an error
- ok 31 - Second live req: parsed $res isa RPC::XML::response
- ok 32 - Second live req: parsed $res is a fault
- ok 33 - Second live request: correct faultString
- ok 34 - Third live-request returned without timeout
- ok 35 - Third live req: Check that $res is not an error
- ok 36 - Third live req: parsed $res isa RPC::XML::response
- ok 37 - Third live req: Correct IP addr from peerhost
- ok 38 - Third request: peeraddr packet matches converted peerhost
- ok 39 - Third request: pack_sockaddr_in validates all
- ok 40 - Fourth live-request returned without timeout
- ok 41 - Fourth live req: Check that $res is not an error
- ok 42 - Fourth live req: parsed $res isa RPC::XML::response
- ok 43 - Fourth request: Content type returned correctly
- ok 44 - Fourth live req: Correct value for request header X-Foobar
- ok 45 - RT29351 live-request returned without timeout
- ok 46 - RT29351 live req: $res is not an error
- ok 47 - RT29351 live req: parsed $res isa RPC::XML::response
- ok 48 - RT29351 live req: parsed $res is a fault
- ok 49 - RT29351 live request: correct faultString
- ok 50 - $srv<3> (with default methods) isa RPC::XML::Server
- ok 51 - Correct number of methods (defaults)
- ok 52 - system.listMethods response isa RPC::XML::response
- ok 53 - system.listMethods return list correct
- ok 54 - system.listMethods("method") return list correct
- ok 55 - system.listMethods("nomatch") return list correct
- ok 56 - system.identity test
- ok 57 - system.status hash has correct keys
- ok 58 - system.status reports correct total_requests
- ok 59 - system.status reports correct total_requests ("true" call)
- ok 60 - system.methodHelp("system.identity") test
- ok 61 - system.methodHelp("system.identity", "system.status") test
- ok 62 - system.methodHelp returned fault for unknown method
- ok 63 - system.methodHelp("system.bad") correct faultString
- ok 64 - system.methodSignature("system.methodHelp") test
- ok 65 - system.methodSignature returned fault for unknown method
- ok 66 - system.methodSignature("system.bad") correct faultString
- ok 67 - system.introspection passed with no errors
- ok 68 - system.multicall response elt [0] is correct
- ok 69 - system.multicall response elt [1][0] is correct
- ok 70 - system.multicall returned fault on attempt at recursion
- ok 71 - system.multicall recursion attempt set correct faultString
- ok 72 - system.multicall returned fault when passed a bad param array
- ok 73 - system.multicall bad param array set correct faultString
- ok 74 - system.multicall returned fault on bad input
- ok 75 - system.multicall bad input set correct faultString
- ok 76 - system.status, final request tally
- ok 77 - Arg-count testing of procedure types
- ok 78 - A function takes any argslist
- ok 79 - Bad params list test: Correct faultCode
- ok 80 - Bad params list test: Correct faultString
- ok 81 - Test die1: Correct faultCode
- ok 82 - Test die1: Correct faultString
- ok 83 - Test die2: Correct faultCode
- ok 84 - Test die2: Correct faultString
- ok
- t/40_server_xmllibxml.t .........
- 1..62
- ok 1 - $srv<1> isa RPC::XML::Server
- ok 2 - $srv<1> parser isa RPC::XML::Parser::XMLLibXML
- ok 3 - RPC::XML::Server::version method
- ok 4 - RPC::XML::Server::started method
- ok 5 - RPC::XML::Server::product_tokens method
- ok 6 - RPC::XML::Server::url method (empty)
- ok 7 - RPC::XML::Server::requests method (0)
- ok 8 - RPC::XML::Server::response method returns HTTP::Response
- ok 9 - $srv<2> isa RPC::XML::Server
- ok 10 - RPC::XML::Server::url method (set)
- ok 11 - add_method return value test
- ok 12 - get_method return value isa RPC::XML::Method
- ok 13 - get_method for non-existent method
- ok 14 - First live-request returned without timeout
- ok 15 - First live req: Check that $res is not an error
- ok 16 - First live req: parsed $res isa RPC::XML::response
- ok 17 - First live req: parsed $res is not a fault
- ok 18 - First live req: $res value test
- ok 19 - delete_method return value test
- ok 20 - Second live-request returned without timeout
- ok 21 - Second live req: Check that $res is not an error
- ok 22 - Second live req: parsed $res isa RPC::XML::response
- ok 23 - Second live req: parsed $res is a fault
- ok 24 - Second live request: correct faultString
- ok 25 - Third live-request returned without timeout
- ok 26 - Third live req: Check that $res is not an error
- ok 27 - Third live req: parsed $res isa RPC::XML::response
- ok 28 - Third live req: Correct IP addr from peerhost
- ok 29 - Third request: peeraddr packet matches converted peerhost
- ok 30 - Third request: pack_sockaddr_in validates all
- ok 31 - RT29351 live-request returned without timeout
- ok 32 - RT29351 live req: $res is not an error
- ok 33 - RT29351 live req: parsed $res isa RPC::XML::response
- ok 34 - RT29351 live req: parsed $res is a fault
- ok 35 - RT29351 live request: correct faultString
- ok 36 - $srv<3> (with default methods) isa RPC::XML::Server
- ok 37 - Correct number of methods (defaults)
- ok 38 - system.listMethods response isa RPC::XML::response
- ok 39 - system.listMethods return list correct
- ok 40 - system.listMethods("method") return list correct
- ok 41 - system.listMethods("nomatch") return list correct
- ok 42 - system.identity test
- ok 43 - system.status hash has correct keys
- ok 44 - system.status reports correct total_requests
- ok 45 - system.status reports correct total_requests ("true" call)
- ok 46 - system.methodHelp("system.identity") test
- ok 47 - system.methodHelp("system.identity", "system.status") test
- ok 48 - system.methodHelp returned fault for unknown method
- ok 49 - system.methodHelp("system.bad") correct faultString
- ok 50 - system.methodSignature("system.methodHelp") test
- ok 51 - system.methodSignature returned fault for unknown method
- ok 52 - system.methodSignature("system.bad") correct faultString
- ok 53 - system.introspection passed with no errors
- ok 54 - system.multicall response elt [0] is correct
- ok 55 - system.multicall response elt [1][0] is correct
- ok 56 - system.multicall returned fault on attempt at recursion
- ok 57 - system.multicall recursion attempt set correct faultString
- ok 58 - system.multicall returned fault when passed a bad param array
- ok 59 - system.multicall bad param array set correct faultString
- ok 60 - system.multicall returned fault on bad input
- ok 61 - system.multicall bad input set correct faultString
- ok 62 - system.status, final request tally
- ok
- t/41_server_hang.t ..............
- 1..2
- ok 1 - Server instance isa RPC::XML::Server
- ok 2 - Check if server hangs on short requests
- ok
- t/50_client.t ...................
- 1..33
- ok 1 - RPC::XML::Client::new without endpoint fails
- ok 2 - Correct error message set
- ok 3 - $cli isa RPC::XML::Client
- ok 4 - Calling a server method without a server sets $RPC::XML::ERROR
- ok 5 - send_request returns a non-ref value when there is no server
- ok 6 - Call to send_request without a method name fails
- ok 7 - Correct error message set
- ok 8 - Call to send_request with a bad method name fails
- ok 9 - Correct error message set
- ok 10 - error_handler callback system
- ok 11 - Clearing the error_handler callback system
- ok 12 - combined_handler set both error_handler and fault_handler
- ok 13 - combined_handler clears both error_handler and fault_handler
- ok 14 - Client timeout() method, fetching
- ok 15 - Client timeout() method, setting
- ok 16 - simple_request/system.identity returns correct value
- ok 17 - simple_request/system.identity left $RPC::XML::ERROR empty
- ok 18 - system.identity response isa RPC::XML::string
- ok 19 - system.identity response is correct
- ok 20 - simple_request/system.bad response isa HASH
- ok 21 - simple_request/system.bad hashref has correct keys
- ok 22 - simple_request/system.bad set correct faultString
- ok 23 - send_request/system.bad response isa RPC::XML::fault
- ok 24 - send_request/system.bad set correct string() property
- ok 25 - fault_handler correctly set $flag
- ok 26 - fault_handler returned value isa RPC::XML::fault
- ok 27 - fault_handler object has correct faultString
- ok 28 - RPC::XML::Client::uri method return value is correct
- ok 29 - RPC::XML::Client::uri changes as expected
- ok 30 - cmpImg return value isa RPC::XML::boolean
- ok 31 - cmpImg, file spooling, correct return
- ok 32 - cmpImg return value isa RPC::XML::boolean
- ok 33 - cmpImg, file spooling, correct return
- ok
- t/51_client_with_host_header.t ..
- 1..2
- 1..2
- ok 1 - Host: header not set
- ok 2 - Host: header set properly
- ok 1 - without_host_header
- 1..3
- ok 1 - Host: header not set
- ok 2 - Host: header set properly
- ok 3 - Host: header in clone is correct
- ok 2 - with_host_header
- ok
- t/60_net_server.t ...............
- 1..30
- ok 1 - The object isa RPC::XML::Server
- ok 2 - server started, PID file exists
- not ok 3 - system.identity matches $srv->product_tokens
- # Failed test 'system.identity matches $srv->product_tokens'
- # at t/60_net_server.t line 60.
- # got: undef
- # expected: 'RPC::XML::Server/1.68'
- not ok 4 - system.listMethods returned ARRAY ref
- # Failed test 'system.listMethods returned ARRAY ref'
- # at t/60_net_server.t line 68.
- # got: ''
- # expected: 'ARRAY'
- ok 5 # skip server response not an ARRAY reference
- ok 6 # skip server response not an ARRAY reference
- not ok 7 - system.listMethods returned ARRAY ref
- # Failed test 'system.listMethods returned ARRAY ref'
- # at t/60_net_server.t line 80.
- # got: ''
- # expected: 'ARRAY'
- ok 8 # skip server response not an ARRAY reference
- not ok 9 - system.listMethods returned ARRAY ref
- # Failed test 'system.listMethods returned ARRAY ref'
- # at t/60_net_server.t line 90.
- # got: ''
- # expected: 'ARRAY'
- ok 10 # skip server response not an ARRAY reference
- not ok 11 - system.listMethods returned HASH ref
- # Failed test 'system.listMethods returned HASH ref'
- # at t/60_net_server.t line 100.
- # got: ''
- # expected: 'HASH'
- ok 12 # skip server response not a HASH reference
- ok 13 # skip server response not a HASH reference
- not ok 14 - system.methodHelp returned correct string
- # Failed test 'system.methodHelp returned correct string'
- # at t/60_net_server.t line 110.
- # got: undef
- # expected: 'Return the server name and version as a string'
- not ok 15 - system.methodHelp returned ARRAY ref
- # Failed test 'system.methodHelp returned ARRAY ref'
- # at t/60_net_server.t line 116.
- # got: ''
- # expected: 'ARRAY'
- ok 16 # skip server response not an ARRAY reference
- not ok 17 - system.methodHelp (bad arg) response isa RPC::XML::fault
- # Failed test 'system.methodHelp (bad arg) response isa RPC::XML::fault'
- # at t/60_net_server.t line 127.
- # system.methodHelp (bad arg) response isn't a 'RPC::XML::fault' it's a ''
- ok 18 # skip server response not an RPC::XML data object
- not ok 19 - system.methodHelp returned ARRAY ref
- # Failed test 'system.methodHelp returned ARRAY ref'
- # at t/60_net_server.t line 136.
- # got: ''
- # expected: 'ARRAY'
- ok 20 # skip server response not an ARRAY reference
- not ok 21 - system.methodSignature (bad arg) response isa RPC::XML::fault
- # Failed test 'system.methodSignature (bad arg) response isa RPC::XML::fault'
- # at t/60_net_server.t line 146.
- # system.methodSignature (bad arg) response isn't a 'RPC::XML::fault' it's a ''
- ok 22 # skip server response not an RPC::XML data object
- ok 23 # skip system.introspection call did not return ARRAY ref
- not ok 24 - system.methodHelp returned ARRAY ref
- # Failed test 'system.methodHelp returned ARRAY ref'
- # at t/60_net_server.t line 193.
- # got: ''
- # expected: 'ARRAY'
- ok 25 # skip server response not an ARRAY reference
- ok 26 # skip server response not an ARRAY reference
- ok 27 # skip system.multicall (recursion) response error, cannot test
- ok 28 # skip system.multicall (bad data) response error, cannot test
- ok 29 # skip system.status response not HASH ref
- # Looks like you planned 30 tests but ran 29.
- # Looks like you failed 11 tests of 29 run.
- Dubious, test returned 11 (wstat 2816, 0xb00)
- Failed 12/30 subtests
- (less 16 skipped subtests: 2 okay)
- t/70_compression_detect.t .......
- 1..4
- ok 1 - RPC::XML::Client correctly saw no Compress::Zlib
- ok 2 - RPC::XML::Server correctly saw no Compress::Zlib
- ok 3 - RPC::XML::Client correctly detected Compress::Zlib
- ok 4 - RPC::XML::Server correctly detected Compress::Zlib
- ok
- t/90_rt50013_parser_bugs.t ......
- 1..2
- ok 1 - Parser object isa RPC::XML::Parser
- ok 2 - Parser object isa RPC::XML::Parser::XMLParser
- ok
- t/90_rt54183_sigpipe.t ..........
- 1..4
- ok 1 - Initial request alarmed-out correctly
- ok 2 - Second request did not alarm-out
- ok 3 - Second request correct value
- ok 4 - Good system.status return
- ok
- t/90_rt54494_blessed_refs.t .....
- 1..8
- ok 1 - $obj isa RPC::XML::struct
- ok 2 - Converted hash integer value
- ok 3 - Converted hash string value
- ok 4 - $obj isa RPC::XML::array
- ok 5 - Converted array integer value
- ok 6 - Converted array string value
- ok 7 - $obj isa RPC::XML::string
- ok 8 - Converted scalar value
- ok
- t/90_rt58065_allow_nil.t ........
- 1..8
- ok 1 - The object isa RPC::XML::request
- ok 2 - The object isa RPC::XML::nil
- ok 3 - The object isa RPC::XML::response
- ok 4 - The object isa RPC::XML::nil
- ok 5 - The object isa RPC::XML::request
- ok 6 - The object isa RPC::XML::nil
- ok 7 - The object isa RPC::XML::response
- ok 8 - The object isa RPC::XML::nil
- ok
- t/90_rt58323_push_parser.t ......
- 1..4
- ok 1 - RPC::XML::Parser::XMLParser null string
- ok 2 - RPC::XML::Parser::XMLParser zero value
- ok 3 - RPC::XML::Parser::XMLLibXML null string
- ok 4 - RPC::XML::Parser::XMLLibXML zero value
- ok
- Test Summary Report
- -------------------
- t/60_net_server.t (Wstat: 2816 Tests: 29 Failed: 11)
- Failed tests: 3-4, 7, 9, 11, 14-15, 17, 19, 21, 24
- Non-zero exit status: 11
- Parse errors: Bad plan. You planned 30 tests but ran 29.
- Files=25, Tests=1090, 52 wallclock secs ( 0.36 usr 0.06 sys + 9.01 cusr 1.01 csys = 10.44 CPU)
- Result: FAIL
- Failed 1/25 test programs. 11/1090 subtests failed.
- make: *** [test_dynamic] Error 255
- * ERROR: dev-perl/RPC-XML-0.760.0 failed (test phase):
- * emake failed
- *
- * If you need support, post the output of `emerge --info '=dev-perl/RPC-XML-0.760.0'`,
- * the complete build log and the output of `emerge -pqv '=dev-perl/RPC-XML-0.760.0'`.
- * The complete build log is located at '/var/log/portage/dev-perl:RPC-XML-0.760.0:20120731-160301.log'.
- * For convenience, a symlink to the build log is located at '/tmp/portage/dev-perl/RPC-XML-0.760.0/temp/build.log'.
- * The ebuild environment file is located at '/tmp/portage/dev-perl/RPC-XML-0.760.0/temp/environment'.
- * Working directory: '/tmp/portage/dev-perl/RPC-XML-0.760.0/work/RPC-XML-0.76'
- * S: '/tmp/portage/dev-perl/RPC-XML-0.760.0/work/RPC-XML-0.76'
- >>> Install RPC-XML-0.760.0 into /tmp/portage/dev-perl/RPC-XML-0.760.0/image/ category dev-perl
- make -j24 pure_install
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/Apache/RPC/status.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/Apache/RPC/Server.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/Apache/RPC/Status.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/ParserFactory.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/methodSignature.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/Client.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/listMethods.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/multicall.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/Server.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/identity.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/Parser.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/introspection.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/Procedure.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/methodHelp.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/status.xpl
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/Parser/XMLParser.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/lib64/perl5/vendor_perl/5.16.0/RPC/XML/Parser/XMLLibXML.pm
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/share/man/man1/make_method.1
- Installing /tmp/portage/dev-perl/RPC-XML-0.760.0/image/usr/bin/make_method
- >>> Completed installing RPC-XML-0.760.0 into /tmp/portage/dev-perl/RPC-XML-0.760.0/image/
- ecompressdir: bzip2 -9 /usr/share/man
- ecompressdir: bzip2 -9 /usr/share/doc
- * Apache2 or mod_perl2 were detected.
- *
- * NOTE FROM THE AUTHOR OF RPC-XML
- *
- * At present, this package does not work with Apache2 and the soon-to-be
- * mod_perl2. The changes to the API for location handlers are too drastic to
- * try and support both within the same class (I tried, using the compatibility
- * layer). Also, mp2 does not currently provide support for <Perl> sections, which
- * are the real strength of the Apache::RPC::Server class.