summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThibaut Cuvelier <cuvelier.thibaut@gmail.com>2022-07-09 17:53:34 +0200
committerPaul Wicking <paul.wicking@qt.io>2022-11-04 14:39:16 +0100
commit4dfe457bc088118b992a346b55ea0853a9db9b6d (patch)
tree170f554c9ddf5255decd83da68955c342d57d5da /tests
parent2cb95e6a003775e7622c766ac13a9f4f31bc4d4a (diff)
downloadqttools-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')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc-test.xml2
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/docbook/testqdoc.xml2
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/scopedenum-docbook/testqdoc-test.xml2
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 &amp;<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 &amp;</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 &amp;<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 &amp;</db:type>
<db:parameter>x</db:parameter>