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.version from 1.6.3 to 1.7.4 #26

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

Conversation

dependabot-preview[bot]
Copy link

Bumps powermock.version from 1.6.3 to 1.7.4.
Updates powermock-module-junit4 from 1.6.3 to 1.7.4

Release notes

Sourced from powermock-module-junit4'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:

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
Commits
  • 46a54bd 1.7.4 release (previous 1.7.3) + release notes updated by CI build 722
  • d321aaa Added supporting java9 to PowerMockAgent (#878)
  • 783e46f [ci skip-release] Revert "1.7.4 release (previous 1.7.3) + release notes upda...
  • 349ae96 [ci skip-release] Revert "1.7.5 release (previous 1.7.4) + release notes upda...
  • 73653cd 1.7.5 release (previous 1.7.4) + release notes updated by CI build 709
  • 51589ab 1.7.4 release (previous 1.7.3) + release notes updated by CI build 708
  • 6715379 Update README.md
  • a61fea9 Update news & remove links to version eye because the service was decommission.
  • 1235058 Upgrade gradle [ci skip-release]
  • 5429b3c Release notes generation fixed (#863) [ci skip-release]
  • Additional commits viewable in compare view

Updates powermock-api-mockito from 1.6.3 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:

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
Commits
  • 46a54bd 1.7.4 release (previous 1.7.3) + release notes updated by CI build 722
  • d321aaa Added supporting java9 to PowerMockAgent (#878)
  • 783e46f [ci skip-release] Revert "1.7.4 release (previous 1.7.3) + release notes upda...
  • 349ae96 [ci skip-release] Revert "1.7.5 release (previous 1.7.4) + release notes upda...
  • 73653cd 1.7.5 release (previous 1.7.4) + release notes updated by CI build 709
  • 51589ab 1.7.4 release (previous 1.7.3) + release notes updated by CI build 708
  • 6715379 Update README.md
  • a61fea9 Update news & remove links to version eye because the service was decommission.
  • 1235058 Upgrade gradle [ci skip-release]
  • 5429b3c Release notes generation fixed (#863) [ci skip-release]
  • Additional commits viewable in compare view

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 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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps `powermock.version` from 1.6.3 to 1.7.4.

Updates `powermock-module-junit4` from 1.6.3 to 1.7.4
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](powermock/powermock@powermock-1.6.3...powermock-1.7.4)

Updates `powermock-api-mockito` from 1.6.3 to 1.7.4
- [Release notes](https://github.com/powermock/powermock/releases)
- [Changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt)
- [Commits](powermock/powermock@powermock-1.6.3...powermock-1.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Author

Dependabot tried to add @thoulen, @jvz and @res0nance as reviewers to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/Metaswitch/ec2-plugin/pulls/26/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the Metaswitch/ec2-plugin repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 7, 2020
@dependabot-preview dependabot-preview bot changed the base branch from master to opencloud-master December 14, 2020 05:50
@dependabot-preview
Copy link
Author

This pull request will no longer be automatically closed when a new version is found as this pull request was created by Dependabot Preview and this repo is using a version: 2 config file. You can close this pull request and let Dependabot re-create it the next time it checks for updates.

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.

0 participants