diff options
author | Shaun McCance <shaunm@gnome.org> | 2012-05-06 13:24:50 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2012-05-06 13:24:50 -0400 |
commit | 2c153716eaf5650077741a46ae4bc91365c08e02 (patch) | |
tree | 42ca07882f9d19c91a0d426d14a238fd60a9f491 /tests | |
parent | d67907f3269ab5bbebae9267ec43df023591c520 (diff) | |
download | itstool-2c153716eaf5650077741a46ae4bc91365c08e02.tar.gz |
Renamed itstool-specific tests to use IT- prefix
Diffstat (limited to 'tests')
-rw-r--r-- | tests/IT-attributes-1.ll.po (renamed from tests/Attributes1.ll.po) | 4 | ||||
-rw-r--r-- | tests/IT-attributes-1.ll.xml (renamed from tests/Attributes1.ll.xml) | 0 | ||||
-rw-r--r-- | tests/IT-attributes-1.pot (renamed from tests/Attributes1.pot) | 4 | ||||
-rw-r--r-- | tests/IT-attributes-1.xml (renamed from tests/Attributes1.xml) | 0 | ||||
-rw-r--r-- | tests/IT-context-1.ll.po (renamed from tests/Context.ll.po) | 0 | ||||
-rw-r--r-- | tests/IT-context-1.ll.xml (renamed from tests/Context.ll.xml) | 0 | ||||
-rw-r--r-- | tests/IT-context-1.pot (renamed from tests/Context.pot) | 10 | ||||
-rw-r--r-- | tests/IT-context-1.xml (renamed from tests/Context.xml) | 0 | ||||
-rw-r--r-- | tests/IT-dropRule-1.ll.po (renamed from tests/Droprule.ll.po) | 2 | ||||
-rw-r--r-- | tests/IT-dropRule-1.ll.xml (renamed from tests/Droprule.ll.xml) | 0 | ||||
-rw-r--r-- | tests/IT-dropRule-1.pot (renamed from tests/Droprule.pot) | 2 | ||||
-rw-r--r-- | tests/IT-dropRule-1.xml (renamed from tests/Droprule.xml) | 0 | ||||
-rw-r--r-- | tests/IT-malformed.xml (renamed from tests/Malformed.xml) | 0 | ||||
-rw-r--r-- | tests/IT-placeholder-1.ll.po (renamed from tests/Placeholder.ll.po) | 0 | ||||
-rw-r--r-- | tests/IT-placeholder-1.ll.xml (renamed from tests/Placeholder.ll.xml) | 0 | ||||
-rw-r--r-- | tests/IT-placeholder-1.pot (renamed from tests/Placeholder.pot) | 4 | ||||
-rw-r--r-- | tests/IT-placeholder-1.xml (renamed from tests/Placeholder.xml) | 0 | ||||
-rw-r--r-- | tests/run_tests.py | 20 |
18 files changed, 23 insertions, 23 deletions
diff --git a/tests/Attributes1.ll.po b/tests/IT-attributes-1.ll.po index ebde5ba..268b077 100644 --- a/tests/Attributes1.ll.po +++ b/tests/IT-attributes-1.ll.po @@ -9,11 +9,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: tests/Attributes1.xml:9(page/code@title) +#: tests/IT-attributes-1.xml:9(page/code@title) msgid "one" msgstr "eins" -#: tests/Attributes1.xml:9(code/span@title) +#: tests/IT-attributes-1.xml:9(code/span@title) msgid "two" msgstr "zwei" diff --git a/tests/Attributes1.ll.xml b/tests/IT-attributes-1.ll.xml index e256afc..e256afc 100644 --- a/tests/Attributes1.ll.xml +++ b/tests/IT-attributes-1.ll.xml diff --git a/tests/Attributes1.pot b/tests/IT-attributes-1.pot index 995d8f1..76b6c86 100644 --- a/tests/Attributes1.pot +++ b/tests/IT-attributes-1.pot @@ -10,12 +10,12 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. (itstool) path: page/code@title -#: tests/Attributes1.xml:9 +#: tests/IT-attributes-1.xml:9 msgid "one" msgstr "" #. (itstool) path: code/span@title -#: tests/Attributes1.xml:9 +#: tests/IT-attributes-1.xml:9 msgid "two" msgstr "" diff --git a/tests/Attributes1.xml b/tests/IT-attributes-1.xml index 3233132..3233132 100644 --- a/tests/Attributes1.xml +++ b/tests/IT-attributes-1.xml diff --git a/tests/Context.ll.po b/tests/IT-context-1.ll.po index 6ea88ff..6ea88ff 100644 --- a/tests/Context.ll.po +++ b/tests/IT-context-1.ll.po diff --git a/tests/Context.ll.xml b/tests/IT-context-1.ll.xml index 16e122c..16e122c 100644 --- a/tests/Context.ll.xml +++ b/tests/IT-context-1.ll.xml diff --git a/tests/Context.pot b/tests/IT-context-1.pot index 827dc58..23a98d6 100644 --- a/tests/Context.pot +++ b/tests/IT-context-1.pot @@ -10,30 +10,30 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. (itstool) path: info/title -#: tests/Context.xml:8 +#: tests/IT-context-1.xml:8 msgctxt "[[sort]]" msgid "Title" msgstr "" #. (itstool) path: info/title -#: tests/Context.xml:9 +#: tests/IT-context-1.xml:9 msgctxt "link" msgid "Link title" msgstr "" #. (itstool) path: info/title -#: tests/Context.xml:10 +#: tests/IT-context-1.xml:10 msgctxt "link:topic" msgid "Topic link title" msgstr "" #. (itstool) path: page/title -#: tests/Context.xml:12 +#: tests/IT-context-1.xml:12 msgid "Title" msgstr "" #. (itstool) path: page/p -#: tests/Context.xml:13 +#: tests/IT-context-1.xml:13 msgctxt "paragraph" msgid "Context is paragraph" msgstr "" diff --git a/tests/Context.xml b/tests/IT-context-1.xml index 390ebc8..390ebc8 100644 --- a/tests/Context.xml +++ b/tests/IT-context-1.xml diff --git a/tests/Droprule.ll.po b/tests/IT-dropRule-1.ll.po index eb41397..9a9d799 100644 --- a/tests/Droprule.ll.po +++ b/tests/IT-dropRule-1.ll.po @@ -9,7 +9,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: tests/Droprule.xml:8(content/p) +#: tests/IT-dropRule-1.xml:8(content/p) msgid "Everything started now." msgstr "Tout commença à l'instant." diff --git a/tests/Droprule.ll.xml b/tests/IT-dropRule-1.ll.xml index 49d3ac4..49d3ac4 100644 --- a/tests/Droprule.ll.xml +++ b/tests/IT-dropRule-1.ll.xml diff --git a/tests/Droprule.pot b/tests/IT-dropRule-1.pot index 84dba7f..a32685b 100644 --- a/tests/Droprule.pot +++ b/tests/IT-dropRule-1.pot @@ -10,7 +10,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. (itstool) path: content/p -#: tests/Droprule.xml:8 +#: tests/IT-dropRule-1.xml:8 msgid "Everything started now." msgstr "" diff --git a/tests/Droprule.xml b/tests/IT-dropRule-1.xml index 5255b96..5255b96 100644 --- a/tests/Droprule.xml +++ b/tests/IT-dropRule-1.xml diff --git a/tests/Malformed.xml b/tests/IT-malformed.xml index 1df11e5..1df11e5 100644 --- a/tests/Malformed.xml +++ b/tests/IT-malformed.xml diff --git a/tests/Placeholder.ll.po b/tests/IT-placeholder-1.ll.po index 43190bf..43190bf 100644 --- a/tests/Placeholder.ll.po +++ b/tests/IT-placeholder-1.ll.po diff --git a/tests/Placeholder.ll.xml b/tests/IT-placeholder-1.ll.xml index 986cd19..986cd19 100644 --- a/tests/Placeholder.ll.xml +++ b/tests/IT-placeholder-1.ll.xml diff --git a/tests/Placeholder.pot b/tests/IT-placeholder-1.pot index 8bc6774..7279d25 100644 --- a/tests/Placeholder.pot +++ b/tests/IT-placeholder-1.pot @@ -10,12 +10,12 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. (itstool) path: note/p -#: tests/Placeholder.xml:3 +#: tests/IT-placeholder-1.xml:3 msgid "This is a note." msgstr "" #. (itstool) path: body/p -#: tests/Placeholder.xml:3 +#: tests/IT-placeholder-1.xml:3 msgid "This is the first paragraph. It has a note on its final word<_:note-1/>." msgstr "" diff --git a/tests/Placeholder.xml b/tests/IT-placeholder-1.xml index d03fb77..d03fb77 100644 --- a/tests/Placeholder.xml +++ b/tests/IT-placeholder-1.xml diff --git a/tests/run_tests.py b/tests/run_tests.py index a81063a..e938b88 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -129,21 +129,21 @@ class ItstoolTests(unittest.TestCase): self._test_pot_generation('IT-locNote-multiples.xml') # **** custom itst rules **** - def test_Droprule(self): - self._test_translation_process('Droprule.xml') + def test_IT_dropRule_1(self): + self._test_translation_process('IT-dropRule-1.xml') - def test_Attributes1(self): - self._test_translation_process('Attributes1.xml') + def test_IT_attributes_1(self): + self._test_translation_process('IT-attributes-1.xml') - def test_Context(self): - self._test_translation_process('Context.xml') + def test_IT_context_1(self): + self._test_translation_process('IT-context-1.xml') - def test_Placeholder(self): - self._test_translation_process('Placeholder.xml') + def test_IT_placeholder_1(self): + self._test_translation_process('IT-placeholder-1.xml') - def test_Malformed(self): + def test_IT_malformed(self): """ Test that a malformed XML generates a proper exception """ - res = self._test_pot_generation('Malformed.xml', expected_status=1) + res = self._test_pot_generation('IT-malformed.xml', expected_status=1) #self.assertTrue("libxml2.parserError" in res['errors']) def test_Translate3_wrong1(self): |