Skip to content

Commit

Permalink
Add reason for failure to @ignore and @PendingFeature annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley committed Sep 29, 2024
1 parent c1a81eb commit 680d648
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class PropertySourcesConfigSpec extends Specification {
test pass.
*/
@Ignore
@Ignore("Cannot set property 'bar' on null object")
@Issue('grails/grails-core#10188')
void 'test replacing nested property values'() {
given: 'a PropertySourcesConfig'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import grails.databinding.errors.BindingError
import grails.databinding.events.DataBindingListenerAdapter
import org.grails.databinding.converters.DateConversionHelper
import org.grails.databinding.converters.LocalDateTimeConverter
import spock.lang.Ignore
import spock.lang.Issue
import spock.lang.PendingFeature
import spock.lang.Specification

import java.text.SimpleDateFormat
Expand Down Expand Up @@ -56,7 +56,7 @@ class SimpleDataBinderSpec extends Specification {
g.gamma == 3
}

@Ignore
@PendingFeature(reason = 'gadget is null')
void 'Test binding to nested properties with dotted path syntax'() {
given:
def binder = new SimpleDataBinder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import spock.lang.Specification
*/
class MavenRepositorySpec extends Specification {

@Ignore
@Ignore("Could not find artifact org.grails:grails-bom:pom: in grailsCentral (https://repo.grails.org/grails/core)")
void "Test resolve profile"() {
given:"A maven profile repository"
def repo = new MavenProfileRepository()
Expand All @@ -23,7 +23,7 @@ class MavenRepositorySpec extends Specification {
profile.name == 'web'
}

@Ignore
@Ignore("The following artifacts could not be resolved: org.grails:grails-bom:pom: (absent): Could not find artifact org.grails:grails-bom:pom: in grailsCentral (https://repo.grails.org/grails/core)")
void "Test list all profiles"() {
given:"A maven profile repository"
def repo = new MavenProfileRepository()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GrailsCompileStaticCompilationErrorsSpec extends Specification {
e.message.contains 'Cannot query on property "town"'
}

@Ignore
@Ignore("Expected exception of type 'org.codehaus.groovy.control.MultipleCompilationErrorsException', but no exception was thrown")
@Issue(['GRAILS-11056', 'GRAILS-11057'])
void 'Test compiling a dynamic finder call with the wrong number of arguments'() {
given:
Expand Down

0 comments on commit 680d648

Please sign in to comment.