summaryrefslogtreecommitdiffstats
path: root/testing/009_bug.cpp
blob: 285c77e14bcd7278d7492e6892303f8197bac20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// objective: test the \bug, \deprecated, \todo, \test, and \xrefitem commands
// check: class_bug.xml
// check: class_deprecated.xml
// check: class_todo.xml
// check: class_test.xml
// check: class_reminder.xml
// check: bug.xml
// check: deprecated.xml
// check: todo.xml
// check: test.xml
// check: reminders.xml
// config: ALIASES = "reminder=\xrefitem reminders \"Reminder\" \"Reminders\""

/** \bug Class bug. */
class Bug
{
  public:
    /** Description
     *  \bug Function bug
     *  - list item 1 in bug
     *  - list item 2 in bug
     *
     *  More text.
     */
     void foo();
};

/** \deprecated This class is deprecated */
class Deprecated
{
  public:
    /** Do deprecated things.
     *  \deprecated No not use this function anymore. 
     */
    void deprecated();
};

/** \todo This still needs to be done. */
class Todo
{
  public:
    /** \todo more things to do here */
    void todo();
};

/** \test This is part of testing */
class Test
{
  public:
    /** \test more things to test. */
    void test();
};

/** \reminder A reminder */
class Reminder
{
  public:
    /** \reminder Need to rework this before the next release. */
    void reminder();
};