コード例 #1
0
ファイル: test_dx_compile.py プロジェクト: zhaohaobing/pants
 def test_is_dex_target(self):
     with self.android_library() as library:
         with self.android_binary() as binary:
             self.assertTrue(DxCompile.is_android_binary(binary))
             self.assertFalse(DxCompile.is_android_binary(library))
コード例 #2
0
ファイル: test_dx_compile.py プロジェクト: CaitieM20/pants
 def test_is_dex_target(self):
   with self.android_library() as library:
     with self.android_binary() as binary:
       self.assertTrue(DxCompile.is_android_binary(binary))
       self.assertFalse(DxCompile.is_android_binary(library))
コード例 #3
0
ファイル: test_dx_compile.py プロジェクト: zhaohaobing/pants
 def test_product_types(self):
     self.assertEqual(['dex'], DxCompile.product_types())
コード例 #4
0
ファイル: test_dx_compile.py プロジェクト: CaitieM20/pants
 def test_product_types(self):
   self.assertEqual(['dex'], DxCompile.product_types())