calvert1991/googlemock

gmock_gen.py fails for methods returning a templated type

Opened this issue · 1 comments

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

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