diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2011-02-07 18:44:25 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:53:55 -0300 |
commit | 9386dd0452eb72c0940f14756254c4e14ac76415 (patch) | |
tree | 2f231e8bf2c271e4fe3489b94ab483fc81e22053 | |
parent | 5d4af8f96b998af696cbf2a4518cc050f60f78b9 (diff) |
Updated translation test to use previous generated qm files.
Upload qm files used on test to git.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
-rw-r--r-- | tests/QtCore/translation_test.py | 8 | ||||
-rw-r--r-- | tests/QtCore/translations/trans_latin.qm | bin | 0 -> 125 bytes | |||
-rw-r--r-- | tests/QtCore/translations/trans_russian.qm | bin | 0 -> 114 bytes |
3 files changed, 0 insertions, 8 deletions
diff --git a/tests/QtCore/translation_test.py b/tests/QtCore/translation_test.py index 7b5c5d633..d357b90d2 100644 --- a/tests/QtCore/translation_test.py +++ b/tests/QtCore/translation_test.py @@ -16,14 +16,6 @@ class TranslationTest(UsesQCoreApplication): def setUp(self): super(TranslationTest, self).setUp() self.trdir = os.path.join(os.path.dirname(__file__), 'translations') - # os.system is probably not the best way to do it - for file in glob.glob('%s/*.ts' % self.trdir): - self.assertFalse(os.system('lrelease -silent %s' % file)) - - def tearDown(self): - for file in glob.glob('%s/*.qm' % self.trdir): - os.remove(file) - super(TranslationTest, self).tearDown() def testLatin(self): #Set string value to Latin diff --git a/tests/QtCore/translations/trans_latin.qm b/tests/QtCore/translations/trans_latin.qm Binary files differnew file mode 100644 index 000000000..efdbee8c7 --- /dev/null +++ b/tests/QtCore/translations/trans_latin.qm diff --git a/tests/QtCore/translations/trans_russian.qm b/tests/QtCore/translations/trans_russian.qm Binary files differnew file mode 100644 index 000000000..5f16552a7 --- /dev/null +++ b/tests/QtCore/translations/trans_russian.qm |