diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-07-19 19:46:35 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-07-19 19:46:35 (GMT) |
commit | 5875da6cae352bbcbe64f537ccfcfab08ad98b3f (patch) | |
tree | 1f707443b228c25e2d0389133b8e697e88a11426 /testing/027 | |
parent | ea7a639c40a88c0de4baad4c0ffd5ae4b4065969 (diff) | |
download | Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.zip Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.tar.gz Doxygen-5875da6cae352bbcbe64f537ccfcfab08ad98b3f.tar.bz2 |
Added regression test suite
Diffstat (limited to 'testing/027')
-rw-r--r-- | testing/027/struct_car.xml | 95 | ||||
-rw-r--r-- | testing/027/struct_object.xml | 105 | ||||
-rw-r--r-- | testing/027/struct_truck.xml | 95 | ||||
-rw-r--r-- | testing/027/struct_vehicle.xml | 132 |
4 files changed, 427 insertions, 0 deletions
diff --git a/testing/027/struct_car.xml b/testing/027/struct_car.xml new file mode 100644 index 0000000..0e40922 --- /dev/null +++ b/testing/027/struct_car.xml @@ -0,0 +1,95 @@ +<?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="struct_car" kind="struct" prot="public"> + <compoundname>Car</compoundname> + <basecompoundref refid="struct_vehicle" prot="public" virt="non-virtual">Vehicle</basecompoundref> + <sectiondef kind="protected-attrib"> + <memberdef kind="variable" id="struct_car_1ab8ff28306286da5a8b14fa9bdccaafaa" prot="protected" static="no" mutable="no"> + <type> + <ref refid="struct_vehicle" kindref="compound">Vehicle</ref> + </type> + <definition>Vehicle Car::base</definition> + <argsstring/> + <name>base</name> + <briefdescription> + <para>Base class. </para> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" bodystart="69" bodyend="-1"/> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> + <para><ref refid="struct_car" kindref="compound">Car</ref> class. </para> + </detaileddescription> + <inheritancegraph> + <node id="1"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="2" relation="public-inheritance"> + </childnode> + </node> + <node id="2"> + <label>Object</label> + <link refid="struct_object"/> + </node> + <node id="0"> + <label>Car</label> + <link refid="struct_car"/> + <childnode refid="1" relation="public-inheritance"> + </childnode> + </node> + </inheritancegraph> + <collaborationgraph> + <node id="4"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="5" relation="public-inheritance"> + </childnode> + <childnode refid="5" relation="usage"> + <edgelabel>base</edgelabel> + </childnode> + </node> + <node id="5"> + <label>Object</label> + <link refid="struct_object"/> + </node> + <node id="3"> + <label>Car</label> + <link refid="struct_car"/> + <childnode refid="4" relation="public-inheritance"> + </childnode> + <childnode refid="4" relation="usage"> + <edgelabel>base</edgelabel> + </childnode> + </node> + </collaborationgraph> + <location file="027_extends.c" bodystart="67" bodyend="70"/> + <listofallmembers> + <member refid="struct_car_1ab8ff28306286da5a8b14fa9bdccaafaa" prot="protected" virt="non-virtual"> + <scope>Car</scope> + <name>base</name> + </member> + <member refid="struct_object_1a71225073d06a793b9a6ea9263ed37b12" prot="public" virt="non-virtual"> + <scope>Car</scope> + <name>objRef</name> + </member> + <member refid="struct_object_1a924ee0cecc906d148022b3f0d6325cfb" prot="public" virt="non-virtual"> + <scope>Car</scope> + <name>objUnref</name> + </member> + <member refid="struct_vehicle_1a6891d3d28853bc3fdd075596dc6de9f8" prot="public" virt="non-virtual"> + <scope>Car</scope> + <name>vehicleStart</name> + </member> + <member refid="struct_vehicle_1a4dcbcba43792dcd673a552b14479ab77" prot="public" virt="non-virtual"> + <scope>Car</scope> + <name>vehicleStop</name> + </member> + </listofallmembers> + </compounddef> +</doxygen> diff --git a/testing/027/struct_object.xml b/testing/027/struct_object.xml new file mode 100644 index 0000000..107548d --- /dev/null +++ b/testing/027/struct_object.xml @@ -0,0 +1,105 @@ +<?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="struct_object" kind="struct" prot="public"> + <compoundname>Object</compoundname> + <derivedcompoundref refid="struct_vehicle" prot="public" virt="non-virtual">Vehicle</derivedcompoundref> + <sectiondef kind="private-attrib"> + <memberdef kind="variable" id="struct_object_1a1b6037fba835e83243ababce426ff9af" prot="private" static="no" mutable="no"> + <type>int</type> + <definition>int Object::ref</definition> + <argsstring/> + <name>ref</name> + <briefdescription> + <para>Reference count. </para> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" bodystart="21" bodyend="-1"/> + </memberdef> + </sectiondef> + <sectiondef kind="public-func"> + <memberdef kind="function" id="struct_object_1a71225073d06a793b9a6ea9263ed37b12" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type><ref refid="struct_object" kindref="compound">Object</ref> *</type> + <definition>static Object * objRef</definition> + <argsstring>(Object *obj)</argsstring> + <name>objRef</name> + <param> + <type><ref refid="struct_object" kindref="compound">Object</ref> *</type> + <declname>obj</declname> + </param> + <briefdescription> + </briefdescription> + <detaileddescription> + <para>Increments object reference count by one. </para> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" line="29" column="1"/> + </memberdef> + <memberdef kind="function" id="struct_object_1a924ee0cecc906d148022b3f0d6325cfb" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type><ref refid="struct_object" kindref="compound">Object</ref> *</type> + <definition>static Object * objUnref</definition> + <argsstring>(Object *obj)</argsstring> + <name>objUnref</name> + <param> + <type><ref refid="struct_object" kindref="compound">Object</ref> *</type> + <declname>obj</declname> + </param> + <briefdescription> + </briefdescription> + <detaileddescription> + <para>Decrements object reference count by one. </para> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" line="36" column="1"/> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> + <para>Base object class. </para> + </detaileddescription> + <inheritancegraph> + <node id="9"> + <label>Truck</label> + <link refid="struct_truck"/> + <childnode refid="7" relation="public-inheritance"> + </childnode> + </node> + <node id="7"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="6" relation="public-inheritance"> + </childnode> + </node> + <node id="6"> + <label>Object</label> + <link refid="struct_object"/> + </node> + <node id="8"> + <label>Car</label> + <link refid="struct_car"/> + <childnode refid="7" relation="public-inheritance"> + </childnode> + </node> + </inheritancegraph> + <location file="027_extends.c" bodystart="19" bodyend="22"/> + <listofallmembers> + <member refid="struct_object_1a71225073d06a793b9a6ea9263ed37b12" prot="public" virt="non-virtual"> + <scope>Object</scope> + <name>objRef</name> + </member> + <member refid="struct_object_1a924ee0cecc906d148022b3f0d6325cfb" prot="public" virt="non-virtual"> + <scope>Object</scope> + <name>objUnref</name> + </member> + <member refid="struct_object_1a1b6037fba835e83243ababce426ff9af" prot="private" virt="non-virtual"> + <scope>Object</scope> + <name>ref</name> + </member> + </listofallmembers> + </compounddef> +</doxygen> diff --git a/testing/027/struct_truck.xml b/testing/027/struct_truck.xml new file mode 100644 index 0000000..1da9e2f --- /dev/null +++ b/testing/027/struct_truck.xml @@ -0,0 +1,95 @@ +<?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="struct_truck" kind="struct" prot="public"> + <compoundname>Truck</compoundname> + <basecompoundref refid="struct_vehicle" prot="public" virt="non-virtual">Vehicle</basecompoundref> + <sectiondef kind="protected-attrib"> + <memberdef kind="variable" id="struct_truck_1ad0ac321609dda1a6c552488b05ec7ac8" prot="protected" static="no" mutable="no"> + <type> + <ref refid="struct_vehicle" kindref="compound">Vehicle</ref> + </type> + <definition>Vehicle Truck::base</definition> + <argsstring/> + <name>base</name> + <briefdescription> + <para>Base class. </para> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" bodystart="79" bodyend="-1"/> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> + <para><ref refid="struct_truck" kindref="compound">Truck</ref> class. </para> + </detaileddescription> + <inheritancegraph> + <node id="11"> + <label>Truck</label> + <link refid="struct_truck"/> + <childnode refid="12" relation="public-inheritance"> + </childnode> + </node> + <node id="12"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="13" relation="public-inheritance"> + </childnode> + </node> + <node id="13"> + <label>Object</label> + <link refid="struct_object"/> + </node> + </inheritancegraph> + <collaborationgraph> + <node id="14"> + <label>Truck</label> + <link refid="struct_truck"/> + <childnode refid="15" relation="public-inheritance"> + </childnode> + <childnode refid="15" relation="usage"> + <edgelabel>base</edgelabel> + </childnode> + </node> + <node id="15"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="16" relation="public-inheritance"> + </childnode> + <childnode refid="16" relation="usage"> + <edgelabel>base</edgelabel> + </childnode> + </node> + <node id="16"> + <label>Object</label> + <link refid="struct_object"/> + </node> + </collaborationgraph> + <location file="027_extends.c" bodystart="77" bodyend="80"/> + <listofallmembers> + <member refid="struct_truck_1ad0ac321609dda1a6c552488b05ec7ac8" prot="protected" virt="non-virtual"> + <scope>Truck</scope> + <name>base</name> + </member> + <member refid="struct_object_1a71225073d06a793b9a6ea9263ed37b12" prot="public" virt="non-virtual"> + <scope>Truck</scope> + <name>objRef</name> + </member> + <member refid="struct_object_1a924ee0cecc906d148022b3f0d6325cfb" prot="public" virt="non-virtual"> + <scope>Truck</scope> + <name>objUnref</name> + </member> + <member refid="struct_vehicle_1a6891d3d28853bc3fdd075596dc6de9f8" prot="public" virt="non-virtual"> + <scope>Truck</scope> + <name>vehicleStart</name> + </member> + <member refid="struct_vehicle_1a4dcbcba43792dcd673a552b14479ab77" prot="public" virt="non-virtual"> + <scope>Truck</scope> + <name>vehicleStop</name> + </member> + </listofallmembers> + </compounddef> +</doxygen> diff --git a/testing/027/struct_vehicle.xml b/testing/027/struct_vehicle.xml new file mode 100644 index 0000000..a1f7654 --- /dev/null +++ b/testing/027/struct_vehicle.xml @@ -0,0 +1,132 @@ +<?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="struct_vehicle" kind="struct" prot="public"> + <compoundname>Vehicle</compoundname> + <basecompoundref refid="struct_object" prot="public" virt="non-virtual">Object</basecompoundref> + <derivedcompoundref refid="struct_car" prot="public" virt="non-virtual">Car</derivedcompoundref> + <derivedcompoundref refid="struct_truck" prot="public" virt="non-virtual">Truck</derivedcompoundref> + <sectiondef kind="protected-attrib"> + <memberdef kind="variable" id="struct_vehicle_1ad7970f528d429f6fc1725173e93a77c2" prot="protected" static="no" mutable="no"> + <type> + <ref refid="struct_object" kindref="compound">Object</ref> + </type> + <definition>Object Vehicle::base</definition> + <argsstring/> + <name>base</name> + <briefdescription> + <para>Base class. </para> + </briefdescription> + <detaileddescription> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" bodystart="45" bodyend="-1"/> + </memberdef> + </sectiondef> + <sectiondef kind="public-func"> + <memberdef kind="function" id="struct_vehicle_1a6891d3d28853bc3fdd075596dc6de9f8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>void</type> + <definition>void vehicleStart</definition> + <argsstring>(Vehicle *obj)</argsstring> + <name>vehicleStart</name> + <param> + <type><ref refid="struct_vehicle" kindref="compound">Vehicle</ref> *</type> + <declname>obj</declname> + </param> + <briefdescription> + </briefdescription> + <detaileddescription> + <para>Starts the vehicle. </para> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" line="53" column="1"/> + </memberdef> + <memberdef kind="function" id="struct_vehicle_1a4dcbcba43792dcd673a552b14479ab77" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> + <type>void</type> + <definition>void vehicleStop</definition> + <argsstring>(Vehicle *obj)</argsstring> + <name>vehicleStop</name> + <param> + <type><ref refid="struct_vehicle" kindref="compound">Vehicle</ref> *</type> + <declname>obj</declname> + </param> + <briefdescription> + </briefdescription> + <detaileddescription> + <para>Stops the vehicle. </para> + </detaileddescription> + <inbodydescription> + </inbodydescription> + <location file="027_extends.c" line="60" column="1"/> + </memberdef> + </sectiondef> + <briefdescription> + </briefdescription> + <detaileddescription> + <para><ref refid="struct_vehicle" kindref="compound">Vehicle</ref> class. </para> + </detaileddescription> + <inheritancegraph> + <node id="20"> + <label>Truck</label> + <link refid="struct_truck"/> + <childnode refid="17" relation="public-inheritance"> + </childnode> + </node> + <node id="17"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="18" relation="public-inheritance"> + </childnode> + </node> + <node id="18"> + <label>Object</label> + <link refid="struct_object"/> + </node> + <node id="19"> + <label>Car</label> + <link refid="struct_car"/> + <childnode refid="17" relation="public-inheritance"> + </childnode> + </node> + </inheritancegraph> + <collaborationgraph> + <node id="21"> + <label>Vehicle</label> + <link refid="struct_vehicle"/> + <childnode refid="22" relation="public-inheritance"> + </childnode> + <childnode refid="22" relation="usage"> + <edgelabel>base</edgelabel> + </childnode> + </node> + <node id="22"> + <label>Object</label> + <link refid="struct_object"/> + </node> + </collaborationgraph> + <location file="027_extends.c" bodystart="43" bodyend="46"/> + <listofallmembers> + <member refid="struct_vehicle_1ad7970f528d429f6fc1725173e93a77c2" prot="protected" virt="non-virtual"> + <scope>Vehicle</scope> + <name>base</name> + </member> + <member refid="struct_object_1a71225073d06a793b9a6ea9263ed37b12" prot="public" virt="non-virtual"> + <scope>Vehicle</scope> + <name>objRef</name> + </member> + <member refid="struct_object_1a924ee0cecc906d148022b3f0d6325cfb" prot="public" virt="non-virtual"> + <scope>Vehicle</scope> + <name>objUnref</name> + </member> + <member refid="struct_vehicle_1a6891d3d28853bc3fdd075596dc6de9f8" prot="public" virt="non-virtual"> + <scope>Vehicle</scope> + <name>vehicleStart</name> + </member> + <member refid="struct_vehicle_1a4dcbcba43792dcd673a552b14479ab77" prot="public" virt="non-virtual"> + <scope>Vehicle</scope> + <name>vehicleStop</name> + </member> + </listofallmembers> + </compounddef> +</doxygen> |