Add a simple test of multiple parameters to Doxygen test suite.

Ensure that translating more than one @param tag works correctly.
This commit is contained in:
Vadim Zeitlin 2014-08-05 01:48:49 +02:00
commit 0f21adf3f9
3 changed files with 33 additions and 2 deletions

View file

@ -85,8 +85,15 @@ public class doxygen_basic_translate_runme {
" This is function <b>two </b>\n" +
" \n" +
"");
wantedComments.put("doxygen_basic_translate.doxygen_basic_translate.Atan2(double, double)",
" Multiple parameters test.\n" +
" \n" +
" @param y Vertical coordinate.\n" +
" @param x Horizontal coordinate.\n" +
" @return Arc tangent of <code>y/x</code>.\n" +
"");
// and ask the parser to check comments for us
System.exit(parser.check(wantedComments));
}
}
}