Skip to content

Error prone DoNotMock annotation added to elements with test helpers#153

Merged
ZacSweers merged 1 commit intouber:masterfrom
bangarharshit:donotmock
Jan 4, 2018
Merged

Error prone DoNotMock annotation added to elements with test helpers#153
ZacSweers merged 1 commit intouber:masterfrom
bangarharshit:donotmock

Conversation

@bangarharshit
Copy link
Contributor

Elements with test helpers shouldn't be mocked as it can break during an update. Use Test helpers instead. Fixes - #146

The annotation is currently just an indication to developer as the relevant check to enforce this is not yet open sourced - google/error-prone#572

@bangarharshit bangarharshit changed the title Error prone DoNotMock annotations added to elements with test helpers Error prone DoNotMock annotation added to elements with test helpers Dec 31, 2017
@ZacSweers
Copy link
Collaborator

Forgot we have an internal implementation of the donotmock checker. Oh well, will take effect when someone implements one anyway.

@ZacSweers
Copy link
Collaborator

Not sure what's up with the CLA check. Will give it a bit to resolve itself

@bangarharshit
Copy link
Contributor Author

bangarharshit commented Jan 1, 2018

CLA check seems to be stuck. It may need a retry

@ZacSweers ZacSweers merged commit 75f2808 into uber:master Jan 4, 2018
@ZacSweers
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants