Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.6
-
None
Description
jacoco is reporting incorrect code coverage results for @Sortable annotated classes.
The generated internal classes should probably be annotated with @generated as well as their default constructor.
For the example from 6 methods are detected as not covered.
http://docs.groovy-lang.org/2.5.6/html/gapi/groovy/transform/Sortable.html
@Sortable class Person { String first String last Integer born }
This bug was found during Hackergarten Zürich
Attachments
Issue Links
- is related to
-
GROOVY-9125 Static block is not annotateable with @Generated
- Closed