Skip to content

Upgrading org.powermock:powermock-api-mockito2 1 to 2

Unknown1.7.4 → 2.0.9

Fetching 11 releases from GitHub…0 / 11
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Adds org.powermock:powermock-api-support 2.0.9.

Drops org.powermock:powermock-api-mockito-common.

Installs 8 packages in all (was 9).

Generated by DepDelta from published JVM bytecode. Not mixed with prose notes.

  • added: class JavaAgentFrameworkRegisterImpl implements JavaAgentFrameworkRegister
  • added: ctor JavaAgentFrameworkRegisterImpl()
  • added: method JavaAgentFrameworkRegisterImpl.clear(): void
  • added: method JavaAgentFrameworkRegisterImpl.set(JavaAgentClassRegister): void
  • added: static field JavaAgentFrameworkRegisterImpl.MOCK_CREATOR_IMPLEMENTATION_CLASS: String
  • removed: class MockingFrameworkReporterFactoryImpl extends AbstractMockingFrameworkReporterFactory
  • removed: ctor MockingFrameworkReporterFactoryImpl()
  • removed: method MockingFrameworkReporterFactoryImpl.getImplementerClassName(): String
  • removed: static method PowerMockito.verifyStatic(): void
  • removed: static method PowerMockito.verifyStatic(VerificationMode): void
  • added: class ClassNotPreparedException extends RuntimeException
  • added: ctor ClassNotPreparedException(String)
  • added: class ConstructorAwareExpectationSetup implements WithOrWithoutExpectedArguments
  • added: class DefaultConstructorExpectationSetup implements ConstructorExpectationSetup
  • added: ctor ConstructorAwareExpectationSetup(Constructor)
  • added: ctor DefaultConstructorExpectationSetup(Class)
  • added: interface ConstructorExpectationSetup extends WithOrWithoutExpectedArguments, WithExpectedParameterTypes, WithAnyArguments
  • added: interface WithAnyArguments
  • added: interface WithExpectedParameterTypes
  • added: interface WithOrWithoutExpectedArguments extends WithExpectedArguments, WithoutExpectedArguments
  • added: method ConstructorAwareExpectationSetup.withArguments(Object, Object[]): OngoingStubbing
  • added: method ConstructorAwareExpectationSetup.withNoArguments(): OngoingStubbing
  • added: method DefaultConstructorExpectationSetup.withAnyArguments(): OngoingStubbing
  • added: method DefaultConstructorExpectationSetup.withArguments(Object, Object[]): OngoingStubbing
  • added: method DefaultConstructorExpectationSetup.withNoArguments(): OngoingStubbing
  • added: method DefaultConstructorExpectationSetup.withParameterTypes(Class, Class[]): WithExpectedArguments
  • added: method WithAnyArguments.withAnyArguments(): OngoingStubbing
  • added: method WithExpectedParameterTypes.withParameterTypes(Class, Class[]): WithExpectedArguments
  • added: class MockitoPowerMockReporter implements PowerMockReporter
  • added: ctor MockitoPowerMockReporter()
  • added: method MockitoPowerMockReporter.classNotPrepared(Class): void
  • removed: method PowerMockitoCore.wrapInMockitoSpecificVerificationMode(Object, VerificationMode): MockAwareVerificationMode
  • removed: method PowerMockitoCore.wrapInStaticVerificationMode(Class, VerificationMode): VerificationMode
  • removed: method PowerMockitoCore.wrapInStaticVerificationMode(VerificationMode): MockAwareVerificationMode
  • added: method PowerMockitoCore.doAnswer(Object, Object[]): PowerMockitoStubber
  • added: method PowerMockitoCore.doCallRealMethod(): PowerMockitoStubber
  • added: method PowerMockitoCore.doNothing(): PowerMockitoStubber
  • added: method PowerMockitoCore.doReturn(Object): PowerMockitoStubber
  • added: method PowerMockitoCore.doThrow(Throwable): PowerMockitoStubber
  • added: method PowerMockitoCore.spy(Object): Object
  • added: method PowerMockitoCore.verifyNew(Class, VerificationMode): DefaultConstructorArgumentsVerification
  • removed: class ConstructorAwareExpectationSetup implements WithOrWithoutExpectedArguments
  • removed: class DefaultConstructorExpectationSetup extends AbstractConstructorExpectationSetup
  • removed: ctor ConstructorAwareExpectationSetup(Constructor)
  • removed: ctor DefaultConstructorExpectationSetup(Class)
  • removed: method ConstructorAwareExpectationSetup.withArguments(Object, Object[]): OngoingStubbing
  • removed: method ConstructorAwareExpectationSetup.withNoArguments(): OngoingStubbing
  • changed: class PowerMockitoStubberImpl extends StubberImpl implements PowerMockitoStubber → class PowerMockitoStubberImpl implements PowerMockitoStubber, Stubber
  • changed: ctor PowerMockitoStubberImpl() → ctor PowerMockitoStubberImpl(Stubber)
  • added: class DelegatingToConstructorsOngoingStubbing implements OngoingStubbing
  • added: ctor DelegatingToConstructorsOngoingStubbing(Constructor[], OngoingStubbing)
  • added: method DelegatingToConstructorsOngoingStubbing.getMock(): Object
  • added: method DelegatingToConstructorsOngoingStubbing.then(Answer): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenAnswer(Answer): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenCallRealMethod(): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenReturn(Object): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenReturn(Object, Object[]): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenThrow(Class): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenThrow(Class, Class[]): OngoingStubbing
  • added: method DelegatingToConstructorsOngoingStubbing.thenThrow(Throwable[]): OngoingStubbing
  • added: method PowerMockitoStubberImpl.doAnswer(Answer): Stubber
  • added: method PowerMockitoStubberImpl.doCallRealMethod(): Stubber
  • added: method PowerMockitoStubberImpl.doNothing(): Stubber
  • added: method PowerMockitoStubberImpl.doReturn(Object): Stubber
  • added: method PowerMockitoStubberImpl.doReturn(Object, Object[]): Stubber
  • added: method PowerMockitoStubberImpl.doThrow(Class): Stubber
  • added: method PowerMockitoStubberImpl.doThrow(Class, Class[]): Stubber
  • added: method PowerMockitoStubberImpl.doThrow(Throwable[]): Stubber
  • removed: class MockitoMethodInvocationControl implements MethodInvocationControl
  • removed: class ToStringGenerator
  • removed: ctor MockitoMethodInvocationControl(MockHandler, Object, Object, Method[])
  • removed: ctor MockitoMethodInvocationControl(Object, MockHandler, Method[])
  • removed: ctor ToStringGenerator()
  • removed: method MockitoMethodInvocationControl.getMockHandler(): MockHandler
  • removed: method MockitoMethodInvocationControl.invoke(Object, Method, Object[]): Object
  • removed: method MockitoMethodInvocationControl.isMocked(Method): boolean
  • removed: method MockitoMethodInvocationControl.replay(Object[]): Object
  • removed: method MockitoMethodInvocationControl.reset(Object[]): Object
  • removed: method MockitoMethodInvocationControl.verify(Object[]): Object
  • removed: method MockitoMethodInvocationControl.verifyNoMoreInteractions(): void
  • removed: method ToStringGenerator.generate(Object, Method, Object[]): String
  • added: class InvocationControlAssertionError
  • added: class MockitoNewInvocationControl implements NewInvocationControl
  • added: ctor InvocationControlAssertionError()
  • added: ctor MockitoNewInvocationControl(InvocationSubstitute)
  • added: method MockitoNewInvocationControl.expectSubstitutionLogic(Object[]): OngoingStubbing
  • added: method MockitoNewInvocationControl.getSubstitute(): InvocationSubstitute
  • added: method MockitoNewInvocationControl.invoke(Class, Object[], Class[]): Object
  • added: method MockitoNewInvocationControl.replay(Object[]): Object
  • added: method MockitoNewInvocationControl.reset(Object[]): Object
  • added: method MockitoNewInvocationControl.verify(VerificationMode): void
  • added: method MockitoNewInvocationControl.verifyNoMoreInteractions(): void
  • added: static method InvocationControlAssertionError.throwAssertionErrorForNewSubstitutionFailure(AssertionError, Class): void
  • added: static method InvocationControlAssertionError.updateErrorMessageForMethodInvocation(AssertionError): void
  • added: static method InvocationControlAssertionError.updateErrorMessageForVerifyNoMoreInteractions(AssertionError): void
  • added: abstract class AbstractMockCreator implements MockCreator
  • added: class MockTypeValidatorFactory
  • added: ctor AbstractMockCreator()
  • added: ctor MockTypeValidatorFactory()
  • added: interface MockCreator
  • added: interface MockTypeValidator
  • added: method MockCreator.createMock(Class, boolean, boolean, Object, MockSettings, Method[]): Object
  • added: method MockTypeValidator.validate(): void
  • added: static method MockTypeValidatorFactory.createValidator(Class, boolean, boolean, JavaAgentClassRegister): MockTypeValidator
  • added: class MockitoRealMethodInvocation
  • added: class PowerMockCallRealMethod implements Answer
  • added: ctor PowerMockCallRealMethod()
  • added: method PowerMockCallRealMethod.answer(InvocationOnMock): Object
  • added: static method MockitoRealMethodInvocation.isHandledByMockito(): boolean
  • added: static method MockitoRealMethodInvocation.mockitoInvocationFinished(): void
  • added: static method MockitoRealMethodInvocation.mockitoInvocationStarted(): void
  • removed: class ChainReturns implements Answer
  • removed: ctor ChainReturns(Object, Object[])
  • removed: method ChainReturns.answer(InvocationOnMock): Object
  • removed: class DefaultConstructorArgumentsVerfication implements ConstructorArgumentsVerification
  • removed: class StaticMockAwareVerificationMode extends MockAwareVerificationMode
  • removed: ctor DefaultConstructorArgumentsVerfication(NewInvocationControl, Class)
  • removed: ctor StaticMockAwareVerificationMode(Class, VerificationMode, Set)
  • removed: ctor StaticMockAwareVerificationMode(VerificationMode, Set)
  • removed: method DefaultConstructorArgumentsVerfication.withArguments(Object, Object[]): void
  • removed: method DefaultConstructorArgumentsVerfication.withNoArguments(): void
  • removed: method StaticMockAwareVerificationMode.getClassMock(): Class
  • removed: method StaticMockAwareVerificationMode.getMock(): Object
  • removed: method StaticMockAwareVerificationMode.setClassMock(Class): void
  • removed: method StaticMockAwareVerificationMode.verify(VerificationData): void
  • added: class DefaultConstructorArgumentsVerification implements ConstructorArgumentsVerification
  • added: ctor DefaultConstructorArgumentsVerification(NewInvocationControl, Class)
  • added: method DefaultConstructorArgumentsVerification.withArguments(Object, Object[]): void
  • added: method DefaultConstructorArgumentsVerification.withNoArguments(): void
  • added: class MockHandlerAdaptor
  • added: class MockitoMethodInvocationControl implements MethodInvocationControl
  • added: ctor MockitoMethodInvocationControl(Object, Object, Method[])
  • added: method MockHandlerAdaptor.getMock(): Object
  • added: method MockHandlerAdaptor.getMockSettings(): MockCreationSettings
  • added: method MockitoMethodInvocationControl.getMockHandlerAdaptor(): MockHandlerAdaptor
  • added: method MockitoMethodInvocationControl.invoke(Object, Method, Object[]): Object
  • added: method MockitoMethodInvocationControl.isMocked(Method): boolean
  • added: method MockitoMethodInvocationControl.replay(Object[]): Object
  • added: method MockitoMethodInvocationControl.reset(Object[]): Object
  • added: method MockitoMethodInvocationControl.verifyNoMoreInteractions(): void
  • removed: class MockMakerLoader
  • removed: ctor MockMakerLoader()
  • removed: method MockMakerLoader.load(MockitoConfiguration): MockMaker