Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps powermock-module-junit4 from 1.6.1 to 2.0.4.

Release notes

Sourced from powermock-module-junit4's releases.

PowerMock 2.0.2

PowerMock 2.0.1

PowerMock 2.0.0

PowerMock 2.0.0 RC1

PowerMock 2.0.0 Beta 5

It's a first PowerMock 2.0.0 release published to Maven Central.

Published:

Maven Central

Download

... (truncated)
Changelog

Sourced from powermock-module-junit4's changelog.

Change log 2.0.0

  • PowerMockito changes:
    ** verifyStatic is replaced by verifyStatic(Class)
    ** mockStatic does not reset mocking process anymore. As result you may get the UnfinishedVerificationException or UnfinishedStubbingException
    ** Possible incapability due toString methods returns by default name of mocked.

Change log 1.7.1

  • Fixed #832 Provide a new API for verifying static mock and deprecate old for Mockito

Change log 1.7.0

  • Added supporting Mockito 2.8.9 for PowerMock 2.x (thanks to Gregor Stamac @​gstamac for pull request)
  • Added supporting global ignore via configuration (issue # #801)
  • Added supporting org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker via PowerMock configuration (issues #793, #774)
  • Optimizations in powermock-reflect (thanks to Roman Leventov @​leventov for pull request) (#724)
  • Migrated from Maven to Gradle (#728)
  • Implement #793 PowerMockMaker for Mockito 2: A new version of PowerMockMaker implemented. It does not conflict with Mockito MockMaker any more. Fix for #701 partially does not work any more, because ByteBuddy implementation of MockMaker always intercept calls to equals and return true only in case if passed object is the same instance of mocked object.
  • Fixed issue #722 IllegalArgumentException is output to standard error (thanks to Kotaro Nanri @​k-nanri for pull request)
  • Fixed issue #717 Regression: MethodNotFoundException
  • Fixed issue #731 No methods matching the name(s) get were found in the class hierarchy for interfaces
  • Fixed issue #753 fix to upgrade code to be compatible with later versions of Mockito (thanks to emmaLP @​emmaLP for pull request)
  • Fixed issue #763 whenNew not matching constructor when null is passed as first or last argument. (thanks to @​podarsmarty podarsmarty for pull request)
  • Fixed issue #781 Call mocked equals static method instead of real (thanks to @​Ilya-Gh Ilya Ghirici for pull request)
  • Fixed issue #772: PowerMockIgnorePackagesExtractorImpl should visit interfaces. (thanks to François Jacques @​hypnoce for pull request)
  • Fixed issue with javax.xml and org.w3c. Previously when PowerMock was used with class which works with XML adding ``@​PowerMockIgnore({"org.w3c.", "javax.xml."})` was required. See examples: https://github.com/powermock/powermock-examples-maven/blob/master/spring-mockito-xml/src/test/java/org/powermock/examples/spring/mockito/SpringExampleTest.java

Change log 1.6.6 (2016-11-04)

  • Added support for setting private static final fields in Whitebox.setInternalState (thanks to Andrei Petcu @andreicristianpetcu for pull request)
  • Added support for specifying constructor parameters for Mockito for whenNew case (Only mock specific calls to new #31)
  • Fixed #668 @mock fields are not injected anymore (1.6.5 regression)
  • Fixed #676 Using Powermock with Roo/AspectJ gives NullPointerException (thanks to Sebastian Saip @ssaip for pull request)
  • Fixed #656 TooManyActualInvocations when class is prepared for test.
  • Fixed #695 ClassNotFoundException when loading cglib enhanced classes created by Spring
  • Fixed Java 6 compatibility issue in org.powermock.utils.StringJoiner (which accidentally referenced Java 7 API's)
  • Fixed #701 StackOverflowError mocking final class extending non-public abstract class overriding equals method
  • Fixed #707 PowerMock should ignore and keep synthetic method/fields when modifies class
  • Fixed #645 jacoco offline instrumentation incompatibility with powermock byte-code manipulation when using @SuppressStaticInitializationFor
  • Fixed #704 PowerMockito 1.6.5 throws java.lang.SecurityException signer information mismatch
  • Refactoring: Move ProxyFramework from api modules to reflect module.
  • Renamed org.powermock.reflect.internal.WhiteboxImpl.getAllMetodsExcept to org.powermock.reflect.internal.WhiteboxImpl.getAllMethodsExcept (typo)
  • Refactoring: Fix performance issues, fix error handling issues, remove unused imports, remove verbose or redundant code constructs. (thanks to Mykhailo Kovalskyi @​kovalsky for pull request)
  • Upgraded Assertj dependency from 3.4.1 to version 3.5.2
  • Upgraded Javaassist dependency from 3.20.0-GA to version 3.21.0-GA
  • Upgraded Objenesis dependency from 2.2 to version 3.4

Change log 1.6.5 (2016-04-30)

  • Add ability to chain returns with doReturn() (thanks to "gauee" for pull request) (issue #599)
  • Code quality improvement, @​Override annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
... (truncated)
Commits
  • be2370c 2.0.4 release (previous 2.0.2) + release notes updated by CI build 827
  • 7520cde [ci maven-central-release] Fix build
  • 9f15b3e [ci maven-central-release] Fix Whitebox.getAllInstanceFields returning static...
  • 3eb2192 [ci maven-central-release] Fix changing final fields on Java 12 (#1010)
  • 62b495c Fixes #685 : Add new method display name pattern for providing compatibility ...
  • 37904cd fix Static mocking broken for Mockito >= 2.26.1 (#997)
  • ad8ccad Fixed some typos
  • e8cd680 Fix links to issues
  • e8da809 Add news about new release
  • d59643e 2.0.2 release (previous 2.0.1) + release notes updated by CI build 813
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 17, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #37.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/org.powermock-powermock-module-junit4-2.0.4 branch January 27, 2020 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.