File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
spock-specs/src/test/groovy/org/spockframework/smoke/mock Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ asciidoctorj = '3.0.0'
33groovy2 = ' 2.5.23'
44groovy3 = ' 3.0.25'
55groovy4 = ' 4.0.29'
6- groovy5 = ' 5.0.1 '
6+ groovy5 = ' 5.0.2 '
77jacoco = ' 0.8.14'
88junit = ' 5.14.0'
99# The VersionRange used by OSGi to check compatibility with JUnit Platform.
Original file line number Diff line number Diff line change @@ -138,24 +138,15 @@ class GroovyMockAbstractGlobalClass extends Specification {
138138 }
139139
140140 static abstract class AbstractClassA {
141- // TODO: verify whether it is necessity to qualify the field access here due to a change in Groovy 5
142- // or whether it is a Spock bug that needs to be fixed
143- // https://issues.apache.org/jira/browse/GROOVY-11781
144- static String getStaticName () { GroovyMockAbstractGlobalClass . NAME }
145-
146- // TODO: verify whether it is necessity to qualify the field access here due to a change in Groovy 5
147- // or whether it is a Spock bug that needs to be fixed
148- // https://issues.apache.org/jira/browse/GROOVY-11781
141+ static String getStaticName () { NAME }
142+
149143 @SuppressWarnings (' GrMethodMayBeStatic' )
150- String getName () { GroovyMockAbstractGlobalClass . NAME }
144+ String getName () { NAME }
151145 }
152146
153147 static class SubClassA extends AbstractClassA {}
154148
155149 static abstract class ClassB {
156- // TODO: verify whether it is necessity to qualify the field access here due to a change in Groovy 5
157- // or whether it is a Spock bug that needs to be fixed
158- // https://issues.apache.org/jira/browse/GROOVY-11781
159- static String getStaticName () { GroovyMockAbstractGlobalClass . NAME }
150+ static String getStaticName () { NAME }
160151 }
161152}
You can’t perform that action at this time.
0 commit comments