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))
def test_product_types(self): self.assertEqual(['dex'], DxCompile.product_types())