Created
August 11, 2015 09:50
-
-
Save kohsuke/89bdcacbf3ecab67cabb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------- | |
| Test set: com.cloudbees.groovy.cps.CpsTransformerTest | |
| ------------------------------------------------------------------------------- | |
| Tests run: 49, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 3.663 sec <<< FAILURE! | |
| each(com.cloudbees.groovy.cps.CpsTransformerTest) Time elapsed: 0.027 sec <<< FAILURE! | |
| Assertion failed: | |
| assert resultInCps==sh.evaluate(script) | |
| | | | | | | |
| 0 | | 55 | |
| | | def x = 0; | |
| | | (0..10).each { y -> x+=y; } | |
| | | return x; | |
| | groovy.lang.GroovyShell@41878a17 | |
| false | |
| at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:402) | |
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:650) | |
| at com.cloudbees.groovy.cps.AbstractGroovyCpsTest.evalCPS(AbstractGroovyCpsTest.groovy:50) | |
| at com.cloudbees.groovy.cps.AbstractGroovyCpsTest$evalCPS.callCurrent(Unknown Source) | |
| at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52) | |
| at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154) | |
| at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166) | |
| at com.cloudbees.groovy.cps.CpsTransformerTest.each(CpsTransformerTest.groovy:433) | |
| 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:606) | |
| at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) | |
| at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
| at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) | |
| at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
| at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) | |
| at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) | |
| at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) | |
| at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) | |
| at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) | |
| at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) | |
| at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment