Lines Matching refs:assertEqual

173     self.assertEqual('product-device', target_info.device)
174 self.assertEqual('build-fingerprint', target_info.fingerprint)
181 self.assertEqual('device1', target_info.device)
182 self.assertEqual('brand1/product-name/device1:build-thumbprint',
190 self.assertEqual('device3', target_info.device)
191 self.assertEqual('brand3/product-name/device3:build-thumbprint',
206 self.assertEqual('value1', target_info['property1'])
207 self.assertEqual(4096, target_info['property2'])
208 self.assertEqual('build-foo',
214 self.assertEqual('value1', target_info['property1'])
215 self.assertEqual(4096, target_info['property2'])
220 self.assertEqual('value1', target_info['property1'])
222 self.assertEqual('value2', target_info['property1'])
224 self.assertEqual('build-foo',
227 self.assertEqual('build-bar',
232 self.assertEqual('value1', target_info.get('property1'))
233 self.assertEqual(4096, target_info.get('property2'))
234 self.assertEqual(4096, target_info.get('property2', 1024))
235 self.assertEqual(1024, target_info.get('property-nonexistent', 1024))
236 self.assertEqual('build-foo',
242 self.assertEqual('value1', target_info.get('property1'))
243 self.assertEqual(4096, target_info.get('property2'))
244 self.assertEqual(4096, target_info.get('property2', 1024))
245 self.assertEqual(1024, target_info.get('property-nonexistent', 1024))
256 self.assertEqual('build-foo', target_info.GetBuildProp('ro.build.foo'))
263 self.assertEqual('build-bar', target_info.GetBuildProp('ro.build.bar'))
269 self.assertEqual(
277 self.assertEqual(
286 self.assertEqual(
295 self.assertEqual([('Mount', '/oem', None)], script_writer.lines)
301 self.assertEqual([('AssertDevice', 'product-device')], script_writer.lines)
308 self.assertEqual(
320 self.assertEqual('vendor-product-device',
327 self.assertEqual('system-product-device',
343 self.assertEqual('vendor-product-device',
350 self.assertEqual('product-device',
362 self.assertEqual(int(expected_stat.st_mode), int(new_stat.st_mode))
363 self.assertEqual(int(expected_stat.st_mtime), int(new_stat.st_mtime))
370 self.assertEqual(info.date_time, (2009, 1, 1, 0, 0, 0))
374 self.assertEqual(mode, expected_mode)
377 self.assertEqual(info.compress_type, expected_compress_type)
384 self.assertEqual(expected_hash, sha1_hash.hexdigest())
512 self.assertEqual(default_limit, zipfile.ZIP64_LIMIT)
514 self.assertEqual(default_limit, zipfile.ZIP64_LIMIT)
862 self.assertEqual('.gz', ext)
872 self.assertEqual('.xz', ext)
885 self.assertEqual('.gz', ext)
917 self.assertEqual(pubkey_fp.read(), common.ExtractPublicKey(cert))
931 self.assertEqual(privkey_fp.read(), pubkey_fp.read())
940 self.assertEqual(0, proc.returncode)
944 self.assertEqual(expected, actual)
949 self.assertEqual('24', common.GetMinSdkVersion(test_app))
959 self.assertEqual(24, common.GetMinSdkVersionInt(test_app, {}))
1087 self.assertEqual(1, len(sparse_image.file_map['/system/file1'].extra))
1114 self.assertEqual(
1142 self.assertEqual(
1169 self.assertEqual(
1203 self.assertEqual(3, len(args))
1204 self.assertEqual('system', args[0])
1205 self.assertEqual('2', args[1])
1217 self.assertEqual(3, len(args))
1218 self.assertEqual('product', args[0])
1219 self.assertEqual('2', args[1])
1232 self.assertEqual(3, len(args))
1233 self.assertEqual('system', args[0])
1234 self.assertEqual('2', args[1])
1272 self.assertEqual(sorted(contents), sorted(expected_contents))
1299 self.assertEqual(3, loaded_dict['recovery_api_version'])
1300 self.assertEqual(2, loaded_dict['fstab_version'])
1310 self.assertEqual(3, loaded_dict['recovery_api_version'])
1311 self.assertEqual(2, loaded_dict['fstab_version'])
1322 self.assertEqual(3, loaded_dict['recovery_api_version'])
1323 self.assertEqual(2, loaded_dict['fstab_version'])
1334 self.assertEqual(3, loaded_dict['recovery_api_version'])
1335 self.assertEqual(2, loaded_dict['fstab_version'])
1351 self.assertEqual(3, loaded_dict['recovery_api_version'])
1352 self.assertEqual(2, loaded_dict['fstab_version'])
1367 self.assertEqual(3, loaded_dict['recovery_api_version'])
1368 self.assertEqual(2, loaded_dict['fstab_version'])
1381 self.assertEqual(3, loaded_dict['recovery_api_version'])
1382 self.assertEqual(2, loaded_dict['fstab_version'])
1401 self.assertEqual(3, loaded_dict['recovery_api_version'])
1402 self.assertEqual(2, loaded_dict['fstab_version'])
1405 self.assertEqual(
1407 self.assertEqual(
1444 self.assertEqual(merged_dict, expected_merged_dict)
1472 self.assertEqual(merged_dict, expected_merged_dict)
1477 self.assertEqual(
1490 self.assertEqual(2, len(cmd))
1491 self.assertEqual('--chain_partition', cmd[0])
1493 self.assertEqual(3, len(chained_partition_args))
1494 self.assertEqual('vendor', chained_partition_args[0])
1495 self.assertEqual('5', chained_partition_args[1])
1523 self.assertEqual(2, len(cmd))
1524 self.assertEqual('--chain_partition', cmd[0])
1526 self.assertEqual(3, len(chained_partition_args))
1527 self.assertEqual('recovery', chained_partition_args[0])
1528 self.assertEqual('3', chained_partition_args[1])
1567 self.assertEqual(cmd[:3], expected_cmd[:3])
1568 self.assertEqual(cmd[4:], expected_cmd[4:])
1730 self.assertEqual(str(self.script).strip(), """
1897 self.assertEqual(lines, ["remove foo"])
1937 self.assertEqual({
1944 self.assertEqual(set(), partition_props.prop_overrides)
1969 self.assertEqual({
1984 self.assertEqual({
2002 self.assertEqual({
2009 self.assertEqual(set(), partition_props.prop_overrides)
2050 self.assertEqual({
2067 self.assertEqual({