Skip to content

Commit

Permalink
Regenerate failing tests for Mockito.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjust committed Sep 10, 2024
1 parent e4daab1 commit ea4e822
Show file tree
Hide file tree
Showing 24 changed files with 252 additions and 252 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ org.mockito.exceptions.verification.junit.ArgumentsAreDifferent: message
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockito.verification.VerificationMode$$EnhancerByMockitoWithCGLIB$$1d79a792.verify(<generated>)
at org.mockito.verification.VerificationMode$$EnhancerByMockitoWithCGLIB$$8631810e.verify(<generated>)
at org.mockito.internal.verification.VerificationOverTimeImpl.verify(VerificationOverTimeImpl.java:86)
at org.mockito.internal.verification.VerificationOverTimeImplTest.should_deal_with_junit_assertion_error(VerificationOverTimeImplTest.java:53)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Expand Down Expand Up @@ -61,7 +61,7 @@ junit.framework.AssertionFailedError: message
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockito.verification.VerificationMode$$EnhancerByMockitoWithCGLIB$$1d79a792.verify(<generated>)
at org.mockito.verification.VerificationMode$$EnhancerByMockitoWithCGLIB$$8631810e.verify(<generated>)
at org.mockito.internal.verification.VerificationOverTimeImpl.verify(VerificationOverTimeImpl.java:86)
at org.mockito.internal.verification.VerificationOverTimeImplTest.should_throw_mockito_assertion_error(VerificationOverTimeImplTest.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Expand Down Expand Up @@ -108,7 +108,7 @@ junit.framework.AssertionFailedError: message
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--- org.mockitousage.basicapi.MocksSerializationForAnnotationTest::should_serialize_object_mock
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$ad9c128c; no valid constructor
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$9e9cc0b4; no valid constructor
at java.base/java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
at java.base/java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:875)
at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2170)
Expand Down Expand Up @@ -161,7 +161,7 @@ java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMock
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--- org.mockitousage.basicapi.MocksSerializationForAnnotationTest::should_serialize_real_partial_mock
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$ad9d06c9; no valid constructor
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$9e9db4f1; no valid constructor
at java.base/java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
at java.base/java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:875)
at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2170)
Expand Down Expand Up @@ -214,7 +214,7 @@ java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMock
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--- org.mockitousage.basicapi.MocksSerializationForAnnotationTest::should_serialization_work
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$ad9c128c; no valid constructor
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$9e9cc0b4; no valid constructor
at java.base/java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
at java.base/java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:875)
at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2170)
Expand Down Expand Up @@ -280,7 +280,7 @@ java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMock
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--- org.mockitousage.basicapi.MocksSerializationTest::should_serialize_object_mock
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$15931bef; no valid constructor
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$efe9fd29; no valid constructor
at java.base/java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
at java.base/java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:875)
at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2170)
Expand Down Expand Up @@ -333,7 +333,7 @@ java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMock
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
--- org.mockitousage.basicapi.MocksSerializationTest::should_serialize_real_partial_mock
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$1594102c; no valid constructor
java.io.InvalidClassException: org.mockito.internal.matchers.Any$$EnhancerByMockitoWithCGLIB$$efeaf166; no valid constructor
at java.base/java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
at java.base/java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:875)
at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2170)
Expand Down Expand Up @@ -511,7 +511,7 @@ But was 1 time:
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at $java.util.List$$EnhancerByMockitoWithCGLIB$$2217e28e.clear(<generated>)
at $java.util.List$$EnhancerByMockitoWithCGLIB$$5b59ad4b.clear(<generated>)
at org.mockitousage.verification.VerificationAfterDelayTest.shouldFailVerificationWithWrongTimes(VerificationAfterDelayTest.java:80)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down Expand Up @@ -569,7 +569,7 @@ Wanted at most 0 times but was 1
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at $java.util.List$$EnhancerByMockitoWithCGLIB$$2217e28e.clear(<generated>)
at $java.util.List$$EnhancerByMockitoWithCGLIB$$5b59ad4b.clear(<generated>)
at org.mockitousage.verification.VerificationAfterDelayTest.shouldStopEarlyIfTestIsDefinitelyFailed(VerificationAfterDelayTest.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down Expand Up @@ -654,7 +654,7 @@ mockOne.oneArg(2);
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$274ada3.oneArg(<generated>)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$f35c83dd.oneArg(<generated>)
at org.mockitousage.verification.VerificationInOrderWithCallsTest.shouldFailWhenSingleMethodCallsAreOutOfSequence(VerificationInOrderWithCallsTest.java:81)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down Expand Up @@ -779,7 +779,7 @@ mockTwo.voidMethod();
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$274ada3.voidMethod(<generated>)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$f35c83dd.voidMethod(<generated>)
at org.mockitousage.verification.VerificationInOrderWithCallsTest.shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence(VerificationInOrderWithCallsTest.java:121)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down Expand Up @@ -906,7 +906,7 @@ mockOne.voidMethod();
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$274ada3.oneArg(<generated>)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$f35c83dd.oneArg(<generated>)
at org.mockitousage.verification.VerificationInOrderWithCallsTest.shouldFailWhenDifferentMethodCallsAreOutOfSequence(VerificationInOrderWithCallsTest.java:101)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down Expand Up @@ -971,7 +971,7 @@ mockOne.oneArg(1);
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$274ada3.oneArg(<generated>)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$f35c83dd.oneArg(<generated>)
at org.mockitousage.verification.VerificationInOrderWithCallsTest.shouldFailWhenMethodNotCalled(VerificationInOrderWithCallsTest.java:40)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down Expand Up @@ -1207,7 +1207,7 @@ But was 1 time:
at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:38)
at org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:59)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$274ada3.oneArg(<generated>)
at org.mockitousage.IMethods$$EnhancerByMockitoWithCGLIB$$f35c83dd.oneArg(<generated>)
at org.mockitousage.verification.VerificationInOrderWithCallsTest.shouldFailWhenMethodCalledTooFewTimes(VerificationInOrderWithCallsTest.java:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Expand Down
Loading

0 comments on commit ea4e822

Please sign in to comment.