| 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 102bf1a46f30ed1660b242c51d37a27018e5e105..81150e11890598d4a66375cdda3049d0c78dc911 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/tests/gmock-original.cc
|
| +++ b/tools/clang/rewrite_to_chrome_style/tests/gmock-original.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() {
|
| mockedInterface.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
|
|
|