checker for @DoNotMock annotations

180 views
Skip to first unread message

Manu Sridharan

unread,
Mar 13, 2017, 3:18:13 PM3/13/17
to error-pro...@googlegroups.com
However, we haven't found any Error Prone checker that looks at this annotation.  Is there an available checker that leverages this annotation to ensure the corresponding type is not mocked?  Thanks!

Best,
Manu 

Liam Miller-Cushon

unread,
Mar 13, 2017, 3:34:57 PM3/13/17
to error-pro...@googlegroups.com
On Mon, Mar 13, 2017 at 12:18 PM, Manu Sridharan <msri...@gmail.com> wrote:
However, we haven't found any Error Prone checker that looks at this annotation.  Is there an available checker that leverages this annotation to ensure the corresponding type is not mocked?  Thanks!

We have enforcement for it, but it isn't currently open-sourced. I think that was just an oversight.

Manu Sridharan

unread,
Mar 13, 2017, 4:00:00 PM3/13/17
to error-pro...@googlegroups.com
Ok, awesome, thanks!  Best, Manu

--
Googlers: This an external list. Please be careful when posting.
---
You received this message because you are subscribed to the Google Groups "error-prone-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to error-prone-dis...@googlegroups.com.
Visit this group at https://groups.google.com/group/error-prone-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/error-prone-discuss/CAL4Qsgtabf1asWT_guiviqHmkzT5drtBw2onWaWxZ%3Do0ruev-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages