[Po4a-commits] "po4a/t 27-xml.t,1.2,1.3"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sun Mar 2 14:12:07 UTC 2008
Update of /cvsroot/po4a/po4a/t
In directory alioth:/tmp/cvs-serv21084/t
Modified Files:
27-xml.t
Log Message:
New test for the Xml module's options.
Index: 27-xml.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/27-xml.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 27-xml.t 29 Feb 2008 21:31:43 -0000 1.2
+++ 27-xml.t 2 Mar 2008 14:12:04 -0000 1.3
@@ -25,8 +25,14 @@
"&& diff -u $diff_po_flags ../data-27/comments-normalized.xml po4a-normalize.output",
'doc' => 'normalisation test',
};
+push @tests, {
+ 'run' => 'perl ../../po4a-normalize -f xml -o translated="w<translate1w> W<translate2W> <translate5> i<inline6> " -o untranslated="<untranslated4>" ../data-27/options.xml',
+ 'test'=> "diff -u $diff_po_flags ../data-27/options.po po4a-normalize.po".
+ "&& diff -u $diff_po_flags ../data-27/options-normalized.xml po4a-normalize.output",
+ 'doc' => 'normalisation test',
+ };
-use Test::More tests => 4;
+use Test::More tests => 6;
chdir "t/tmp" || die "Can't chdir to my test directory";
More information about the Po4a-commits
mailing list