testWithFunctionInclude | Failure | class com.xpn.xwiki.render.XWikiRenderingEngine Failed Rendering of ------- #includeMacros("Test.WebHome")<% println add(1,2) %> ------- to ------- 3 ------- Rendered output: ------- groovy.lang.MissingMethodException: No signature of method Script1.add() is applicable for argument types: (java.lang.Integer, java.lang.Integer) values: [1, 2] -------
junit.framework.AssertionFailedError: class com.xpn.xwiki.render.XWikiRenderingEngine Failed Rendering of ------- #includeMacros("Test.WebHome")<% println add(1,2) %> ------- to ------- 3 ------- Rendered output: ------- groovy.lang.MissingMethodException: No signature of method Script1.add() is applicable for argument types: (java.lang.Integer, java.lang.Integer) values: [1, 2]
-------
at com.xpn.xwiki.test.RenderTest.renderTest(RenderTest.java:124) at com.xpn.xwiki.test.GroovyRenderTest.testWithFunctionInclude(GroovyRenderTest.java:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 2.586 |