summaryrefslogtreecommitdiffstats
path: root/testing/009_bug.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-07-19 19:46:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-07-19 19:46:35 (GMT)
commit5875da6cae352bbcbe64f537ccfcfab08ad98b3f (patch)
tree1f707443b228c25e2d0389133b8e697e88a11426 /testing/009_bug.cpp
parentea7a639c40a88c0de4baad4c0ffd5ae4b4065969 (diff)
downloadDoxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.zip
Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.tar.gz
Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.tar.bz2
Added regression test suite
Diffstat (limited to 'testing/009_bug.cpp')
-rw-r--r--testing/009_bug.cpp62
1 files changed, 62 insertions, 0 deletions
diff --git a/testing/009_bug.cpp b/testing/009_bug.cpp
new file mode 100644
index 0000000..285c77e
--- /dev/null
+++ b/testing/009_bug.cpp
@@ -0,0 +1,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();
+};
+
+