diff options
Diffstat (limited to 'tools/releasetools/test_check_partition_sizes.py')
| -rw-r--r-- | tools/releasetools/test_check_partition_sizes.py | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tools/releasetools/test_check_partition_sizes.py b/tools/releasetools/test_check_partition_sizes.py index 88cf60f6da..4e0add0a15 100644 --- a/tools/releasetools/test_check_partition_sizes.py +++ b/tools/releasetools/test_check_partition_sizes.py @@ -54,16 +54,6 @@ class CheckPartitionSizesTest(test_utils.ReleaseToolsTestCase): with self.assertRaises(RuntimeError): CheckPartitionSizes(self.info_dict) - def test_retrofit_dap(self): - self.info_dict.update(common.LoadDictionaryFromLines(""" - dynamic_partition_retrofit=true - super_block_devices=system vendor - super_system_device_size=75 - super_vendor_device_size=25 - super_partition_size=100 - """.split("\n"))) - CheckPartitionSizes(self.info_dict) - def test_ab_partition_too_big(self): self.info_dict.update(common.LoadDictionaryFromLines(""" system_image_size=100 @@ -83,33 +73,6 @@ class CheckPartitionSizesTest(test_utils.ReleaseToolsTestCase): with self.assertRaises(KeyError): CheckPartitionSizes(self.info_dict) - def test_block_devices_not_match(self): - self.info_dict.update(common.LoadDictionaryFromLines(""" - dynamic_partition_retrofit=true - super_block_devices=system vendor - super_system_device_size=80 - super_vendor_device_size=25 - super_partition_size=100 - """.split("\n"))) - with self.assertRaises(RuntimeError): - CheckPartitionSizes(self.info_dict) - - def test_retrofit_vab(self): - self.info_dict.update(common.LoadDictionaryFromLines(""" - virtual_ab=true - virtual_ab_retrofit=true - """.split("\n"))) - CheckPartitionSizes(self.info_dict) - - def test_retrofit_vab_too_big(self): - self.info_dict.update(common.LoadDictionaryFromLines(""" - virtual_ab=true - virtual_ab_retrofit=true - system_image_size=100 - """.split("\n"))) - with self.assertRaises(RuntimeError): - CheckPartitionSizes(self.info_dict) - def test_vab(self): self.info_dict.update(common.LoadDictionaryFromLines(""" virtual_ab=true |
