r48422 - in /branches/upstream/librpc-xml-perl/current: ./ lib/RPC/ t/ xt/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Dec 8 05:52:59 UTC 2009


Author: jawnsy-guest
Date: Tue Dec  8 05:52:23 2009
New Revision: 48422

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=48422
Log:
[svn-upgrade] Integrating new upstream version, librpc-xml-perl (0.71)

Added:
    branches/upstream/librpc-xml-perl/current/t/28_parser_bugs_50013.t
    branches/upstream/librpc-xml-perl/current/xt/
    branches/upstream/librpc-xml-perl/current/xt/01_pod.t
    branches/upstream/librpc-xml-perl/current/xt/02_pod_coverage.t
    branches/upstream/librpc-xml-perl/current/xt/03_meta.t
    branches/upstream/librpc-xml-perl/current/xt/04_minimumversion.t
    branches/upstream/librpc-xml-perl/current/xt/05_critic.t
Removed:
    branches/upstream/librpc-xml-perl/current/t/01_pod.t
    branches/upstream/librpc-xml-perl/current/t/02_pod_coverage.t
Modified:
    branches/upstream/librpc-xml-perl/current/ChangeLog
    branches/upstream/librpc-xml-perl/current/ChangeLog.xml
    branches/upstream/librpc-xml-perl/current/MANIFEST
    branches/upstream/librpc-xml-perl/current/META.yml
    branches/upstream/librpc-xml-perl/current/Makefile.PL
    branches/upstream/librpc-xml-perl/current/README
    branches/upstream/librpc-xml-perl/current/SIGNATURE
    branches/upstream/librpc-xml-perl/current/lib/RPC/XML.pm

Modified: branches/upstream/librpc-xml-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/ChangeLog?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/ChangeLog (original)
+++ branches/upstream/librpc-xml-perl/current/ChangeLog Tue Dec  8 05:52:23 2009
@@ -8,6 +8,33 @@
 		protocol in terms of supporting HTTP/1.1 and    
 		allowing choice of character-set encodings for  
 		XML messages.                                   
+
+0.71	Monday December  7, 2009, 08:00:00 PM -0700
+
+	* MANIFEST
+	* t/01_pod.t (deleted)
+	* t/02_pod_coverage.t (deleted)
+	* t/03_meta.t (deleted)
+	* t/04_minimumversion.t (deleted)
+	* t/05_critic.t (deleted)
+	* xt/01_pod.t (added)
+	* xt/02_pod_coverage.t (added)
+	* xt/03_meta.t (added)
+	* xt/04_minimumversion.t (added)
+	* xt/05_critic.t (added)
+	Moved author-only tests to xt/, updated MANIFEST.               
+
+	* MANIFEST
+	Add test suite 28_parser_bugs_50013.t, which was omitted from   
+	last release.                                                   
+
+	* xt/01_pod.t
+	* xt/02_pod_coverage.t
+	* xt/03_meta.t
+	* xt/04_minimumversion.t
+	* xt/05_critic.t
+	Re-engineered the author-only/release tests, since they're no   
+	longer in the t/ directory and thus should not interfere.       
 
 0.70	Sunday December  6, 2009, 10:00:00 PM -0700
 
@@ -1297,7 +1324,7 @@
 	* *
 	All files are tracked from this point forward.                  
 
-# Generated on Sunday December  6, 2009, 10:00:42 PM -0800
+# Generated on Monday December  7, 2009, 07:59:45 PM -0800
 # Using changelog2x/0.11, App::Changelog2x/0.11, XML::LibXML/1.70,             
 # XML::LibXSLT/1.70, libxml/2.6.32, libxslt/1.1.24 (with exslt)                
 # XSLT sources:

Modified: branches/upstream/librpc-xml-perl/current/ChangeLog.xml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/ChangeLog.xml?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/ChangeLog.xml (original)
+++ branches/upstream/librpc-xml-perl/current/ChangeLog.xml Tue Dec  8 05:52:23 2009
@@ -15,6 +15,46 @@
     extensions to the base protocol in terms of supporting HTTP/1.1 and
     allowing choice of character-set encodings for XML messages.
   </description>
+  <release date="2009-12-07T20:00:00-07:00" version="0.71" sc:tag="0.71">
+    <change git:commit="8cc9534a7da336de8c646ff1bc473ce531f43cd6">
+      <fileset>
+        <file path="MANIFEST" />
+        <file path="t/01_pod.t" action="DELETE" />
+        <file path="t/02_pod_coverage.t" action="DELETE" />
+        <file path="t/03_meta.t" action="DELETE" />
+        <file path="t/04_minimumversion.t" action="DELETE" />
+        <file path="t/05_critic.t" action="DELETE" />
+        <file path="xt/01_pod.t" action="ADD" />
+        <file path="xt/02_pod_coverage.t" action="ADD" />
+        <file path="xt/03_meta.t" action="ADD" />
+        <file path="xt/04_minimumversion.t" action="ADD" />
+        <file path="xt/05_critic.t" action="ADD" />
+      </fileset>
+      <description>
+        Moved author-only tests to xt/, updated MANIFEST.
+      </description>
+    </change>
+    <change git:commit="eb38e38dafe8491185a8638f4842fa419022b5c4">
+      <file path="MANIFEST" />
+      <description>
+        Add test suite 28_parser_bugs_50013.t, which was omitted from last
+        release.
+      </description>
+    </change>
+    <change git:commit="9d273720c0163349c9822a1f79b676d8227bdd7c">
+      <fileset>
+        <file path="xt/01_pod.t" />
+        <file path="xt/02_pod_coverage.t" />
+        <file path="xt/03_meta.t" />
+        <file path="xt/04_minimumversion.t" />
+        <file path="xt/05_critic.t" />
+      </fileset>
+      <description>
+        Re-engineered the author-only/release tests, since they're no longer in
+        the t/ directory and thus should not interfere.
+      </description>
+    </change>
+  </release>
   <release date="2009-12-06T22:00:00-07:00" version="0.70" sc:tag="0.70">
     <change git:commit="8e62c642a888608cf60fc190abcb60a49c061d73">
       <fileset>

Modified: branches/upstream/librpc-xml-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/MANIFEST?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/MANIFEST (original)
+++ branches/upstream/librpc-xml-perl/current/MANIFEST Tue Dec  8 05:52:23 2009
@@ -51,14 +51,13 @@
 methods/status.code
 methods/status.help
 t/00_load.t                    # Test suites
-t/01_pod.t
-t/02_pod_coverage.t
 t/10_data.t
 t/11_base64_fh.t
 t/12_nil.t
 t/15_serialize.t
 t/20_xml_parser.t
 t/21_xml_libxml.t
+t/28_parser_bugs_50013.t
 t/29_parserfactory.t
 t/30_method.t
 t/35_namespaces.t
@@ -76,5 +75,10 @@
 t/namespace3.xpl
 t/svsm_text.gif
 t/util.pl
+xt/01_pod.t
+xt/02_pod_coverage.t
+xt/03_meta.t
+xt/04_minimumversion.t
+xt/05_critic.t
 META.yml                                 Module meta-data (added by MakeMaker)
 SIGNATURE                                Public-key signature (added by MakeMaker)

Modified: branches/upstream/librpc-xml-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/META.yml?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/META.yml (original)
+++ branches/upstream/librpc-xml-perl/current/META.yml Tue Dec  8 05:52:23 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               RPC-XML
-version:            0.70
+version:            0.71
 abstract:           Data, client and server classes for XML-RPC
 author:
     - Randy J. Ray

Modified: branches/upstream/librpc-xml-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/Makefile.PL?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/Makefile.PL (original)
+++ branches/upstream/librpc-xml-perl/current/Makefile.PL Tue Dec  8 05:52:23 2009
@@ -68,7 +68,7 @@
 
 WriteMakefile(
     NAME      => 'RPC::XML',
-    VERSION   => '0.70',
+    VERSION   => '0.71',
     AUTHOR    => 'Randy J. Ray',
     ABSTRACT  => 'Data, client and server classes for XML-RPC',
     EXE_FILES => \@scripts,

Modified: branches/upstream/librpc-xml-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/README?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/README (original)
+++ branches/upstream/librpc-xml-perl/current/README Tue Dec  8 05:52:23 2009
@@ -1,6 +1,6 @@
 RPC::XML - An implementation of XML-RPC
 
-Version: 0.70
+Version: 0.71
 
 WHAT IS IT
 
@@ -66,47 +66,27 @@
 
 CHANGES
 
-* lib/RPC/XML.pm
-* t/10_data.t
-RT #49406: Make Base64 data-type allow zero-length data.
+* MANIFEST
+* t/01_pod.t (deleted)
+* t/02_pod_coverage.t (deleted)
+* t/03_meta.t (deleted)
+* t/04_minimumversion.t (deleted)
+* t/05_critic.t (deleted)
+* xt/01_pod.t (added)
+* xt/02_pod_coverage.t (added)
+* xt/03_meta.t (added)
+* xt/04_minimumversion.t (added)
+* xt/05_critic.t (added)
+Moved author-only tests to xt/, updated MANIFEST.
 
-* lib/RPC/XML.pm
-* t/10_data.t
-Hand-applied a patch (most likely from Bill Moseley) to extend
-the construction of dateTime.iso8601 data-types.
+* MANIFEST
+Add test suite 28_parser_bugs_50013.t, which was omitted from
+last release.
 
-* t/40_server.t
-Fixed another corner-case for the url() test.
-
-* lib/RPC/XML.pm
-Fixed a case from previous work that caused "undef" warnings.
-
-* lib/RPC/XML.pm
-* lib/RPC/XML/Parser.pm
-* t/28_parser_bugs_50013.t
-RT #50013: Restore backwards-compatibility for projects that
-use RPC::XML::Parser directly.
-
-* lib/RPC/XML/Procedure.pm
-RT #50143: Incorrectly called server_fault() as if it were a
-coderef.
-
-* lib/Apache/RPC/Server.pm
-Applied patch from Frank Wiegand to fix a POD problem.
-
-* lib/RPC/XML.pm
-Some additional regexp issues on dateTime.iso8601, to handle
-backwards-compatibility.
-
-* lib/RPC/XML/ParserFactory.pm
-Fixed some minor doc errors.
-
-* lib/RPC/XML/Parser/XMLParser.pm
-Moved the 'require' of some libraries to the point where they
-are first needed, to delay loading until/unless necessary.
-
-* lib/RPC/XML/Parser/XMLLibXML.pm (added)
-* t/21_xml_libxml.t (added)
-* t/29_parserfactory.t
-* t/40_server_xmllibxml.t (added)
-Implement support for XML::LibXML in the parser-factory.
+* xt/01_pod.t
+* xt/02_pod_coverage.t
+* xt/03_meta.t
+* xt/04_minimumversion.t
+* xt/05_critic.t
+Re-engineered the author-only/release tests, since they're no
+longer in the t/ directory and thus should not interfere.

Modified: branches/upstream/librpc-xml-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/SIGNATURE?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/SIGNATURE (original)
+++ branches/upstream/librpc-xml-perl/current/SIGNATURE Tue Dec  8 05:52:23 2009
@@ -14,12 +14,12 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 fb145d741ab0ad6ee6fcbc8e72bd71e63290771f ChangeLog
-SHA1 4f4a59aa2fa2ba478a5968db1051db1eb74cb3c5 ChangeLog.xml
-SHA1 5df8b9467557dac9cecb22abfdbe50608bfe9a99 MANIFEST
-SHA1 24fa0ff648e59946077a0bfb62ffc5a4342a1eb4 META.yml
-SHA1 c3986c430caccce77f7291587f784600166cfaed Makefile.PL
-SHA1 e70cc417a5b6b00c9eb7ecc19e88819bef0c50c9 README
+SHA1 26b7dbcfa48b2a02db8ad18a081de35a18c6a287 ChangeLog
+SHA1 6494ed15f54701eb1eb74c3111286cbc1a3c5f82 ChangeLog.xml
+SHA1 44dfa563fecc6bfd8846d9d801d06df7afa10682 MANIFEST
+SHA1 440700b0523cffd47e5397afd0d30a2168a0860d META.yml
+SHA1 5d08a5dcef59ecfe1c1bc70d1597a5529b7ada87 Makefile.PL
+SHA1 0ff743e294642474df4b0e03ae1e308069bfe6c6 README
 SHA1 d210d832fa02c0f0b79d7c5c65c4a72c3315e230 README.apache2
 SHA1 297a1d067f33ef14b98256fc306f387814de0e42 etc/make_method
 SHA1 e6a42047da332c81c196ce8f043977d25ccfde8e etc/rpc-method.dtd
@@ -36,7 +36,7 @@
 SHA1 644075447f174b9c5704aece6c8a11988a6feb33 lib/Apache/RPC/status.base
 SHA1 d87580bfe927be390284fd2f3712ba2b5f4173b2 lib/Apache/RPC/status.code
 SHA1 9ef9b17398ef8bd90a84d6b64b7721a9ed7717af lib/Apache/RPC/status.help
-SHA1 59b869ac4bb847badab1ba034513a4e610f4b245 lib/RPC/XML.pm
+SHA1 cbcc97c25a1abba16ce56c2325b60c71a69cd80d lib/RPC/XML.pm
 SHA1 18ea1c3cc6781cc149ff2b17ffd0b76db5fc1ab7 lib/RPC/XML/Client.pm
 SHA1 944bd25dcb7c8658dfccda84fd1187046c37725c lib/RPC/XML/Function.pm
 SHA1 fb93e4321072b6ee6af1698d10428f0f606ceee2 lib/RPC/XML/Method.pm
@@ -68,14 +68,13 @@
 SHA1 7c1cd809453dbe35446672c1aedac5243e5d344e methods/status.code
 SHA1 2a0e71934ae43a0c53565eb899c1e9ab06a754c9 methods/status.help
 SHA1 333d72d0e7b8fd6d982181223866353429fe3fcf t/00_load.t
-SHA1 9f09733cd3cb1f3bd151637039e62fd4dcd8e844 t/01_pod.t
-SHA1 9b37e5a8f0cb04269d19c88af47e31dda9156bb9 t/02_pod_coverage.t
 SHA1 7f267125c5fe24474b192d0cb78be46a1b7b7233 t/10_data.t
 SHA1 8a72f8c5766105c353a87db6616246b98bb9c729 t/11_base64_fh.t
 SHA1 5fef37213eea6345dd528e2a007e94d4cf2292bc t/12_nil.t
 SHA1 0b7f4e29a3b50bd61543434e9ee7cb540dfc0779 t/15_serialize.t
 SHA1 f25a98d7c500e5f1b8638e48775b618a2467ec0e t/20_xml_parser.t
 SHA1 0441fa061e294b8ab0dbdaf06d8632a3fa014089 t/21_xml_libxml.t
+SHA1 c44cf8cca7ca4b0823f4bbba33435b364bca9673 t/28_parser_bugs_50013.t
 SHA1 af11f25e21569be6f2c38bd9bdd79e5019eb9ca5 t/29_parserfactory.t
 SHA1 98122d9c4adcaf2989510864bf0ee7a91c3d7305 t/30_method.t
 SHA1 7e25a7f372fe7142cb98ca949f78885e89d55ffe t/35_namespaces.t
@@ -93,10 +92,15 @@
 SHA1 f50c01dd06bfa60f0c2bc12143afb35af09fcdad t/namespace3.xpl
 SHA1 8ef631d58ca4a1386dfc0218fd71667260f974ad t/svsm_text.gif
 SHA1 c8ea8ddf621b6231a3693b79fc28288200ab8b8a t/util.pl
+SHA1 98c3071597c93d25c050f4a4fcb49ef1d5189d9f xt/01_pod.t
+SHA1 d9f203f396d164b57ac9148086b4c4f89a72a095 xt/02_pod_coverage.t
+SHA1 b694fe5b198b927055a26d84f55040b92ed6404e xt/03_meta.t
+SHA1 909c27aceb157aee68b6468f9c28985c6a5bcb04 xt/04_minimumversion.t
+SHA1 95384e1ac89e1505af671b7016ca6a837cc124da xt/05_critic.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
-iEYEARECAAYFAkscoQIACgkQ3Cp33jjp81UyFQCcDnCQt4/jajrbgAWrDLr7m6gs
-1DIAnjpXJ8FgwL1cjMu2XCRTPwSmCBEj
-=Tswk
+iEYEARECAAYFAksd0TUACgkQ3Cp33jjp81UDiwCeMzow7oJz+nkDbAhsuRTny800
+O/cAn38qD7hfEFfoHKsi9PLDUjbwg7gn
+=0tUV
 -----END PGP SIGNATURE-----

Modified: branches/upstream/librpc-xml-perl/current/lib/RPC/XML.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/lib/RPC/XML.pm?rev=48422&op=diff
==============================================================================
--- branches/upstream/librpc-xml-perl/current/lib/RPC/XML.pm (original)
+++ branches/upstream/librpc-xml-perl/current/lib/RPC/XML.pm Tue Dec  8 05:52:23 2009
@@ -64,7 +64,7 @@
                               RPC_DATETIME_ISO8601 RPC_BASE64 RPC_NIL) ],
                 all   => [ @EXPORT_OK ]);
 
-$VERSION = '1.45';
+$VERSION = '1.46';
 $VERSION = eval $VERSION; ## no critic
 
 # Global error string

Added: branches/upstream/librpc-xml-perl/current/t/28_parser_bugs_50013.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/t/28_parser_bugs_50013.t?rev=48422&op=file
==============================================================================
--- branches/upstream/librpc-xml-perl/current/t/28_parser_bugs_50013.t (added)
+++ branches/upstream/librpc-xml-perl/current/t/28_parser_bugs_50013.t Tue Dec  8 05:52:23 2009
@@ -1,0 +1,20 @@
+#!/usr/bin/perl
+
+# https://rt.cpan.org/Ticket/Display.html?id=50013
+#
+# Ensure that RPC::XML::Parser::new() maintains backwards-compatibility
+
+use strict;
+use vars qw($parser);
+
+use Test::More tests => 2;
+
+use RPC::XML::Parser;
+
+# Since the changed behaviour was to die, to be safe use eval here
+eval { $parser = RPC::XML::Parser->new(); };
+
+isa_ok($parser, 'RPC::XML::Parser', 'Parser object');
+isa_ok($parser, 'RPC::XML::Parser::XMLParser', 'Parser object');
+
+exit;

Added: branches/upstream/librpc-xml-perl/current/xt/01_pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/xt/01_pod.t?rev=48422&op=file
==============================================================================
--- branches/upstream/librpc-xml-perl/current/xt/01_pod.t (added)
+++ branches/upstream/librpc-xml-perl/current/xt/01_pod.t Tue Dec  8 05:52:23 2009
@@ -1,0 +1,20 @@
+#!/usr/bin/perl
+
+# Test that the syntax of our POD documentation is valid
+use strict;
+BEGIN {
+	$|  = 1;
+	$^W = 1;
+}
+
+use Test::More;
+use Pod::Simple 3.07;
+use Test::Pod 1.26;
+
+# Don't run tests during end-user installs
+plan skip_all => "Author tests not required for installation"
+    unless ($ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING});
+
+all_pod_files_ok();
+
+exit;

Added: branches/upstream/librpc-xml-perl/current/xt/02_pod_coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/xt/02_pod_coverage.t?rev=48422&op=file
==============================================================================
--- branches/upstream/librpc-xml-perl/current/xt/02_pod_coverage.t (added)
+++ branches/upstream/librpc-xml-perl/current/xt/02_pod_coverage.t Tue Dec  8 05:52:23 2009
@@ -1,0 +1,39 @@
+#!/usr/bin/perl
+
+use Test::More;
+use Test::Pod::Coverage;
+
+plan skip_all => "Author tests not required for installation"
+    unless ($ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING});
+
+plan tests => 12;
+
+pod_coverage_ok('Apache::RPC::Server' => { also_private => [ 'debug' ] } =>
+                'Apache::RPC::Server');
+pod_coverage_ok('Apache::RPC::Status' => 'Apache::RPC::Status');
+pod_coverage_ok('RPC::XML' =>
+                { also_private => [ qr/^RPC_/, 'utf8_downgrade' ] },
+                'RPC::XML');
+pod_coverage_ok('RPC::XML::Client' => { also_private => [ qr/^compress/ ] } =>
+                'RPC::XML::Client');
+pod_coverage_ok('RPC::XML::Function' =>
+                { also_private => [ qw(make_sig_table) ] } =>
+                'RPC::XML::Function');
+pod_coverage_ok('RPC::XML::Method' => 'RPC::XML::Method');
+pod_coverage_ok('RPC::XML::ParserFactory' => 'RPC::XML::ParserFactory');
+pod_coverage_ok('RPC::XML::Parser' => 'RPC::XML::Parser');
+pod_coverage_ok('RPC::XML::Parser::XMLParser' =>
+                { also_private =>
+                  [ qr/^(tag|message)_/,
+                    qw(char_data error extern_ent final stack_error) ] } =>
+                'RPC::XML::Parser::XMLParser');
+pod_coverage_ok('RPC::XML::Parser::XMLLibXML' =>
+                { also_private => [ qr/^dom_/ ] } =>
+                'RPC::XML::Parser::XMLLibXML');
+pod_coverage_ok('RPC::XML::Procedure' =>
+                { also_private => [ qw(load_XPL_file make_sig_table) ] } =>
+                'RPC::XML::Procedure');
+pod_coverage_ok('RPC::XML::Server' => { also_private => [ 'compress_re' ] } =>
+                'RPC::XML::Server');
+
+exit;

Added: branches/upstream/librpc-xml-perl/current/xt/03_meta.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/xt/03_meta.t?rev=48422&op=file
==============================================================================
--- branches/upstream/librpc-xml-perl/current/xt/03_meta.t (added)
+++ branches/upstream/librpc-xml-perl/current/xt/03_meta.t Tue Dec  8 05:52:23 2009
@@ -1,0 +1,20 @@
+#!/usr/bin/perl
+
+# Test that our META.yml file matches the specification
+use strict;
+BEGIN {
+	$|  = 1;
+	$^W = 1;
+}
+
+use Test::CPAN::Meta 0.12;
+use Test::More;
+
+# Don't run tests during end-user installs
+plan skip_all => "Author tests not required for installation"
+    unless ($ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING});
+plan skip_all => "No META.yml file found" unless (-f 'META.yml');
+
+meta_yaml_ok();
+
+exit;

Added: branches/upstream/librpc-xml-perl/current/xt/04_minimumversion.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/xt/04_minimumversion.t?rev=48422&op=file
==============================================================================
--- branches/upstream/librpc-xml-perl/current/xt/04_minimumversion.t (added)
+++ branches/upstream/librpc-xml-perl/current/xt/04_minimumversion.t Tue Dec  8 05:52:23 2009
@@ -1,0 +1,20 @@
+#!/usr/bin/perl
+
+# Test that our declared minimum Perl version matches our syntax
+use strict;
+BEGIN {
+	$|  = 1;
+	$^W = 1;
+}
+
+use Perl::MinimumVersion 1.20;
+use Test::MinimumVersion 0.008;
+use Test::More;
+
+# Don't run tests during end-user installs
+plan skip_all => "Author tests not required for installation"
+    unless ($ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING});
+
+all_minimum_version_from_metayml_ok();
+
+exit;

Added: branches/upstream/librpc-xml-perl/current/xt/05_critic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/librpc-xml-perl/current/xt/05_critic.t?rev=48422&op=file
==============================================================================
--- branches/upstream/librpc-xml-perl/current/xt/05_critic.t (added)
+++ branches/upstream/librpc-xml-perl/current/xt/05_critic.t Tue Dec  8 05:52:23 2009
@@ -1,0 +1,21 @@
+#!/usr/bin/perl
+
+# Test that the module passes perlcritic
+use strict;
+BEGIN {
+	$|  = 1;
+	$^W = 1;
+}
+
+use Perl::Critic 1.098;
+use Test::Perl::Critic 1.01;
+use Test::More;
+
+# Don't run tests during end-user installs
+plan skip_all => "Author tests not required for installation"
+    unless ($ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING});
+
+
+all_critic_ok();
+
+exit;




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