[Po4a-commits] "po4a/t 27-xml.t,1.1,1.2"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Fri Feb 29 21:31:46 UTC 2008


Update of /cvsroot/po4a/po4a/t
In directory alioth:/tmp/cvs-serv9611/t

Modified Files:
	27-xml.t 
Log Message:
* t/data-27/comments.xml, t/data-27/comments.po,
  t/data-27/comments-normalized.xml, t/27-xml.t: Added unit test for
  the comments in the Xml module.
* MANIFEST: Distribute the new test data.


Index: 27-xml.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/27-xml.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 27-xml.t	31 Dec 2006 16:48:30 -0000	1.1
+++ 27-xml.t	29 Feb 2008 21:31:43 -0000	1.2
@@ -19,8 +19,14 @@
             "&& diff -u $diff_po_flags ../data-27/general-normalized.xml po4a-normalize.output",
   'doc' => 'normalisation test',
   };
+push @tests, {
+  'run' => 'perl ../../po4a-normalize -f guide ../data-27/comments.xml',
+  'test'=> "diff -u $diff_po_flags ../data-27/comments.po po4a-normalize.po".
+            "&& diff -u $diff_po_flags ../data-27/comments-normalized.xml po4a-normalize.output",
+  'doc' => 'normalisation test',
+  };
 
-use Test::More tests => 2;
+use Test::More tests => 4;
 
 chdir "t/tmp" || die "Can't chdir to my test directory";
 




More information about the Po4a-commits mailing list