Blame testing/009_bug.cpp

Packit Service 50c9f2
// objective: test the \bug, \deprecated, \todo, \test, and \xrefitem commands
Packit Service 50c9f2
// check: class_bug.xml
Packit Service 50c9f2
// check: class_deprecated.xml
Packit Service 50c9f2
// check: class_todo.xml
Packit Service 50c9f2
// check: class_test.xml
Packit Service 50c9f2
// check: class_reminder.xml
Packit Service 50c9f2
// check: bug.xml
Packit Service 50c9f2
// check: deprecated.xml
Packit Service 50c9f2
// check: todo.xml
Packit Service 50c9f2
// check: test.xml
Packit Service 50c9f2
// check: reminders.xml
Packit Service 50c9f2
// config: ALIASES = "reminder=\xrefitem reminders \"Reminder\" \"Reminders\""
Packit Service 50c9f2
Packit Service 50c9f2
/** \bug Class bug. */
Packit Service 50c9f2
class Bug
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    /** Description
Packit Service 50c9f2
     *  \bug Function bug
Packit Service 50c9f2
     *  - list item 1 in bug
Packit Service 50c9f2
     *  - list item 2 in bug
Packit Service 50c9f2
     *
Packit Service 50c9f2
     *  More text.
Packit Service 50c9f2
     */
Packit Service 50c9f2
     void foo();
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2
/** \deprecated This class is deprecated */
Packit Service 50c9f2
class Deprecated
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    /** Do deprecated things.
Packit Service 50c9f2
     *  \deprecated No not use this function anymore. 
Packit Service 50c9f2
     */
Packit Service 50c9f2
    void deprecated();
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2
/** \todo This still needs to be done. */
Packit Service 50c9f2
class Todo
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    /** \todo more things to do here */
Packit Service 50c9f2
    void todo();
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2
/** \test This is part of testing */
Packit Service 50c9f2
class Test
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    /** \test more things to test. */
Packit Service 50c9f2
    void test();
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2
/** \reminder A reminder */
Packit Service 50c9f2
class Reminder
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    /** \reminder Need to rework this before the next release. */
Packit Service 50c9f2
    void reminder();
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2