diff options
author | Thibaut Cuvelier <cuvelier.thibaut@gmail.com> | 2022-07-09 17:53:34 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2022-11-04 14:39:16 +0100 |
commit | 4dfe457bc088118b992a346b55ea0853a9db9b6d (patch) | |
tree | 170f554c9ddf5255decd83da68955c342d57d5da /tests | |
parent | 2cb95e6a003775e7622c766ac13a9f4f31bc4d4a (diff) | |
download | qttools-4dfe457bc088118b992a346b55ea0853a9db9b6d.tar.gz |
Don't chop characters from macro names
Functions end with (), which is not part of their name. Macros don't.
Pick-to: 6.4
Change-Id: Iad32513b473d569dcd9cacb1bd7a695e2d375c17
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests')
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc-test.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc-test.xml index 9c7e71aab..15958881b 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc-test.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc-test.xml @@ -276,7 +276,7 @@ <db:section xml:id="QDOCTEST_MACRO2"> <db:title>[since Test 1.1] QDOCTEST_MACRO2(int &<db:emphasis>x</db:emphasis>)</db:title> <db:methodsynopsis> -<db:methodname>QDOCTEST_MACR</db:methodname> +<db:methodname>QDOCTEST_MACRO2</db:methodname> <db:methodparam> <db:type>int &</db:type> <db:parameter>x</db:parameter> diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc.xml index 8ed4fbc1a..7fd926ed1 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc.xml @@ -59,7 +59,7 @@ <db:section xml:id="QDOCTEST_MACRO"> <db:title>QDOCTEST_MACRO</db:title> <db:methodsynopsis> -<db:methodname>QDOCTEST_MAC</db:methodname> +<db:methodname>QDOCTEST_MACRO</db:methodname> <db:void/> <db:synopsisinfo role="meta">macrowithoutparams</db:synopsisinfo> <db:synopsisinfo role="signature">QDOCTEST_MACRO</db:synopsisinfo> diff --git a/tests/auto/qdoc/generatedoutput/expected_output/scopedenum-docbook/testqdoc-test.xml b/tests/auto/qdoc/generatedoutput/expected_output/scopedenum-docbook/testqdoc-test.xml index 319ec6f3e..410ee4033 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/scopedenum-docbook/testqdoc-test.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/scopedenum-docbook/testqdoc-test.xml @@ -402,7 +402,7 @@ <db:section xml:id="QDOCTEST_MACRO2"> <db:title>[since Test 1.1] QDOCTEST_MACRO2(int &<db:emphasis>x</db:emphasis>)</db:title> <db:methodsynopsis> -<db:methodname>QDOCTEST_MACR</db:methodname> +<db:methodname>QDOCTEST_MACRO2</db:methodname> <db:methodparam> <db:type>int &</db:type> <db:parameter>x</db:parameter> |