summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-27 18:50:03 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-27 18:50:03 (GMT)
commitc2c31f30830a4e1e455a13321dd7bae6ac8b360f (patch)
tree8403e1619e1e41d61d7f61e272dec427cdc45f30 /tests
parentf93097671f512f38790ba2d56bd5b1e037810266 (diff)
parent6c50eb3cbd4857e830daa0cc043d834bdfa4bd06 (diff)
downloadQt-c2c31f30830a4e1e455a13321dd7bae6ac8b360f.zip
Qt-c2c31f30830a4e1e455a13321dd7bae6ac8b360f.tar.gz
Qt-c2c31f30830a4e1e455a13321dd7bae6ac8b360f.tar.bz2
Merge remote branch 'staging/4.6' into 4.6
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/linguist/lconvert/data/phrasebook.qph21
-rw-r--r--tests/auto/linguist/lconvert/tst_lconvert.cpp1
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/linguist/lconvert/data/phrasebook.qph b/tests/auto/linguist/lconvert/data/phrasebook.qph
new file mode 100644
index 0000000..847a53b
--- /dev/null
+++ b/tests/auto/linguist/lconvert/data/phrasebook.qph
@@ -0,0 +1,21 @@
+<!DOCTYPE QPH>
+<QPH language="de" sourcelanguage="en_US">
+<phrase>
+ <source>About</source>
+ <target>Info</target>
+</phrase>
+<phrase>
+ <source>adornment</source>
+ <target>Zubehör</target>
+</phrase>
+<phrase>
+ <source>barrel button</source>
+ <target>Pen-Knopf</target>
+ <definition>pen</definition>
+</phrase>
+<phrase>
+ <source>foo &amp; bar</source>
+ <target>Foo &amp; bar</target>
+ <definition>&lt;test&gt;übergroß</definition>
+</phrase>
+</QPH>
diff --git a/tests/auto/linguist/lconvert/tst_lconvert.cpp b/tests/auto/linguist/lconvert/tst_lconvert.cpp
index 10098a4..cf8f5c3 100644
--- a/tests/auto/linguist/lconvert/tst_lconvert.cpp
+++ b/tests/auto/linguist/lconvert/tst_lconvert.cpp
@@ -213,6 +213,7 @@ void tst_lconvert::readverifies_data()
QTest::newRow("relative locations") << "relative.ts" << "ts";
QTest::newRow("message ids") << "msgid.ts" << "ts";
QTest::newRow("length variants") << "variants.ts" << "ts";
+ QTest::newRow("qph") << "phrasebook.qph" << "qph";
}
void tst_lconvert::readverifies()