Mock library extension framework
PowerMock is a framework that extends other mock libraries such as EasyMock with more powerful capabilities. PowerMock uses a custom classloader and bytecode manipulation to enable mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more. By using a custom classloader no changes need to be done to the IDE or continuous integration servers which simplifies adoption.
Linter | Message | Location |
---|---|---|
source-unstable-tarball Check for autogenerated tarballs | the source URI should not be an autogenerated tarball | |
patch-file-names Validate file names and availability of patches | file names of patches should start with the package name | |
source-unstable-tarball Check for autogenerated tarballs | the source URI should not be an autogenerated tarball |