summaryrefslogtreecommitdiffstats
path: root/testing/079_tableofcontents.dox
diff options
context:
space:
mode:
Diffstat (limited to 'testing/079_tableofcontents.dox')
-rw-r--r--testing/079_tableofcontents.dox17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/079_tableofcontents.dox b/testing/079_tableofcontents.dox
index 499771d..7512463 100644
--- a/testing/079_tableofcontents.dox
+++ b/testing/079_tableofcontents.dox
@@ -1,5 +1,6 @@
// objective: test TOC generation for an empty page
// check: empty.xml
+// check: levels.xml
/**
@page empty An empty page
@@ -7,3 +8,19 @@
With an empty TOC.
*/
+
+/**
+@page levels A page with two-level TOC
+
+@tableofcontents{xml:2}
+
+@section first A section that's in TOC
+@subsection first2 A subsection that's in TOC
+@subsubsection first3 A subsubsection that's not in TOC
+
+Nay!
+
+@section second A section that's in TOC again
+
+Yay!
+*/