Esempio n. 1
0
 def test_unique_package_name(self):
     with self.android_binary(
             target_name='example',
             package_name='org.pantsbuild.example') as bin1:
         with self.android_binary(
                 target_name='hello',
                 package_name='org.pantsbuild.hello') as bin2:
             self.assertNotEqual(AaptBuilder.package_name(bin1),
                                 AaptBuilder.package_name(bin2))
Esempio n. 2
0
 def test_unique_package_name(self):
   with self.android_binary(target_name='example', package_name='org.pantsbuild.example') as bin1:
     with self.android_binary(target_name='hello', package_name='org.pantsbuild.hello') as bin2:
       self.assertNotEqual(AaptBuilder.package_name(bin1), AaptBuilder.package_name(bin2))
Esempio n. 3
0
 def test_creates_apk(self):
   with self.android_binary(target_name='example', package_name='org.pantsbuild.example') as apk:
     self.assertTrue(AaptBuilder.package_name(apk).endswith('.apk'))
Esempio n. 4
0
 def test_creates_apk(self):
     with self.android_binary(target_name='example',
                              package_name='org.pantsbuild.example') as apk:
         self.assertTrue(AaptBuilder.package_name(apk).endswith('.apk'))