Subject: | XML::Compile::WSDL11 double initialization fails |
Date: | Sat, 11 Apr 2009 20:51:43 +0200 |
To: | bug-XML-Compile-SOAP [...] rt.cpan.org |
From: | Jozef Kutej <jozef [...] kutej.net> |
diff --git a/t/50wsdl.t b/t/50wsdl.t
index dcd4791..0490ba2 100644
--- a/t/50wsdl.t
+++ b/t/50wsdl.t
@@ -121,6 +121,7 @@ __STOCKQUOTESERVICE_WSDL
### BEGIN OF TESTS
###
+my $hmmm = XML::Compile::WSDL11->new($xml_service);
my $wsdl = XML::Compile::WSDL11->new($xml_service);
ok(defined $wsdl, "created object");
Makes the t/50wsdl.t fail with:
XML-Compile-SOAP-2.03$ prove -Ilib t/50wsdl.t
t/50wsdl....ok 1/34error: no definitions for `service' found
# Looks like you planned 34 tests but only ran 3.
# Looks like your test died just after 3.
t/50wsdl....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-34
Failed 31/34 tests, 8.82% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/50wsdl.t 255 65280 34 62 4-34
Failed 1/1 test scripts. 31/34 subtests failed.
Files=1, Tests=34, 1 wallclock secs ( 0.64 cusr + 0.04 csys = 0.68 CPU)
Failed 1/1 test programs. 31/34 subtests failed.
Same happens in my program when I pass two file names.
Regards,
Jozef