nuun-io / kernel

Nuun Kernel is an IOC component for creation of powerfull enterprise stack.
Other
8 stars 5 forks source link

Bump powermock-core from 1.5 to 2.0.2 #77

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps powermock-core from 1.5 to 2.0.2.

Release notes *Sourced from [powermock-core's releases](https://github.com/powermock/powermock/releases).* > ## PowerMock 2.0.2 > - 2019-04-21 - [2 commits](https://github.com/powermock/powermock/compare/powermock-2.0.1...powermock-2.0.2) by [Arthur Zagretdinov](https://github.com/thekingnothing) - published to [![Bintray](https://img.shields.io/badge/Bintray-2.0.2-green.svg)](https://bintray.com/powermock/null/powermock/2.0.2) > - [Bugfixes] PowerMockAgent does not support java >=10 [([#979](https://github-redirect.dependabot.com/powermock/powermock/issues/979))](https://github-redirect.dependabot.com/powermock/powermock/issues/979) > - [Security] Releases are built/executed/released in the context of insecure/untrusted code [([#973](https://github-redirect.dependabot.com/powermock/powermock/issues/973))](https://github-redirect.dependabot.com/powermock/powermock/issues/973) > > ## PowerMock 2.0.1 > - 2019-04-21 - [4 commits](https://github.com/powermock/powermock/compare/powermock-2.0.0...powermock-2.0.1) by 4 authors - published to [![Bintray](https://img.shields.io/badge/Bintray-2.0.1-green.svg)](https://bintray.com/powermock/null/powermock-development/2.0.1) > - Commits: [Arthur Zagretdinov](https://github.com/thekingnothing) (1), [Marcin Zajączkowski](https://github.com/szpak) (1), [sam-ma](https://github.com/sam-ma) (1), [stevegilbert23](https://github.com/stevegilbert23) (1) > - [Bugfixes] IllegalStateException when inner class has private constructor on Java>8 [([#958](https://github-redirect.dependabot.com/powermock/powermock/issues/958))](https://github-redirect.dependabot.com/powermock/powermock/issues/958) > - Fixes 976: Change to StackTraceCleaner to allow mockito strick stubs … [([#977](https://github-redirect.dependabot.com/powermock/powermock/issues/977))](https://github-redirect.dependabot.com/powermock/powermock/pull/977) > > ## PowerMock 2.0.0 > - 2019-01-07 - [77 commits](https://github.com/powermock/powermock/compare/powermock-1.7.3...powermock-2.0.0) by 10 authors - published to [![Bintray](https://img.shields.io/badge/Bintray-2.0.0-green.svg)](https://bintray.com/powermock/null/powermock/2.0.0) > - Commits: [Arthur Zagretdinov](https://github.com/thekingnothing) (56), PowerMock Release Tools (11), [Henri Tremblay](https://github.com/henri-tremblay) (2), [Ismael Juma](https://github.com/ijuma) (2), beegee1 (1), [Enrico Olivelli](https://github.com/eolivelli) (1), hsynkrtl (1), [Paul Parenko](https://github.com/parenko) (1), Sean Gilhooly (1), [Timo Meinen](https://github.com/timomeinen) (1) > - [Major changes] Mockito Public API Support Roadmap [([#726](https://github-redirect.dependabot.com/powermock/powermock/issues/726))] > - [Major changes] Dropped supporting Mockito 1.x as result removed module powermock-api-mockito > - [Major changes] Dropped supporting EasyMock 3.1. Offical supported EasyMock 3.5 > (https://github-redirect.dependabot.com/powermock/powermock/issues/726) > - [Enhancements] Removed deprecated code in PowerMock 2.0. [([#839](https://github-redirect.dependabot.com/powermock/powermock/issues/839))](https://github-redirect.dependabot.com/powermock/powermock/issues/839) > - [Enhancements] JDK 9 support [([#783](https://github-redirect.dependabot.com/powermock/powermock/issues/783))](https://github-redirect.dependabot.com/powermock/powermock/issues/783) > - [Bugfixes] Fixes [#888](https://github-redirect.dependabot.com/powermock/powermock/issues/888): Disable Security of X-Stream [([#962](https://github-redirect.dependabot.com/powermock/powermock/issues/962))](https://github-redirect.dependabot.com/powermock/powermock/pull/962) > - [Bugfixes] [#959](https://github-redirect.dependabot.com/powermock/powermock/issues/959) fix compile error due to unused import of a class which is not i… [([#960](https://github-redirect.dependabot.com/powermock/powermock/issues/960))](https://github-redirect.dependabot.com/powermock/powermock/pull/960) > - [Bugfixes] Issue 939: Error with setInternalState and JDK12 "java.lang.NoSuchFieldException: modifiers [([#955](https://github-redirect.dependabot.com/powermock/powermock/issues/955))](https://github-redirect.dependabot.com/powermock/powermock/pull/955) > (https://github-redirect.dependabot.com/powermock/powermock/pull/948) > - [Bugfixes] Compile error due to unused import of a class which is not in the dependencies [([#959](https://github-redirect.dependabot.com/powermock/powermock/issues/959))](https://github-redirect.dependabot.com/powermock/powermock/issues/959) > - [Bugfixes] JDK9, power mockito 2.0.0-beta.5 - final class issue when mocking static method [([#888](https://github-redirect.dependabot.com/powermock/powermock/issues/888))](https://github-redirect.dependabot.com/powermock/powermock/issues/888) > - [Bugfixes] [@​Mock](https://github.com/Mock) annotation from easymock api does not work for two fields of the same type. [([#755](https://github-redirect.dependabot.com/powermock/powermock/issues/755))](https://github-redirect.dependabot.com/powermock/powermock/issues/755) > > ## PowerMock 2.0.0 RC1 > - 2018-10-24 - [69 commits](https://github.com/powermock/powermock/compare/powermock-1.7.4...powermock-2.0.0-RC.1) by 6 authors - published to [![Bintray](https://img.shields.io/badge/Bintray-2.0.0-RC.1-green.svg)](https://bintray.com/powermock/null/powermock/2.0.0-RC.1) > - Commits: [Arthur Zagretdinov](https://github.com/thekingnothing) (54), PowerMock Release Tools (11), [Henri Tremblay](https://github.com/henri-tremblay) (1), hsynkrtl (1), [Ismael Juma](https://github.com/ijuma) (1), Sean Gilhooly (1) > - [Major changes] Mockito Public API Support Roadmap [([#726](https://github-redirect.dependabot.com/powermock/powermock/issues/726))](https://github-redirect.dependabot.com/powermock/powermock/issues/726) > - [Major changes] Dropped supporting Mockito 1.x as result removed module powermock-api-mockito > - [Major changes] Dropped supporting EasyMock 3.1. Offical supported EasyMock 3.5 > - [Bugfixes] [@​Mock](https://github.com/Mock) annotation from easymock api does not work for two fields of the same type. [([#755](https://github-redirect.dependabot.com/powermock/powermock/issues/755))](https://github-redirect.dependabot.com/powermock/powermock/issues/755) > - [Enhancements] Removed deprecated code in PowerMock 2.0. [([#839](https://github-redirect.dependabot.com/powermock/powermock/issues/839))](https://github-redirect.dependabot.com/powermock/powermock/issues/839) > - [Enhancements] JDK 9 support [([#783](https://github-redirect.dependabot.com/powermock/powermock/issues/783))](https://github-redirect.dependabot.com/powermock/powermock/issues/783) > - Preparing PowerMock 2.0 Release without ByteBuddy [ci maven-central-release] [([#948](https://github-redirect.dependabot.com/powermock/powermock/issues/948))](https://github-redirect.dependabot.com/powermock/powermock/pull/948) > - Use EasyMock exposed MockType instead of the deprecated internal one [([#944](https://github-redirect.dependabot.com/powermock/powermock/issues/944))](https://github-redirect.dependabot.com/powermock/powermock/pull/944) > - Update PowerMockAgent.java [([#878](https://github-redirect.dependabot.com/powermock/powermock/issues/878))](https://github-redirect.dependabot.com/powermock/powermock/pull/878) > > ## PowerMock 2.0.0 Beta 5 > It's a first PowerMock 2.0.0 release published to Maven Central. > > Published: > > [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.powermock/powermock-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.powermock/powermock-core/2.0.0-beta.5) > > [ ![Download](https://api.bintray.com/packages/powermock/maven/powermock/images/download.svg) ](https://bintray.com/powermock/maven/powermock/powermock-2.0.0-beta.5) > > ... (truncated)
Changelog *Sourced from [powermock-core's changelog](https://github.com/powermock/powermock/blob/release/2.x/docs/changelog.txt).* > 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](https://github-redirect.dependabot.com/powermock/powermock/issues/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](https://github.com/gstamac) for pull request) > * Added supporting global ignore via configuration (issue # [#801](https://github-redirect.dependabot.com/powermock/powermock/issues/801)) > * Added supporting org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker via PowerMock configuration (issues [#793](https://github-redirect.dependabot.com/powermock/powermock/issues/793), [#774](https://github-redirect.dependabot.com/powermock/powermock/issues/774)) > * Optimizations in powermock-reflect (thanks to Roman Leventov [@​leventov](https://github.com/leventov) for pull request) ([#724](https://github-redirect.dependabot.com/powermock/powermock/issues/724)) > * Migrated from Maven to Gradle ([#728](https://github-redirect.dependabot.com/powermock/powermock/issues/728)) > * Implement [#793](https://github-redirect.dependabot.com/powermock/powermock/issues/793) PowerMockMaker for Mockito 2: A new version of PowerMockMaker implemented. It does not conflict with Mockito MockMaker any more. Fix for [#701](https://github-redirect.dependabot.com/powermock/powermock/issues/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](https://github-redirect.dependabot.com/powermock/powermock/issues/722) IllegalArgumentException is output to standard error (thanks to Kotaro Nanri [@​k](https://github.com/k)-nanri for pull request) > * Fixed issue [#717](https://github-redirect.dependabot.com/powermock/powermock/issues/717) Regression: MethodNotFoundException > * Fixed issue [#731](https://github-redirect.dependabot.com/powermock/powermock/issues/731) No methods matching the name(s) get were found in the class hierarchy for interfaces > * Fixed issue [#753](https://github-redirect.dependabot.com/powermock/powermock/issues/753) fix to upgrade code to be compatible with later versions of Mockito (thanks to emmaLP [@​emmaLP](https://github.com/emmaLP) for pull request) > * Fixed issue [#763](https://github-redirect.dependabot.com/powermock/powermock/issues/763) whenNew not matching constructor when null is passed as first or last argument. (thanks to [@​podarsmarty](https://github.com/podarsmarty) podarsmarty for pull request) > * Fixed issue [#781](https://github-redirect.dependabot.com/powermock/powermock/issues/781) Call mocked equals static method instead of real (thanks to [@​Ilya](https://github.com/Ilya)-Gh Ilya Ghirici for pull request) > * Fixed issue [#772](https://github-redirect.dependabot.com/powermock/powermock/issues/772): PowerMockIgnorePackagesExtractorImpl should visit interfaces. (thanks to François Jacques [@​hypnoce](https://github.com/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](https://github.com/andreicristianpetcu) for pull request) > * Added support for specifying constructor parameters for Mockito for whenNew case (Only mock specific calls to new [#31](https://github-redirect.dependabot.com/powermock/powermock/issues/31)) > * Fixed [#668](https://github-redirect.dependabot.com/powermock/powermock/issues/668) [@​Mock](https://github.com/Mock) fields are not injected anymore (1.6.5 regression) > * Fixed [#676](https://github-redirect.dependabot.com/powermock/powermock/issues/676) Using Powermock with Roo/AspectJ gives NullPointerException (thanks to Sebastian Saip [@​ssaip](https://github.com/ssaip) for pull request) > * Fixed [#656](https://github-redirect.dependabot.com/powermock/powermock/issues/656) TooManyActualInvocations when class is prepared for test. > * Fixed [#695](https://github-redirect.dependabot.com/powermock/powermock/issues/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](https://github-redirect.dependabot.com/powermock/powermock/issues/701) StackOverflowError mocking final class extending non-public abstract class overriding equals method > * Fixed [#707](https://github-redirect.dependabot.com/powermock/powermock/issues/707) PowerMock should ignore and keep synthetic method/fields when modifies class > * Fixed [#645](https://github-redirect.dependabot.com/powermock/powermock/issues/645) jacoco offline instrumentation incompatibility with powermock byte-code manipulation when using [@​SuppressStaticInitializationFor](https://github.com/SuppressStaticInitializationFor) > * Fixed [#704](https://github-redirect.dependabot.com/powermock/powermock/issues/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](https://github.com/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](https://github-redirect.dependabot.com/powermock/powermock/issues/599)) > * Code quality improvement, [@​Override](https://github.com/Override) annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one > ... (truncated)
Commits - See full diff in [compare view](https://github.com/powermock/powermock/commits/powermock-2.0.2)


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](https://app.dependabot.com): - 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[bot] commented 5 years ago

Superseded by #89.