Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Side by Side Diff: build/android/pylib/symbols/elf_symbolizer_unittest.py

Issue 339853004: binary_size_tool: fix for ambiguous addr2line output (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: updated descriptions, rebased, s/os.path.isabs/posixpath.isabs/ Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import functools 6 import functools
7 import logging 7 import logging
8 import os 8 import os
9 import sys 9 import sys
10 import unittest 10 import unittest
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 self.assertEqual(sym_info.inlined_by.name, exp_name + '_middle') 163 self.assertEqual(sym_info.inlined_by.name, exp_name + '_middle')
164 self.assertEqual(sym_info.inlined_by.inlined_by.name, 164 self.assertEqual(sym_info.inlined_by.inlined_by.name,
165 exp_name + '_outer') 165 exp_name + '_outer')
166 166
167 # Check against duplicate callbacks. 167 # Check against duplicate callbacks.
168 self.assertNotIn(addr, self._resolved_addresses) 168 self.assertNotIn(addr, self._resolved_addresses)
169 self._resolved_addresses.add(addr) 169 self._resolved_addresses.add(addr)
170 170
171 171
172 if __name__ == '__main__': 172 if __name__ == '__main__':
173 unittest.main() 173 unittest.main()
OLDNEW
« no previous file with comments | « build/android/pylib/symbols/elf_symbolizer.py ('k') | tools/binary_size/run_binary_size_analysis.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698