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

Unified Diff: tools/binary_size/libsupersize/function_signature_test.py

Issue 2880003002: supersize: A few fixes for Android+clang builds (Closed)
Patch Set: rebase Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: tools/binary_size/libsupersize/function_signature_test.py
diff --git a/tools/binary_size/libsupersize/function_signature_test.py b/tools/binary_size/libsupersize/function_signature_test.py
index 757da729786a642047af5dd90fa628f85769673d..b830366bd4e31ccf1e1c0239f810026ca0069d53 100755
--- a/tools/binary_size/libsupersize/function_signature_test.py
+++ b/tools/binary_size/libsupersize/function_signature_test.py
@@ -110,9 +110,16 @@ class AnalyzeTest(unittest.TestCase):
SIG = 'cc::{lambda(cc::PaintOp*)#63}::_FUN(cc::PaintOp*)'
got_full_name, got_template_name, got_name = (
function_signature.Parse(SIG))
- self.assertEqual('cc::{lambda#63}', got_name)
- self.assertEqual('cc::{lambda#63}', got_template_name)
- self.assertEqual('cc::{lambda#63}(cc::PaintOp*)', got_full_name)
+ self.assertEqual('cc::$lambda#63', got_name)
+ self.assertEqual('cc::$lambda#63', got_template_name)
+ self.assertEqual('cc::$lambda#63(cc::PaintOp*)', got_full_name)
+
+ SIG = 'cc::$_63::__invoke(cc::PaintOp*)'
+ got_full_name, got_template_name, got_name = (
+ function_signature.Parse(SIG))
+ self.assertEqual('cc::$lambda#63', got_name)
+ self.assertEqual('cc::$lambda#63', got_template_name)
+ self.assertEqual('cc::$lambda#63(cc::PaintOp*)', got_full_name)
# Data members
check('', 'blink::CSSValueKeywordsHash::findValueImpl', '(char const*)',
« no previous file with comments | « tools/binary_size/libsupersize/function_signature.py ('k') | tools/binary_size/libsupersize/linker_map_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698