mindw / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

gmock_gen.py fails for methods returning a templated type #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When mocking a class with such a method:

  virtual QList<int> get() = 0;

The result of gmock_gen.py is:

  MOCK_METHOD0(get, QList());

The template argument is missing.

Original issue reported on code.google.com by w...@google.com on 29 Sep 2010 at 5:14

GoogleCodeExporter commented 9 years ago
Hi, i uploaded a patch to http://codereview.appspot.com/2311041. Keno

Original comment by pride.ha...@gmail.com on 29 Sep 2010 at 6:25