Skip to content

Commit

Permalink
Test renumbering
Browse files Browse the repository at this point in the history
The tests numbers 067 and 068 were used twice, test 067 has been renamed to 072 and test 068 has been renamed to 073.
  • Loading branch information
albert-github committed Apr 1, 2018
1 parent 7e2fcd3 commit 1c3317e
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 0 deletions.
32 changes: 32 additions & 0 deletions testing/072/072__using_8cpp.xml
Original file line number Diff line number Diff line change
@@ -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>
7 changes: 7 additions & 0 deletions testing/072_using.cpp
Original file line number Diff line number Diff line change
@@ -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>;
25 changes: 25 additions & 0 deletions testing/073/073__typed__enum_8cpp.xml
Original file line number Diff line number Diff line change
@@ -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>
7 changes: 7 additions & 0 deletions testing/073_typed_enum.cpp
Original file line number Diff line number Diff line change
@@ -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 {};

0 comments on commit 1c3317e

Please sign in to comment.