Commit a37e0a50 authored by Michal Čihař's avatar Michal Čihař

Add test for android resources

parent 3eb77ba4
......@@ -102,6 +102,13 @@ class RepoTestCase(TestCase):
'iphone/*.lproj/Localizable.strings',
)
def create_android(self):
return self.create_subproject(
'aresource',
'android/values-*/strings.xml',
'android/values/strings.xml',
)
def create_java(self):
return self.create_subproject(
'properties',
......@@ -151,6 +158,11 @@ class SubProjectTest(RepoTestCase):
self.assertTrue(os.path.exists(project.get_path()))
self.assertEqual(project.translation_set.count(), 1)
def test_create_android(self):
project = self.create_android()
self.assertTrue(os.path.exists(project.get_path()))
self.assertEqual(project.translation_set.count(), 1)
def test_create_java(self):
project = self.create_java()
self.assertTrue(os.path.exists(project.get_path()))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment