Script fails on legal class definition like in failed2.cpp or in failed.cpp.
What steps will reproduce the problem?
1. gmock_gen.py failed2.cpp
2. gmock_gen.py failed.cpp
What is the expected output?
class MockA : public A {
public:
MOCK_METHOD0(foo,
void());
};
What do you see instead?
Got non-typedef token in failed2.cpp @ Token('(', 19, 20) []
Got exception in failed2.cpp @ Token('public', 37, 43) []
Which version of Google Mock are you using? On what operating system?
1.5.0. Windows XP, SP3
Please provide any additional information below.
Python 2.7
Original issue reported on code.google.com by aleksand...@gmail.com on 25 Aug 2010 at 7:15
Original issue reported on code.google.com by
aleksand...@gmail.com
on 25 Aug 2010 at 7:15Attachments: