Orillion360 / 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 generates incorrect code for function(void) #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1 . Run gmock_gen.py on a class that contains method declared as T f(void) = 0

What is the expected output? What do you see instead?
Expected is MOCK_METHOD0(f, T(void)). Actual output is MOCK_METHOD1(f, T(void))

Please use labels and text to provide additional information.
Reported by a user at 
https://groups.google.com/d/topic/googlemock/msi_sKt6RrE/discussion

Original issue reported on code.google.com by vladlosev on 17 May 2011 at 6:03

GoogleCodeExporter commented 9 years ago
Fixed in revision 393.

Original comment by vladlosev on 20 May 2011 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 20 May 2011 at 9:45