albertogoffi / toradocu

Toradocu - automated generation of test oracles from Javadoc documentation
Other
42 stars 21 forks source link

Partial fix of Issue #56 and may not be added as a pattern #74

Closed khaeghar closed 7 years ago

khaeghar commented 7 years ago

This fix the issues in PassiveExpiringMap, MapUtils, and one case in IteratorUtils (The second that Ben reported)

The other fails in the #56 are not related with this fix, but maybe with the names of the parameters and the correspondent one in the tag, that may differ more than toradocu can recognise

albertogoffi commented 7 years ago

The other fails in the #56 are not related with this fix, but maybe with the names of the parameters and the correspondent one in the tag, that may differ more than toradocu can recognize.

For @param tags, I suggest to assume that the name of the parameter is correct, i.e., that the name in the comment perfectly corresponds to one of the parameters. If the name in the @param comment doesn't correspond exactly to on of the parameters, it's an error in the Javadoc and Toradocu should probably issue a warning message in those cases.