MCPcopy
hub / github.com/apache/groovy / checkStringWithNoAnnos

Method checkStringWithNoAnnos

src/test/groovy/bugs/Groovy8008Bug.java:95–98  ·  view source on GitHub ↗
(Parameter param)

Source from the content-addressed store, hash-verified

93 }
94
95 private void checkStringWithNoAnnos(Parameter param) {
96 assertEquals(String.class.getName(), param.getType().getName());
97 assertEquals(0, param.getAnnotations().size());
98 }
99
100 private void checkDateWithTwoAnnos(Parameter param2) {
101 assertEquals(Date.class.getName(), param2.getType().getName());

Calls 5

getNameMethod · 0.65
getTypeMethod · 0.65
sizeMethod · 0.65
getAnnotationsMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected