• Home
  • Raw
  • Download

Lines Matching refs:self

29   def setUp(self):  argument
31 def test_init(self): argument
33 self.assertEqual('ota-property-files', property_files.name)
34 self.assertEqual((), property_files.required)
35 self.assertEqual((), property_files.optional)
37 def test_Compute(self): argument
39 zip_file = self.construct_zip_package(entries)
44 tokens = self._parse_property_files_string(property_files_string)
45 self.assertEqual(2, len(tokens))
46 self._verify_entries(zip_file, tokens, entries)
48 def test_Finalize(self): argument
53 zip_file = self.construct_zip_package(entries)
59 tokens = self._parse_property_files_string(property_files_string)
61 self.assertEqual(2, len(tokens))
65 self._verify_entries(zip_file, tokens, entries)
67 def test_Verify(self): argument
72 zip_file = self.construct_zip_package(entries)
121 def test_WriteFingerprintAssertion_without_oem_props(self): argument
122 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
123 source_info_dict = copy.deepcopy(self.TEST_TARGET_INFO_DICT)
130 self.assertEqual(
135 def test_WriteFingerprintAssertion_with_source_oem_props(self): argument
136 target_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
137 source_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
138 self.TEST_OEM_DICTS)
142 self.assertEqual(
147 def test_WriteFingerprintAssertion_with_target_oem_props(self): argument
148 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
149 self.TEST_OEM_DICTS)
150 source_info = common.BuildInfo(self.TEST_TARGET_INFO_DICT, None)
154 self.assertEqual(
159 def test_WriteFingerprintAssertion_with_both_oem_props(self): argument
160 target_info = common.BuildInfo(self.TEST_INFO_DICT_USES_OEM_PROPS,
161 self.TEST_OEM_DICTS)
162 source_info_dict = copy.deepcopy(self.TEST_INFO_DICT_USES_OEM_PROPS)
165 source_info = common.BuildInfo(source_info_dict, self.TEST_OEM_DICTS)
169 self.assertEqual(