import SOAP-WSDL 2.00_31 from CPAN
git-cpan-module: SOAP-WSDL git-cpan-version: 2.00_31 git-cpan-authorid: MKUTTER git-cpan-file: authors/id/M/MK/MKUTTER/SOAP-WSDL-2.00_31.tar.gz
This commit is contained in:
1 parent
874251225f
commit
f0b3bdc201
54 files changed
+1094
-450
No files matched your search
@@ -1,6 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 3;
|
||||
use Test::More tests => 5;
|
||||
use_ok qw(SOAP::WSDL::Expat::Base);
|
||||
|
||||
my $parser = SOAP::WSDL::Expat::Base->new();
|
||||
@@ -9,4 +9,13 @@ eval { $parser->parse('Foobar')};
|
||||
ok $@;
|
||||
|
||||
eval { $parser->parsefile('Foobar')};
|
||||
ok $@;
|
||||
ok $@;
|
||||
|
||||
|
||||
$parser = SOAP::WSDL::Expat::Base->new({
|
||||
user_agent => 'foo',
|
||||
});
|
||||
|
||||
is $parser->get_user_agent(), 'foo';
|
||||
$parser->set_user_agent('bar');
|
||||
is $parser->get_user_agent(), 'bar';
|
||||
Reference in new issue
Block a user