Created
June 11, 2017 15:16
-
-
Save leonard84/b68221649d6a9f98e6e5b93d364fe272 to your computer and use it in GitHub Desktop.
spock-issue-709-AST
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
@org.spockframework.runtime.model.SpecMetadata(filename = 'script1497193799260.groovy', line = 1) | |
public class VerifyTest implements groovy.lang.GroovyObject extends spock.lang.Specification { | |
private static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo | |
public static transient boolean __$stMC | |
private transient groovy.lang.MetaClass metaClass | |
public VerifyTest() { | |
metaClass = /*BytecodeExpression*/ | |
} | |
@org.spockframework.runtime.model.FeatureMetadata(line = 2, blocks = [[]org.spockframework.runtime.model.BlockKind.EXPECTorg.codehaus.groovy.ast.AnnotationNode@48dca4cf], name = 'test3', parameterNames = [], ordinal = 0) | |
public void $spock_feature_0_0() { | |
this.verifyAll({ | |
org.spockframework.runtime.ErrorCollector $spock_errorCollector = new org.spockframework.runtime.ErrorCollector(true) | |
org.spockframework.runtime.ValueRecorder $spock_valueRecorder = new org.spockframework.runtime.ValueRecorder() | |
try { | |
try { | |
org.spockframework.runtime.SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), '1 == 2', 5, 7, null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(2), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(0), 1) == $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(1), 2))) | |
} | |
catch (java.lang.Throwable throwable) { | |
org.spockframework.runtime.SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, '1 == 2', 5, 7, null, throwable)} | |
finally { | |
} | |
try { | |
org.spockframework.runtime.SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), '3 == 4', 6, 7, null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(2), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(0), 3) == $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(1), 4))) | |
} | |
catch (java.lang.Throwable throwable) { | |
org.spockframework.runtime.SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, '3 == 4', 6, 7, null, throwable)} | |
finally { | |
} | |
try { | |
return org.spockframework.runtime.SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), '5 == 6', 7, 7, null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(2), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(0), 5) == $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(1), 6))) | |
} | |
catch (java.lang.Throwable throwable) { | |
return org.spockframework.runtime.SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, '5 == 6', 7, 7, null, throwable) | |
} | |
finally { | |
} | |
} | |
finally { | |
$spock_errorCollector.validateCollectedErrors()} | |
}) | |
this.getSpecificationContext().getMockController().leaveScope() | |
} | |
protected groovy.lang.MetaClass $getStaticMetaClass() { | |
} | |
public groovy.lang.MetaClass getMetaClass() { | |
} | |
public void setMetaClass(groovy.lang.MetaClass mc) { | |
} | |
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { | |
} | |
public java.lang.Object getProperty(java.lang.String property) { | |
} | |
public void setProperty(java.lang.String property, java.lang.Object value) { | |
} | |
} |
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
@org.spockframework.runtime.model.SpecMetadata(filename = 'script1497193982613.groovy', line = 1) | |
public class VerifyTest implements groovy.lang.GroovyObject extends spock.lang.Specification { | |
private static org.codehaus.groovy.reflection.ClassInfo $staticClassInfo | |
public static transient boolean __$stMC | |
private transient groovy.lang.MetaClass metaClass | |
public VerifyTest() { | |
metaClass = /*BytecodeExpression*/ | |
} | |
@org.spockframework.runtime.model.FeatureMetadata(line = 2, blocks = [[]org.spockframework.runtime.model.BlockKind.EXPECTorg.codehaus.groovy.ast.AnnotationNode@1842a680], name = 'test3', parameterNames = [], ordinal = 0) | |
public void $spock_feature_0_0() { | |
this.verifyAll({ | |
org.spockframework.runtime.ErrorCollector $spock_errorCollector = new org.spockframework.runtime.ErrorCollector(true) | |
org.spockframework.runtime.ValueRecorder $spock_valueRecorder = new org.spockframework.runtime.ValueRecorder() | |
try { | |
try { | |
org.spockframework.runtime.SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), '1 == 2', 5, 7, null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(2), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(0), 1) == $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(1), 2))) | |
} | |
catch (java.lang.Throwable throwable) { | |
org.spockframework.runtime.SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, '1 == 2', 5, 7, null, throwable)} | |
finally { | |
} | |
try { | |
org.spockframework.runtime.SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), '3 == 4', 6, 7, null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(2), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(0), 3) == $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(1), 4))) | |
} | |
catch (java.lang.Throwable throwable) { | |
org.spockframework.runtime.SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, '3 == 4', 6, 7, null, throwable)} | |
finally { | |
} | |
try { | |
return org.spockframework.runtime.SpockRuntime.verifyCondition($spock_errorCollector, $spock_valueRecorder.reset(), '5 == 6', 7, 7, null, $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(2), $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(0), 5) == $spock_valueRecorder.record($spock_valueRecorder.startRecordingValue(1), 6))) | |
} | |
catch (java.lang.Throwable throwable) { | |
return org.spockframework.runtime.SpockRuntime.conditionFailedWithException($spock_errorCollector, $spock_valueRecorder, '5 == 6', 7, 7, null, throwable) | |
} | |
finally { | |
} | |
} | |
finally { | |
$spock_errorCollector.validateCollectedErrors()} | |
}) | |
this.getSpecificationContext().getMockController().leaveScope() | |
} | |
protected groovy.lang.MetaClass $getStaticMetaClass() { | |
} | |
public groovy.lang.MetaClass getMetaClass() { | |
} | |
public void setMetaClass(groovy.lang.MetaClass mc) { | |
} | |
public java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { | |
} | |
public java.lang.Object getProperty(java.lang.String property) { | |
} | |
public void setProperty(java.lang.String property, java.lang.Object value) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment