barum / gomock

Automatically exported from code.google.com/p/gomock
Apache License 2.0
0 stars 0 forks source link

GoMock Embedded Interfaces Don't Keep Package Name #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I saw a previous issue relating to GoMock Embedded Interfaces, but it was 
closed out.

If I have an interface that has a function that returns another Interface, 
gomock doesn't generate the files with the correct package names.

Original issue reported on code.google.com by K2xL....@gmail.com on 9 Apr 2014 at 12:05

GoogleCodeExporter commented 9 years ago
Do you have a reproduction case? In the gomock source, sample/user.go exercises 
mocking an interface with a method that returns an interface in a different 
package (see "Other() hash.Hash").

Original comment by dsymo...@golang.org on 9 Apr 2014 at 4:21

GoogleCodeExporter commented 9 years ago
Can't do much without a reproduction case.

Original comment by dsymo...@golang.org on 18 Apr 2014 at 12:51