shutej / gomock

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

mockgen can't generate interfaces that embed them from a separate file #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
While mockgen can generate a mock for an embedded interface, its limited that 
the interface being embedded has to be present in the same file. If the 
interface to embed is in the same package, but not the same file gomock is 
unable to locate it and will fail with "unknown embedded interface".

Original issue reported on code.google.com by b...@groovie.org on 12 Dec 2014 at 9:35