Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Cannot Reproduce
-
2.24.06
-
None
-
None
Description
While build cms branch 2.24.xx with mvn clean install, I see below unit test failure
Running org.hippoecm.frontend.service.restproxy.custom.AnnotationJsonDeserializerTest
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.385 sec <<< FAILURE!
testWebsiteInfo(org.hippoecm.frontend.service.restproxy.custom.AnnotationJsonDeserializerTest) Time elapsed: 0.011 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<[@org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath(pickerInitialPath=/content/assets/themes/css, pickerConfiguration=cms-pickers/assets, isRelative=false, pickerRemembersLastVisited=true, pickerSelectableNodeTypes=[hippogallery:exampleAssetSet]), @org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath(pickerInitialPath=/content/gallery/logos, pickerConfiguration=cms-pickers/documents, isRelative=false, pickerRemembersLastVisited=true, pickerSelectableNodeTypes=[hippogogreengallery:imageset])]> but was:<[org.hippoecm.frontend.service.restproxy.custom.json.deserializers.AnnotationJsonDeserializer$AnnotationProxyInvocationHandler@e478e18 : org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath, org.hippoecm.frontend.service.restproxy.custom.json.deserializers.AnnotationJsonDeserializer$AnnotationProxyInvocationHandler@7bc1d0fa : org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.hippoecm.frontend.service.restproxy.custom.AnnotationJsonDeserializerTest.runIt(AnnotationJsonDeserializerTest.java:134)
at org.hippoecm.frontend.service.restproxy.custom.AnnotationJsonDeserializerTest.testWebsiteInfo(AnnotationJsonDeserializerTest.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Results :
Failed tests: testWebsiteInfo(org.hippoecm.frontend.service.restproxy.custom.AnnotationJsonDeserializerTest): expected:<[@org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath(pickerInitialPath=/content/assets/themes/css, pickerConfiguration=cms-pickers/assets, isRelative=false, pickerRemembersLastVisited=true, pickerSelectableNodeTypes=[hippogallery:exampleAssetSet]), @org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath(pickerInitialPath=/content/gallery/logos, pickerConfiguration=cms-pickers/documents, isRelative=false, pickerRemembersLastVisited=true, pickerSelectableNodeTypes=[hippogogreengallery:imageset])]> but was:<[org.hippoecm.frontend.service.restproxy.custom.json.deserializers.AnnotationJsonDeserializer$AnnotationProxyInvocationHandler@e478e18 : org.hippoecm.frontend.service.restproxy.test.annotations.JcrPath, org.hippoecm.frontend.service.restproxy.custom.json.deserializers.AnnotationJsonDeserializer$AnnotationProxyInvocationHandler@7bc1d0fa : org.
hippoecm.frontend.service.restproxy.test.annotations.JcrPath]>