From d8a971b8475035f61e1ad3baaef6a8c49556c42d Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Fri, 14 Feb 2020 06:46:33 +0100 Subject: QDoc: Reorganize expected output test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the test has grown in size and scope, the lack of structure adds an unnecessary mental overhead when adding new tests, or when attempting to refactor the tests themselves. - Place all testdata in a directory aptly named testdata, following Qt convention. - Create sub-directories for all tests, so that their data is separated from each other. - Update qdocconf-files to match the new structure. - Update expected output data to match changes in qdocconf-files. - Ensure all tests still run; this requires modifications to paths in .qdocconf files mostly, but also in #include directives. Fixes: QTBUG-82159 Change-Id: I43b2333cacc75d1076a8aca86e89ccc52e4ec8a3 Reviewed-by: Levon Sargsyan Reviewed-by: Topi Reiniƶ --- tests/auto/qdoc/generatedoutput/TestCPP | 5 - .../bug80259/inc/testmodule/TestModule.h | 3 - .../generatedoutput/bug80259/inc/testmodule/aaa.h | 4 - .../generatedoutput/bug80259/inc/testmodule/bbb.h | 5 - .../generatedoutput/bug80259/inc/testmodule/ccc.h | 4 - .../qdoc/generatedoutput/bug80259/src/main.cpp | 54 ------ .../generatedoutput/bug80259/src/qdoc/index.qdoc | 7 - .../generatedoutput/bug80259/testmodule.qdocconf | 13 -- .../bug80259/webxml_testmodule.qdocconf | 2 - .../qdoc/generatedoutput/crossmodule/CrossModule | 2 - .../crossmodule/crossmodule.qdocconf | 10 -- .../qdoc/generatedoutput/crossmodule/testtype.cpp | 56 ------ .../qdoc/generatedoutput/crossmodule/testtype.h | 37 ---- tests/auto/qdoc/generatedoutput/docbook.qdocconf | 3 - .../qdoc/generatedoutput/docbook_test.qdocconf | 2 - .../qdoc/generatedoutput/docbook_testcpp.qdocconf | 2 - .../qdoc/generatedoutput/docbook_testqml.qdocconf | 2 - .../auto/qdoc/generatedoutput/dontdocument/TestCPP | 2 - .../qdoc/generatedoutput/dontdocument/dont.cpp | 47 ----- .../auto/qdoc/generatedoutput/dontdocument/dont.h | 41 ----- .../dontdocument/dontdocument.qdocconf | 7 - .../qdoc/generatedoutput/dontdocument/test.qdoc | 36 ---- .../qdoc/generatedoutput/examples-qhp.qdocconf | 20 --- .../docbook/qdoctests-qdocfileoutput-linking.xml | 2 +- .../docbook/qdoctests-qdocfileoutput.xml | 2 +- .../html/qdoctests-qdocfileoutput-linking.webxml | 2 +- .../html/qdoctests-qdocfileoutput.webxml | 2 +- .../qdoctests-qdocfileoutput-linking.html | 2 +- .../expected_output/qdoctests-qdocfileoutput.html | 2 +- .../auto/qdoc/generatedoutput/ignoresince.qdocconf | 8 - .../excludes/anotherindex.qdoc | 39 ----- .../excludes/parentinclude.qdoc | 64 ------- .../includefromexampledirs.qdocconf | 12 -- .../src/includefromparent.qdoc | 51 ------ .../includefromexampledirs/src/parent.qdocinc | 1 - .../qdoctests-outputfromqdocfiles.qdoc | 83 --------- tests/auto/qdoc/generatedoutput/qml/DocTest.qml | 84 --------- .../qml/componentset/ProgressBar.qml | 145 ---------------- .../generatedoutput/qml/componentset/Switch.qml | 152 ---------------- .../generatedoutput/qml/componentset/TabWidget.qml | 193 --------------------- .../qml/componentset/componentset.pro | 5 - .../generatedoutput/qml/componentset/examples.qdoc | 101 ----------- .../qml/componentset/uicomponents.qdoc.sample | 38 ---- tests/auto/qdoc/generatedoutput/qml/parent.qdoc | 64 ------- tests/auto/qdoc/generatedoutput/qml/type.cpp | 101 ----------- .../generatedoutput/qmlpropertygroups/parent.qdoc | 52 ------ .../qmlpropertygroups/qmlpropertygroups.qdocconf | 7 - tests/auto/qdoc/generatedoutput/scopedenum.qdoc | 35 ---- .../auto/qdoc/generatedoutput/scopedenum.qdocconf | 7 - tests/auto/qdoc/generatedoutput/test.qdocconf | 8 - tests/auto/qdoc/generatedoutput/testcpp.cpp | 175 ------------------- tests/auto/qdoc/generatedoutput/testcpp.h | 67 ------- tests/auto/qdoc/generatedoutput/testcpp.qdocconf | 7 - .../testdata/bug80259/inc/testmodule/TestModule.h | 3 + .../testdata/bug80259/inc/testmodule/aaa.h | 4 + .../testdata/bug80259/inc/testmodule/bbb.h | 5 + .../testdata/bug80259/inc/testmodule/ccc.h | 4 + .../generatedoutput/testdata/bug80259/src/main.cpp | 54 ++++++ .../testdata/bug80259/src/qdoc/index.qdoc | 7 + .../testdata/bug80259/testmodule.qdocconf | 13 ++ .../testdata/bug80259/webxml_testmodule.qdocconf | 2 + .../testdata/configs/docbook.qdocconf | 3 + .../testdata/configs/docbook_test.qdocconf | 2 + .../testdata/configs/docbook_testcpp.qdocconf | 2 + .../testdata/configs/docbook_testqml.qdocconf | 2 + .../testdata/configs/examples-qhp.qdocconf | 20 +++ .../testdata/configs/ignoresince.qdocconf | 8 + .../testdata/configs/scopedenum.qdocconf | 7 + .../generatedoutput/testdata/configs/test.qdocconf | 8 + .../testdata/configs/testcpp.qdocconf | 7 + .../testdata/configs/testqml.qdocconf | 22 +++ .../testdata/configs/testtemplate.qdocconf | 8 + .../testdata/configs/webxml.qdocconf | 4 + .../testdata/configs/webxml_test.qdocconf | 2 + .../testdata/configs/webxml_testcpp.qdocconf | 2 + .../testdata/configs/webxml_testqml.qdocconf | 2 + .../testdata/crossmodule/CrossModule | 2 + .../testdata/crossmodule/crossmodule.qdocconf | 10 ++ .../testdata/crossmodule/testtype.cpp | 56 ++++++ .../testdata/crossmodule/testtype.h | 37 ++++ .../generatedoutput/testdata/dontdocument/TestCPP | 2 + .../generatedoutput/testdata/dontdocument/dont.cpp | 47 +++++ .../generatedoutput/testdata/dontdocument/dont.h | 41 +++++ .../testdata/dontdocument/dontdocument.qdocconf | 7 + .../testdata/dontdocument/test.qdoc | 36 ++++ .../excludes/anotherindex.qdoc | 39 +++++ .../excludes/parentinclude.qdoc | 64 +++++++ .../includefromexampledirs.qdocconf | 12 ++ .../src/includefromparent.qdoc | 51 ++++++ .../includefromexampledirs/src/parent.qdocinc | 1 + .../qdoctests-outputfromqdocfiles.qdoc | 83 +++++++++ .../qdoc/generatedoutput/testdata/qml/DocTest.qml | 84 +++++++++ .../testdata/qml/componentset/ProgressBar.qml | 145 ++++++++++++++++ .../testdata/qml/componentset/Switch.qml | 152 ++++++++++++++++ .../testdata/qml/componentset/TabWidget.qml | 193 +++++++++++++++++++++ .../testdata/qml/componentset/componentset.pro | 5 + .../testdata/qml/componentset/examples.qdoc | 101 +++++++++++ .../qml/componentset/uicomponents.qdoc.sample | 38 ++++ .../qdoc/generatedoutput/testdata/qml/parent.qdoc | 64 +++++++ .../qdoc/generatedoutput/testdata/qml/type.cpp | 101 +++++++++++ .../testdata/qmlpropertygroups/parent.qdoc | 52 ++++++ .../qmlpropertygroups/qmlpropertygroups.qdocconf | 7 + .../testdata/scopedenum/scopedenum.qdoc | 35 ++++ .../qdoc/generatedoutput/testdata/testcpp/TestCPP | 5 + .../generatedoutput/testdata/testcpp/testcpp.cpp | 175 +++++++++++++++++++ .../generatedoutput/testdata/testcpp/testcpp.h | 67 +++++++ .../testdata/testtemplate/testtemplate.cpp | 47 +++++ .../testdata/testtemplate/testtemplate.h | 53 ++++++ tests/auto/qdoc/generatedoutput/testqml.qdocconf | 22 --- tests/auto/qdoc/generatedoutput/testtemplate.cpp | 47 ----- tests/auto/qdoc/generatedoutput/testtemplate.h | 53 ------ .../qdoc/generatedoutput/testtemplate.qdocconf | 8 - .../qdoc/generatedoutput/tst_generatedoutput.cpp | 38 ++-- tests/auto/qdoc/generatedoutput/webxml.qdocconf | 4 - .../auto/qdoc/generatedoutput/webxml_test.qdocconf | 2 - .../qdoc/generatedoutput/webxml_testcpp.qdocconf | 2 - .../qdoc/generatedoutput/webxml_testqml.qdocconf | 2 - 117 files changed, 2028 insertions(+), 2028 deletions(-) delete mode 100644 tests/auto/qdoc/generatedoutput/TestCPP delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/TestModule.h delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/aaa.h delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/bbb.h delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/ccc.h delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/src/main.cpp delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/src/qdoc/index.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/testmodule.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/bug80259/webxml_testmodule.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/crossmodule/CrossModule delete mode 100644 tests/auto/qdoc/generatedoutput/crossmodule/crossmodule.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/crossmodule/testtype.cpp delete mode 100644 tests/auto/qdoc/generatedoutput/crossmodule/testtype.h delete mode 100644 tests/auto/qdoc/generatedoutput/docbook.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/docbook_test.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/docbook_testcpp.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/docbook_testqml.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/dontdocument/TestCPP delete mode 100644 tests/auto/qdoc/generatedoutput/dontdocument/dont.cpp delete mode 100644 tests/auto/qdoc/generatedoutput/dontdocument/dont.h delete mode 100644 tests/auto/qdoc/generatedoutput/dontdocument/dontdocument.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/dontdocument/test.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/examples-qhp.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/ignoresince.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/includefromexampledirs/excludes/anotherindex.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/includefromexampledirs/excludes/parentinclude.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/includefromexampledirs/includefromexampledirs.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/includefromexampledirs/src/includefromparent.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/includefromexampledirs/src/parent.qdocinc delete mode 100644 tests/auto/qdoc/generatedoutput/qdoctests-outputfromqdocfiles.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/qml/DocTest.qml delete mode 100644 tests/auto/qdoc/generatedoutput/qml/componentset/ProgressBar.qml delete mode 100644 tests/auto/qdoc/generatedoutput/qml/componentset/Switch.qml delete mode 100644 tests/auto/qdoc/generatedoutput/qml/componentset/TabWidget.qml delete mode 100644 tests/auto/qdoc/generatedoutput/qml/componentset/componentset.pro delete mode 100644 tests/auto/qdoc/generatedoutput/qml/componentset/examples.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/qml/componentset/uicomponents.qdoc.sample delete mode 100644 tests/auto/qdoc/generatedoutput/qml/parent.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/qml/type.cpp delete mode 100644 tests/auto/qdoc/generatedoutput/qmlpropertygroups/parent.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/qmlpropertygroups/qmlpropertygroups.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/scopedenum.qdoc delete mode 100644 tests/auto/qdoc/generatedoutput/scopedenum.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/test.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/testcpp.cpp delete mode 100644 tests/auto/qdoc/generatedoutput/testcpp.h delete mode 100644 tests/auto/qdoc/generatedoutput/testcpp.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/TestModule.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/aaa.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/bbb.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/ccc.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/src/main.cpp create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/src/qdoc/index.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/testmodule.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/bug80259/webxml_testmodule.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/docbook.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testcpp.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testqml.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/examples-qhp.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/ignoresince.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/scopedenum.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/test.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/testcpp.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/testqml.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/testtemplate.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/webxml.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/webxml_test.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testcpp.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testqml.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/crossmodule/CrossModule create mode 100644 tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.cpp create mode 100644 tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/dontdocument/TestCPP create mode 100644 tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.cpp create mode 100644 tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/dontdocument/dontdocument.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/dontdocument/test.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/anotherindex.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/parentinclude.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/includefromexampledirs.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/includefromparent.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/parent.qdocinc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/componentset/ProgressBar.qml create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/componentset/Switch.qml create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/componentset/TabWidget.qml create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.pro create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/componentset/examples.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/componentset/uicomponents.qdoc.sample create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qml/type.cpp create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/parent.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/qmlpropertygroups.qdocconf create mode 100644 tests/auto/qdoc/generatedoutput/testdata/scopedenum/scopedenum.qdoc create mode 100644 tests/auto/qdoc/generatedoutput/testdata/testcpp/TestCPP create mode 100644 tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp create mode 100644 tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h create mode 100644 tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.cpp create mode 100644 tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.h delete mode 100644 tests/auto/qdoc/generatedoutput/testqml.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/testtemplate.cpp delete mode 100644 tests/auto/qdoc/generatedoutput/testtemplate.h delete mode 100644 tests/auto/qdoc/generatedoutput/testtemplate.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/webxml.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/webxml_test.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/webxml_testcpp.qdocconf delete mode 100644 tests/auto/qdoc/generatedoutput/webxml_testqml.qdocconf diff --git a/tests/auto/qdoc/generatedoutput/TestCPP b/tests/auto/qdoc/generatedoutput/TestCPP deleted file mode 100644 index 4ed786108..000000000 --- a/tests/auto/qdoc/generatedoutput/TestCPP +++ /dev/null @@ -1,5 +0,0 @@ -#include "testcpp.h" - -#ifdef test_template -# include "testtemplate.h" -#endif diff --git a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/TestModule.h b/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/TestModule.h deleted file mode 100644 index 686cbe948..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/TestModule.h +++ /dev/null @@ -1,3 +0,0 @@ -#include "testmodule/aaa.h" -#include "testmodule/bbb.h" -#include "testmodule/ccc.h" diff --git a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/aaa.h b/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/aaa.h deleted file mode 100644 index dea5c1841..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/aaa.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once -class Third -{ -}; diff --git a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/bbb.h b/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/bbb.h deleted file mode 100644 index 0dc6e52c6..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/bbb.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once -class First -{ - class Nested {}; -}; diff --git a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/ccc.h b/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/ccc.h deleted file mode 100644 index d3a1557e1..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/inc/testmodule/ccc.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once -class Second -{ -}; diff --git a/tests/auto/qdoc/generatedoutput/bug80259/src/main.cpp b/tests/auto/qdoc/generatedoutput/bug80259/src/main.cpp deleted file mode 100644 index a8991e18f..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/src/main.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -/*! -\class First -\inmodule TestModule - -This is a first class -*/ - -/*! -\class First::Nested -\inmodule TestModule - -This is a nested class -*/ - -/*! -\class Second -\inmodule TestModule - -This is a second class -*/ - -/*! -\class Third -\inmodule TestModule - -This is a third class -*/ diff --git a/tests/auto/qdoc/generatedoutput/bug80259/src/qdoc/index.qdoc b/tests/auto/qdoc/generatedoutput/bug80259/src/qdoc/index.qdoc deleted file mode 100644 index 35ef7e087..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/src/qdoc/index.qdoc +++ /dev/null @@ -1,7 +0,0 @@ -/*! - \page index.html - \title doc index - - \generatelist {classesbymodule TestModule} - -*/ diff --git a/tests/auto/qdoc/generatedoutput/bug80259/testmodule.qdocconf b/tests/auto/qdoc/generatedoutput/bug80259/testmodule.qdocconf deleted file mode 100644 index c02fb6fcf..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/testmodule.qdocconf +++ /dev/null @@ -1,13 +0,0 @@ -project = TestModule - -moduleheader = TestModule.h - -headerdirs = inc -sourcedirs = src -includepaths += ./bug80259/inc/testmodule - -sources.fileextensions = "*.cpp *.qdoc" -headers.fileextensions = "*.h" - -outputdir = doc -outputformats = HTML diff --git a/tests/auto/qdoc/generatedoutput/bug80259/webxml_testmodule.qdocconf b/tests/auto/qdoc/generatedoutput/bug80259/webxml_testmodule.qdocconf deleted file mode 100644 index 642fe5c2d..000000000 --- a/tests/auto/qdoc/generatedoutput/bug80259/webxml_testmodule.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(testmodule.qdocconf) -include(../webxml.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/crossmodule/CrossModule b/tests/auto/qdoc/generatedoutput/crossmodule/CrossModule deleted file mode 100644 index df9c82ad5..000000000 --- a/tests/auto/qdoc/generatedoutput/crossmodule/CrossModule +++ /dev/null @@ -1,2 +0,0 @@ -#include "../TestCPP" -#include "testtype.h" diff --git a/tests/auto/qdoc/generatedoutput/crossmodule/crossmodule.qdocconf b/tests/auto/qdoc/generatedoutput/crossmodule/crossmodule.qdocconf deleted file mode 100644 index fb4a6be77..000000000 --- a/tests/auto/qdoc/generatedoutput/crossmodule/crossmodule.qdocconf +++ /dev/null @@ -1,10 +0,0 @@ -project = CrossModule -includepaths += -I. - -depends = testcpp - -headers = testtype.h -sources = testtype.cpp - -HTML.nosubdirs = true -HTML.outputsubdir = crossmodule diff --git a/tests/auto/qdoc/generatedoutput/crossmodule/testtype.cpp b/tests/auto/qdoc/generatedoutput/crossmodule/testtype.cpp deleted file mode 100644 index 50d5d4845..000000000 --- a/tests/auto/qdoc/generatedoutput/crossmodule/testtype.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#include "testtype.h" - -/*! - \module CrossModule -*/ -/*! - \class TestType - \inmodule CrossModule - \brief A class inheriting another class that lives in an external doc - module. - - \section1 Linking - - These links go to the parent class: - \list - \li \l {TestQDoc::TestDerived} - \li \l {TestQDoc::}{Test} class \l Usage. - \li QDOCTEST_MACRO - \endlist - - \sa {TestQDoc::Test::}{someFunction()} -*/ - -/*! - Nothing to see here. -*/ -void TestType::nothing() -{ -} diff --git a/tests/auto/qdoc/generatedoutput/crossmodule/testtype.h b/tests/auto/qdoc/generatedoutput/crossmodule/testtype.h deleted file mode 100644 index 957505fcc..000000000 --- a/tests/auto/qdoc/generatedoutput/crossmodule/testtype.h +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#pragma once - -#include "../testcpp.h" - -class TestType : public TestQDoc::TestDerived -{ -public: - TestType() {} - void nothing() {} -}; diff --git a/tests/auto/qdoc/generatedoutput/docbook.qdocconf b/tests/auto/qdoc/generatedoutput/docbook.qdocconf deleted file mode 100644 index 6fe708176..000000000 --- a/tests/auto/qdoc/generatedoutput/docbook.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -outputformats = DocBook -DocBook.nosubdirs = true -DocBook.outputsubdir = docbook diff --git a/tests/auto/qdoc/generatedoutput/docbook_test.qdocconf b/tests/auto/qdoc/generatedoutput/docbook_test.qdocconf deleted file mode 100644 index e8095e405..000000000 --- a/tests/auto/qdoc/generatedoutput/docbook_test.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(test.qdocconf) -include(docbook.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/docbook_testcpp.qdocconf b/tests/auto/qdoc/generatedoutput/docbook_testcpp.qdocconf deleted file mode 100644 index 0abdf8169..000000000 --- a/tests/auto/qdoc/generatedoutput/docbook_testcpp.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(testcpp.qdocconf) -include(docbook.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/docbook_testqml.qdocconf b/tests/auto/qdoc/generatedoutput/docbook_testqml.qdocconf deleted file mode 100644 index 0a0a18b07..000000000 --- a/tests/auto/qdoc/generatedoutput/docbook_testqml.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(testqml.qdocconf) -include(docbook.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/dontdocument/TestCPP b/tests/auto/qdoc/generatedoutput/dontdocument/TestCPP deleted file mode 100644 index 7291e6d8f..000000000 --- a/tests/auto/qdoc/generatedoutput/dontdocument/TestCPP +++ /dev/null @@ -1,2 +0,0 @@ -#include "../TestCPP" -#include "dont.h" diff --git a/tests/auto/qdoc/generatedoutput/dontdocument/dont.cpp b/tests/auto/qdoc/generatedoutput/dontdocument/dont.cpp deleted file mode 100644 index 33e208459..000000000 --- a/tests/auto/qdoc/generatedoutput/dontdocument/dont.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "dont.h" - -/*! - \class UnseenClass - \inmodule TestCPP - \brief A public but undocumented class. -*/ -UnseenClass::UnseenClass() -{ -} - -/*! - \class SeenClass - \inmodule TestCPP - \brief A public but undocumented class. -*/ -SeenClass::SeenClass() -{ -} diff --git a/tests/auto/qdoc/generatedoutput/dontdocument/dont.h b/tests/auto/qdoc/generatedoutput/dontdocument/dont.h deleted file mode 100644 index 5ef436b5c..000000000 --- a/tests/auto/qdoc/generatedoutput/dontdocument/dont.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#pragma once - -class UnseenClass -{ -public: - UnseenClass(); -}; - -class SeenClass : public UnseenClass -{ -public: - SeenClass(); -}; diff --git a/tests/auto/qdoc/generatedoutput/dontdocument/dontdocument.qdocconf b/tests/auto/qdoc/generatedoutput/dontdocument/dontdocument.qdocconf deleted file mode 100644 index 1c141784b..000000000 --- a/tests/auto/qdoc/generatedoutput/dontdocument/dontdocument.qdocconf +++ /dev/null @@ -1,7 +0,0 @@ -include(../testcpp.qdocconf) - -headers += dont.h -sources += dont.cpp test.qdoc - -HTML.nosubdirs = true -HTML.outputsubdir = dontdocument diff --git a/tests/auto/qdoc/generatedoutput/dontdocument/test.qdoc b/tests/auto/qdoc/generatedoutput/dontdocument/test.qdoc deleted file mode 100644 index 3f6e0be30..000000000 --- a/tests/auto/qdoc/generatedoutput/dontdocument/test.qdoc +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \dontdocument (UnseenClass) -*/ - -/*! \page classes.html - \title Classes - \generatelist annotatedclasses -*/ diff --git a/tests/auto/qdoc/generatedoutput/examples-qhp.qdocconf b/tests/auto/qdoc/generatedoutput/examples-qhp.qdocconf deleted file mode 100644 index b4598476e..000000000 --- a/tests/auto/qdoc/generatedoutput/examples-qhp.qdocconf +++ /dev/null @@ -1,20 +0,0 @@ -# QML test includes a documented example -include(testqml.qdocconf) - -examplesinstallpath = test - -# Configure .qhp generation -qhp.projects = Test - -qhp.Test.file = test.qhp -qhp.Test.namespace = org.qt-project.test.001 -qhp.Test.virtualFolder = test -qhp.Test.indexTitle = UI Components -qhp.Test.indexRoot = - -# Add some meta-data to the example -manifestmeta.filters = test - -manifestmeta.test.names = * -manifestmeta.test.attributes = isTest:true -manifestmeta.test.tags = test diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-linking.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-linking.xml index 75255b85d..90fbb79cc 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-linking.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-linking.xml @@ -2,7 +2,7 @@ Testing QDoc's link command -Test +OutputFromQDocFiles A test project for QDoc build artifacts This is a page for testing QDoc's link command. diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput.xml index 017cb8a0b..610197cc7 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput.xml +++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput.xml @@ -2,7 +2,7 @@ Testing QDoc output from .qdoc files -Test +OutputFromQDocFiles A test project for QDoc build artifacts This is a simple page for testing purposes only. diff --git a/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml b/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml index eb519cd51..3983c2bbd 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml +++ b/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput-linking.webxml @@ -1,7 +1,7 @@ - + diff --git a/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput.webxml b/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput.webxml index 94dee89e3..4a56533a4 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput.webxml +++ b/tests/auto/qdoc/generatedoutput/expected_output/html/qdoctests-qdocfileoutput.webxml @@ -1,7 +1,7 @@ - + diff --git a/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-linking.html b/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-linking.html index 74b47375e..2e294ffff 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-linking.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/qdoctests-qdocfileoutput-linking.html @@ -3,7 +3,7 @@ - Testing QDoc's link command | Test + Testing QDoc's link command | OutputFromQDocFiles