cushon / issues-import

0 stars 0 forks source link

CheckReturnValue and ReturnValueIgnored should disable checking on mocked objects #226

Open cushon opened 10 years ago

cushon commented 10 years ago

Original issue created by eaftan@google.com on 2014-01-15 at 12:04 AM


Currently these checks will issue an error on code like: Mockito.verify(mock).methodWithCheckReturnValue()

We should turn off the check for these cases. Bonus points if we also disable it for comparable methods in other mocking frameworks like EasyMock and jMock.

cushon commented 10 years ago

Original comment posted by eaftan@google.com on 2014-03-04 at 12:58 AM


(No comment entered for this change.)


Owner: eaftan@google.com Labels: Type-Enhancement, Priority-Medium