summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-01 17:52:57 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-01 17:52:57 (GMT)
commit1c3317e72f7845f121009c10add4d209d607ce48 (patch)
tree8bea0c1ffbd36799e350d2a5e8b5b2a3542f29dc /testing
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-1c3317e72f7845f121009c10add4d209d607ce48.zip
Doxygen-1c3317e72f7845f121009c10add4d209d607ce48.tar.gz
Doxygen-1c3317e72f7845f121009c10add4d209d607ce48.tar.bz2
Test renumbering
The tests numbers 067 and 068 were used twice, test 067 has been renamed to 072 and test 068 has been renamed to 073.
Diffstat (limited to 'testing')
-rw-r--r--testing/072/072__using_8cpp.xml32
-rw-r--r--testing/072_using.cpp7
-rw-r--r--testing/073/073__typed__enum_8cpp.xml25
-rw-r--r--testing/073_typed_enum.cpp7
4 files changed, 71 insertions, 0 deletions
diff --git a/testing/072/072__using_8cpp.xml b/testing/072/072__using_8cpp.xml
new file mode 100644
index 0000000..e368966
--- /dev/null
+++ b/testing/072/072__using_8cpp.xml
@@ -0,0 +1,32 @@
+<?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="072__using_8cpp" kind="file" language="C++">
+ <compoundname>072_using.cpp</compoundname>
+ <sectiondef kind="typedef">
+ <memberdef kind="typedef" id="072__using_8cpp_1a1b01c504448c96cd2191a5184dd31acf" prot="public" static="no">
+ <templateparamlist>
+ <param>
+ <type>class T</type>
+ </param>
+ </templateparamlist>
+ <type>std::vector&lt; T &gt;</type>
+ <definition>using Vec = std::vector&lt;T&gt;</definition>
+ <argsstring/>
+ <name>Vec</name>
+ <briefdescription>
+ <para>A vector. </para>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="072_using.cpp" line="7" column="1" bodyfile="072_using.cpp" bodystart="7" bodyend="-1"/>
+ </memberdef>
+ </sectiondef>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <location file="072_using.cpp"/>
+ </compounddef>
+</doxygen>
diff --git a/testing/072_using.cpp b/testing/072_using.cpp
new file mode 100644
index 0000000..ca02902
--- /dev/null
+++ b/testing/072_using.cpp
@@ -0,0 +1,7 @@
+// objective: test template parameters for a type alias
+// check: 072__using_8cpp.xml
+
+/** \file */
+
+/** @brief A vector */
+template<class T> using Vec = std::vector<T>;
diff --git a/testing/073/073__typed__enum_8cpp.xml b/testing/073/073__typed__enum_8cpp.xml
new file mode 100644
index 0000000..9dda417
--- /dev/null
+++ b/testing/073/073__typed__enum_8cpp.xml
@@ -0,0 +1,25 @@
+<?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="073__typed__enum_8cpp" kind="file" language="C++">
+ <compoundname>073_typed_enum.cpp</compoundname>
+ <sectiondef kind="enum">
+ <memberdef kind="enum" id="073__typed__enum_8cpp_1aa72902e6181db009a6a84502f81612c2" prot="public" static="no" strong="yes">
+ <type>unsigned short</type>
+ <name>E</name>
+ <briefdescription>
+ <para>A strongly-typed enum. </para>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <inbodydescription>
+ </inbodydescription>
+ <location file="073_typed_enum.cpp" line="7" column="1" bodyfile="073_typed_enum.cpp" bodystart="7" bodyend="7"/>
+ </memberdef>
+ </sectiondef>
+ <briefdescription>
+ </briefdescription>
+ <detaileddescription>
+ </detaileddescription>
+ <location file="073_typed_enum.cpp"/>
+ </compounddef>
+</doxygen>
diff --git a/testing/073_typed_enum.cpp b/testing/073_typed_enum.cpp
new file mode 100644
index 0000000..0818463
--- /dev/null
+++ b/testing/073_typed_enum.cpp
@@ -0,0 +1,7 @@
+// objective: test underlying type and strongness for an enum
+// check: 073__typed__enum_8cpp.xml
+
+/** \file */
+
+/** @brief A strongly-typed enum */
+enum class E: unsigned short {};