summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtranslator/qtranslator.qrc
diff options
context:
space:
mode:
authorDavid Sansome <me@davidsansome.com>2010-03-24 09:11:11 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-03-24 10:27:09 (GMT)
commit423f1cf2c5bd505497400db1e732efad12361976 (patch)
treed30db9e405bb0c810d9cd0411468f1ea984a1443 /tests/auto/qtranslator/qtranslator.qrc
parent67ff95079522d79e45d64d579856c5c1cd3a69d9 (diff)
downloadQt-423f1cf2c5bd505497400db1e732efad12361976.zip
Qt-423f1cf2c5bd505497400db1e732efad12361976.tar.gz
Qt-423f1cf2c5bd505497400db1e732efad12361976.tar.bz2
Add unit tests for QTranslator.
Two new tests: * Check that translations can be loaded from resources * Check that nothing happens when trying to "load" a directory Merge-request: 531 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'tests/auto/qtranslator/qtranslator.qrc')
-rw-r--r--tests/auto/qtranslator/qtranslator.qrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qtranslator/qtranslator.qrc b/tests/auto/qtranslator/qtranslator.qrc
new file mode 100644
index 0000000..333dcfa
--- /dev/null
+++ b/tests/auto/qtranslator/qtranslator.qrc
@@ -0,0 +1,5 @@
+<RCC>
+ <qresource prefix="/tst_qtranslator">
+ <file>hellotr_la.qm</file>
+ </qresource>
+</RCC>