diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2018-12-29 20:30:51 (GMT) |
---|---|---|
committer | Vladimír Vondruš <mosra@centrum.cz> | 2018-12-29 20:49:15 (GMT) |
commit | e26a5b8eed8a012e6a400f1ed6baf27980668b53 (patch) | |
tree | 9f3d1774302a70eb2ca71e8514cbb0783fd4dc2c /testing | |
parent | 1ef6dd1d4accefe87d0941a429eef5f1fdb9cf73 (diff) | |
download | Doxygen-e26a5b8eed8a012e6a400f1ed6baf27980668b53.zip Doxygen-e26a5b8eed8a012e6a400f1ed6baf27980668b53.tar.gz Doxygen-e26a5b8eed8a012e6a400f1ed6baf27980668b53.tar.bz2 |
testing: add a test for XML output with an empty TOC.
Fails, in particular causes Doxygen to produce an empty (or truncated)
XML file but returning with a success error code.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/079/empty.xml | 12 | ||||
-rw-r--r-- | testing/079_tableofcontents.dox | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/testing/079/empty.xml b/testing/079/empty.xml new file mode 100644 index 0000000..3e1d691 --- /dev/null +++ b/testing/079/empty.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version=""> + <compounddef id="empty" kind="page"> + <compoundname>empty</compoundname> + <title>An empty page</title> + <briefdescription> + </briefdescription> + <detaileddescription> +<para>With an empty TOC. </para> + </detaileddescription> + </compounddef> +</doxygen> diff --git a/testing/079_tableofcontents.dox b/testing/079_tableofcontents.dox new file mode 100644 index 0000000..499771d --- /dev/null +++ b/testing/079_tableofcontents.dox @@ -0,0 +1,9 @@ +// objective: test TOC generation for an empty page +// check: empty.xml +/** +@page empty An empty page + +@tableofcontents + +With an empty TOC. +*/ |