Skip to content

Commit

Permalink
Add test for doc entry association with groups
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhub committed Mar 24, 2023
1 parent 42f744c commit 99948d0
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testing/100/group___a.xml
Original file line number Diff line number Diff line change
@@ -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="" xml:lang="en-US">
<compounddef id="group___a" kind="group">
<compoundname>A</compoundname>
<title>A</title>
<innerfile refid="100__a_8c">100_a.c</innerfile>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
</compounddef>
</doxygen>
12 changes: 12 additions & 0 deletions testing/100/group___b.xml
Original file line number Diff line number Diff line change
@@ -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="" xml:lang="en-US">
<compounddef id="group___b" kind="group">
<compoundname>B</compoundname>
<title>B</title>
<innerfile refid="more__100__b_8c">more_100_b.c</innerfile>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
</compounddef>
</doxygen>
12 changes: 12 additions & 0 deletions testing/100/group___c.xml
Original file line number Diff line number Diff line change
@@ -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="" xml:lang="en-US">
<compounddef id="group___c" kind="group">
<compoundname>C</compoundname>
<title>C</title>
<innerfile refid="more__100__c_8c">more_100_c.c</innerfile>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
</compounddef>
</doxygen>
14 changes: 14 additions & 0 deletions testing/100_a.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
!// objective: test documentation entry association with groups
!// input: more_100_b.c
!// input: more_100_c.c
!// check: group___a.xml
!// check: group___b.xml
!// check: group___c.xml

/**
* @file
*
* @ingroup A
*
* @brief 100_a.c
*/
7 changes: 7 additions & 0 deletions testing/more_100_b.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* @file
*
* @ingroup B
*
* @brief more_100_b.c
*/
19 changes: 19 additions & 0 deletions testing/more_100_c.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* @file
*
* @ingroup C
*
* @brief more_100_c.c
*/

/**
* @defgroup A A
*/

/**
* @defgroup B B
*/

/**
* @defgroup C C
*/

0 comments on commit 99948d0

Please sign in to comment.