Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump powermock-api-mockito from 1.5 to 1.7.4 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps powermock-api-mockito from 1.5 to 1.7.4.

Release notes

Sourced from powermock-api-mockito's releases.

PowerMock 1.7.4

Published to Bintray

Improvements:

  • Add supporting Java 9 into PowerMockAgent (#878)
  • Release notes generation fixed (#863)

PowerMock 1.7.3

Published to Bintray

Bugfixes

  • PowerMock.replayAll does not handle mocks created by annotation processor for org.easymock.Mock annotation (#849)

PowerMock 1.7.2

Published to Bintray

  • [Bugfixes] @​Mock annotation from easymock api does not work for two fields of the same type. (#755)
  • [Enhancements] Use Mockito Shipkit for CD (#826)

PowerMock Release 1.7.1

Major changes

  • The release contains one, but significant change: the old API for verifying static mock has been deprecated and a new one has been added. Old API will be removed in version PowerMock 2.0 due to incompatibility with Mockito Public API (#832)

PowerMock Release 1.7.0

Majority changes

  • Added support for non beta versions of Mockito 2. Thanks to everyone that helped out and provided pull requests.
  • Added ability to set global @PowerMockIgnore.

Improvements

  • Implement #793 PowerMockMaker for Mockito 2: A new version of PowerMockMaker implemented. It does not conflict with Mockito MockMaker any more.
  • Added supporting Mockito 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)

Bug fixes

  • 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 example

Other changes:

... (truncated)
Changelog

Sourced from powermock-api-mockito'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

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.


Dependabot has been acquired by GitHub  🎉

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants