keeganwitt / gmock

Automatically exported from code.google.com/p/gmock
6 stars 2 forks source link

HttpServletRequest.inspect() is applicable for argument types: () values: {} #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the following test breaks with the error give below

  void testBreakingGMock(){
    HttpServletRequest request = mock(HttpServletRequest)
    def mock = mock()
    mock.foo(request)

    play {
    }
  }

groovy.lang.MissingMethodException: No signature of method:
javax.servlet.http.HttpServletRequest.inspect() is applicable for argument
types: () values: {}

Original issue reported on code.google.com by ravipr...@gmail.com on 21 Apr 2009 at 10:14

GoogleCodeExporter commented 9 years ago
Thanks for your report. Which version of Gmock are you using?

Original comment by JohnnyJianHY on 21 Apr 2009 at 11:38

GoogleCodeExporter commented 9 years ago
version 0.7

Original comment by ravipr...@gmail.com on 21 Apr 2009 at 12:58

GoogleCodeExporter commented 9 years ago
Fixed on both the trunk and the 0.7.x branch.

Original comment by JohnnyJianHY on 21 Apr 2009 at 1:36

GoogleCodeExporter commented 9 years ago
Good idea the branch for the 0.7. We might have to maintain it a bit for bug 
fixes I know a team which is stuck 
on grails 1.0.3 because of bugs not being fixed in later releases.

Should I release a 0.7.1 or wait a bit for it?

Original comment by julien.g...@gmail.com on 21 Apr 2009 at 6:42

GoogleCodeExporter commented 9 years ago
I think we'd better wait until the release of 0.9.0, and release 0.7.1 and 
0.9.0 at
the same time, because we may find some more bugs before 0.9.0 is released. 
What's
more, I don't know this is a 'big' bug which affecting the use.

Original comment by JohnnyJianHY on 21 Apr 2009 at 11:52