Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.6
-
None
Description
jacoco is reporting incorrect code coverage results for @Bindable annotated classes.
The generated
- set*
- firePropertyChange
- removePropertyChangeListener,
- addPropertyChangeListener
- getPropertyChangeListener
methods should probably be annotated with @Generated
In the examples below 11 methods that are detected as not covered.
http://docs.groovy-lang.org/2.5.6/html/gapi/groovy/beans/Bindable.html
class Person { @groovy.beans.Bindable String firstName @groovy.beans.Bindable def zipCode }
This bug was found during Hackergarten Zürich