| Index: tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc
|
| diff --git a/tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc
|
| index e9f1b046753e4904f437adaafc1eededc8e850fe..66b6fc31945515ca9f54d306d753373bd499b972 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/gmock-expected.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| namespace blink {
|
|
|
| +namespace simple_test {
|
| +
|
| class Interface {
|
| public:
|
| virtual void MyMethod(int my_param) {}
|
| @@ -25,4 +27,20 @@ void Test() {
|
| mocked_interface.MyMethod(123);
|
| }
|
|
|
| +} // namespace simple_test
|
| +
|
| +namespace no_base_method_to_override {
|
| +
|
| +class MockDestructible {
|
| + public:
|
| + MOCK_METHOD0(Destruct, void());
|
| +};
|
| +
|
| +void Test() {
|
| + MockDestructible destructible;
|
| + EXPECT_CALL(destructible, Destruct());
|
| +}
|
| +
|
| +} // namespace no_base_method_to_override
|
| +
|
| } // namespace blink
|
|
|