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

Unified Diff: tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc

Issue 2655793004: Also handle renaming method names inside ON_CALL macro calls. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc
diff --git a/tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc b/tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc
index 81150e11890598d4a66375cdda3049d0c78dc911..71eda6867fe2d679b4c536f5a497722780c43b32 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc
+++ b/tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc
@@ -25,6 +25,10 @@ void test() {
mockedInterface, // A comment to prevent reformatting into single line.
myMethod(1));
mockedInterface.myMethod(123);
+
+ int arg;
+ ON_CALL(mockedInterface, myMethod(1))
+ .WillByDefault(testing::SaveArg<0>(&arg));
}
} // namespace simple_test
« no previous file with comments | « tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698