Skip to content

Commit

Permalink
Add Mockito4k as a disallowed package
Browse files Browse the repository at this point in the history
  • Loading branch information
tmurakami committed Jan 30, 2017
1 parent ee6fabb commit a6b08d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The final classes and methods in the following libraries cannot be mocked.
- [Dexmaker](https://github.com/linkedin/dexmaker)
- [DexMockito](https://github.com/tmurakami/dexmockito)
- DexOpener
- [Mockito4k](https://github.com/tmurakami/mockito4k)
- [Hamcrest](https://github.com/hamcrest/JavaHamcrest)
- [JUnit](http://junit.org/)
- [Kotlin](https://kotlinlang.org/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ final class BuiltinClassNameFilter implements ClassNameFilter {
"com.github.tmurakami.classinjector.",
"com.github.tmurakami.dexmockito.",
"com.github.tmurakami.dexopener.",
"com.github.tmurakami.mockito4k.",
"java.",
"javax.",
"junit.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static Iterable<Object[]> parameters() {
new Object[]{"com.github.tmurakami.classinjector.C", false},
new Object[]{"com.github.tmurakami.dexmockito.C", false},
new Object[]{DexOpener.class.getName(), false},
new Object[]{"com.github.tmurakami.mockito4k.C", false},
new Object[]{"java.C", false},
new Object[]{"javax.C", false},
new Object[]{"junit.C", false},
Expand Down

0 comments on commit a6b08d5

Please sign in to comment.