From ca22950607e85b3a0846ab08e692233b99361ede Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 12 Apr 2024 09:45:25 +0000 Subject: qdoc: Remove conflicting QDoc command in a test case The `comprehensiveproject` test case included two QML types that both referred to the same C++ class with `\instantiates` command. This resulted in variance in output based on the order of parsing the source files. Remove one of the conflicting commands. Change-Id: Ib398725db7aef9049ac02b519d7ea9c33f7b5623 Reviewed-by: Luca Di Sera Reviewed-by: Paul Wicking --- .../expected/docbook/qml-test-nover-typenoversion.xml | 6 ------ .../expected/html/qml-test-nover-typenoversion.html | 2 +- .../testdata/comprehensiveproject/qml/type.cpp | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/docbook/qml-test-nover-typenoversion.xml b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/docbook/qml-test-nover-typenoversion.xml index 4e96ad30d..581207402 100644 --- a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/docbook/qml-test-nover-typenoversion.xml +++ b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/docbook/qml-test-nover-typenoversion.xml @@ -23,12 +23,6 @@ -Instantiates: - -TestDerived - - - Status: Tech Preview diff --git a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/html/qml-test-nover-typenoversion.html b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/html/qml-test-nover-typenoversion.html index bf14e2e67..b754038d9 100644 --- a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/html/qml-test-nover-typenoversion.html +++ b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/expected/html/qml-test-nover-typenoversion.html @@ -23,7 +23,7 @@

Another QML type documented in a .cpp file. More...

-
Import Statement: import Test.NoVer
Since: Qt 1.1
Instantiates: TestDerived
Status: Tech Preview
    + Import Statement: import Test.NoVer Since: Qt 1.1 Status: Tech Preview diff --git a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/qml/type.cpp b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/qml/type.cpp index 157bb807f..8bd99a82b 100644 --- a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/qml/type.cpp +++ b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/comprehensiveproject/qml/type.cpp @@ -37,7 +37,6 @@ /*! \qmltype TypeNoVersion - \instantiates TestQDoc::TestDerived \inqmlmodule Test.NoVer \brief Another QML type documented in a .cpp file. */ -- cgit v1.2.3