Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(21)

Issue 5080043: code review 5080043: Avoid generating mocks for interfaces with embedded int... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 9 months ago by dsymonds
Modified:
14 years, 9 months ago
Reviewers:
awreece
CC:
dsymonds
Visibility:
Public.

Description

Avoid generating mocks for interfaces with embedded interfaces. Fixes issue 2.

Patch Set 1 #

Patch Set 2 : diff -r aed93ddb10e0 https://gomock.googlecode.com/hg/ #

Patch Set 3 : diff -r aed93ddb10e0 https://gomock.googlecode.com/hg/ #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -2 lines) Patch
M gomock/controller_test.go View 1 1 chunk +0 lines, -1 line 0 comments Download
M mockgen/mockgen.go View 1 5 chunks +29 lines, -0 lines 7 comments Download
M sample/user.go View 1 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 6
dsymonds
Hello dsymonds, I'd like you to review this change to https://gomock.googlecode.com/hg/
14 years, 9 months ago (2011-09-20 04:27:39 UTC) #1
dsymonds
*** Submitted as http://code.google.com/p/gomock/source/detail?r=aca9ae018061 *** Avoid generating mocks for interfaces with embedded interfaces. Fixes issue ...
14 years, 9 months ago (2011-09-20 04:27:46 UTC) #2
awreece
I apologize for the unsolicited code review, but I would appreciate it if you would ...
14 years, 9 months ago (2011-09-20 04:56:18 UTC) #3
dsymonds
http://codereview.appspot.com/5080043/diff/4001/mockgen/mockgen.go File mockgen/mockgen.go (right): http://codereview.appspot.com/5080043/diff/4001/mockgen/mockgen.go#newcode149 mockgen/mockgen.go:149: // because there is not yet a way to ...
14 years, 9 months ago (2011-09-20 04:58:30 UTC) #4
awreece
http://codereview.appspot.com/5080043/diff/4001/mockgen/mockgen.go File mockgen/mockgen.go (right): http://codereview.appspot.com/5080043/diff/4001/mockgen/mockgen.go#newcode149 mockgen/mockgen.go:149: // because there is not yet a way to ...
14 years, 9 months ago (2011-09-20 05:00:47 UTC) #5
dsymonds
14 years, 9 months ago (2011-09-20 05:02:31 UTC) #6
http://codereview.appspot.com/5080043/diff/4001/mockgen/mockgen.go
File mockgen/mockgen.go (right):

http://codereview.appspot.com/5080043/diff/4001/mockgen/mockgen.go#newcode235
mockgen/mockgen.go:235: if is.Name.Name == "_" {
On 2011/09/20 05:00:47, awreece wrote:
> I saw that in the test, but would have appreciated seeing it as a comment. But
> anyways, thanks for clarifying.

Yeah, sorry. This CL accidentally glommed together a handful of changes that had
been reviewed internally. I'll take more care to break them up in the future.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b