summaryrefslogtreecommitdiffstats
path: root/t/fmt-xml-dia.t
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
commit5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch)
tree63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt-xml-dia.t
parentInitial commit. (diff)
downloadpo4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz
po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/fmt-xml-dia.t')
-rw-r--r--t/fmt-xml-dia.t27
1 files changed, 27 insertions, 0 deletions
diff --git a/t/fmt-xml-dia.t b/t/fmt-xml-dia.t
new file mode 100644
index 0000000..a91507c
--- /dev/null
+++ b/t/fmt-xml-dia.t
@@ -0,0 +1,27 @@
+#! /usr/bin/perl
+# DIA module tester.
+
+#########################
+
+use strict;
+use warnings;
+
+use lib q(t);
+use Testhelper;
+
+my @tests;
+
+push @tests,
+ {
+ 'doc' => "Extract only the strings that we should",
+ 'format' => 'dia',
+ 'input' => 'fmt/xml-dia/basic.dia',
+ },
+ {
+ 'doc' => "test translations with extraneous newlines",
+ 'format' => 'dia',
+ 'input' => 'fmt/xml-dia/transl.dia',
+ };
+
+run_all_tests(@tests);
+0;