[libsoap-wsdl-perl] 02/08: add patch to use Test::XML instead of comparing XML strings

Damyan Ivanov dmn at moszumanska.debian.org
Wed Jan 15 09:50:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository libsoap-wsdl-perl.

commit a8462cbe39c16317f1eebfa3b3c82b2dd94a709f
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed Jan 15 09:12:51 2014 +0000

    add patch to use Test::XML instead of comparing XML strings
---
 debian/changelog                   |  1 +
 debian/patches/series              |  1 +
 debian/patches/use-Test::XML.patch | 17 +++++++++++++++++
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b8d69c5..2b5b8fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ libsoap-wsdl-perl (2.00.10-2) UNRELEASED; urgency=low
   * add patch fixing class loading in _factory()
     adds additional dependency on libclass-load-perl
   * add patch fixing reversing of namespace hashes
+  * add patch to use Test::XML instead of comparing XML strings
 
  -- Ansgar Burchardt <ansgar at debian.org>  Wed, 27 Jul 2011 18:47:44 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index dcf473e..08b5a68 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ pod-spelling.patch
 lvalue-modification-5.18.patch
 isa_UNIVERSAL.patch
 003_wsdl_based_serializer.t.patch
+use-Test::XML.patch
diff --git a/debian/patches/use-Test::XML.patch b/debian/patches/use-Test::XML.patch
new file mode 100644
index 0000000..7fd14fb
--- /dev/null
+++ b/debian/patches/use-Test::XML.patch
@@ -0,0 +1,17 @@
+--- a/t/SOAP/WSDL/05_simpleType-list.t
++++ b/t/SOAP/WSDL/05_simpleType-list.t
+@@ -1,4 +1,5 @@
+ use Test::More tests => 8;
++use Test::XML;
+ use strict;
+ use lib '../lib';
+ use lib 't/lib';
+@@ -36,7 +37,7 @@ ok $xml = $soap->call('test', testAll =>
+ #5
+ ok ( $xml2 = $soap->call('test', testAll => "1 2" ) , 'Serialized scalar call' );
+ #6
+-ok( $xml eq $xml2, 'Got expected result');
++is_xml( $xml, $xml2, 'Got expected result');
+ 
+ #7	
+ TODO: {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsoap-wsdl-perl.git



More information about the Pkg-perl-cvs-commits mailing list