mozilla-mobile / gradle-apilint

Gradle Plugin that tracks the API of an Android library and helps maintain backward compatibility.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't require field-only classes to be mockable.

droeh opened this issue · comments

Currently we require classes to not be final and to have a public or protected constructor so that they can be mocked; for field-only classes this is an unnecessary requirement, as there's no situation where mocking should be necessary.