Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Issue 371046: Add python script that generates gmock_mutant.h... (Closed)

Created:
11 years, 1 month ago by stoyan
Modified:
9 years, 7 months ago
Reviewers:
amit, awong
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add python script that generates gmock_mutant.h Resolve ambiguity - error C2782 in VisualC or "no matching function to call" in gcc - when attempt to create functor for base class member function. Support for free (non class members) functions. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31848

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 10

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 6

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1539 lines, -306 lines) Patch
A testing/generate_gmock_mutant.py View 1 2 3 4 5 6 1 chunk +437 lines, -0 lines 0 comments Download
M testing/gmock_mutant.h View 1 2 3 4 5 29 chunks +1102 lines, -306 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
stoyan
11 years, 1 month ago (2009-11-07 00:01:11 UTC) #1
amit
for gmock_mutant.h we also need __stdcall versions to be generated and don't forget to wrap ...
11 years, 1 month ago (2009-11-07 05:17:41 UTC) #2
awong
Looks reasonable. But I'd like to see the template pulled out into constants so that ...
11 years, 1 month ago (2009-11-09 21:57:21 UTC) #3
awong
http://codereview.chromium.org/371046/diff/4002/4003 File testing/generate_gmock_mutant.py (right): http://codereview.chromium.org/371046/diff/4002/4003#newcode40 Line 40: return [pattern.replace("%", x) for x in it] Yeah..here....why ...
11 years, 1 month ago (2009-11-09 21:58:48 UTC) #4
stoyan
On Mon, Nov 9, 2009 at 1:58 PM, <ajwong@chromium.org> wrote: > http://codereview.chromium.org/371046/diff/4002/4003#newcode40 > Line 40: ...
11 years, 1 month ago (2009-11-10 21:30:23 UTC) #5
stoyan
ping? On Tue, Nov 10, 2009 at 1:29 PM, stoyan <stoyan@chromium.org> wrote: > On Mon, ...
11 years, 1 month ago (2009-11-11 23:32:33 UTC) #6
amit
lgtm
11 years, 1 month ago (2009-11-11 23:37:39 UTC) #7
awong
Looks a lot nicer. It'd be nice to see the rest of the multiline strings ...
11 years, 1 month ago (2009-11-12 00:28:08 UTC) #8
awong
11 years, 1 month ago (2009-11-12 00:28:16 UTC) #9
stoyan
http://codereview.chromium.org/371046/diff/7003/8003 File testing/generate_gmock_mutant.py (right): http://codereview.chromium.org/371046/diff/7003/8003#newcode6 Line 6: import string On 2009/11/12 00:28:08, awong wrote: > ...
11 years, 1 month ago (2009-11-12 18:51:29 UTC) #10
awong
11 years, 1 month ago (2009-11-12 23:08:25 UTC) #11
LGTM

Thanks for making the changes!

Powered by Google App Engine
This is Rietveld 408576698