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/testdata/configs/docbook_test.qdocconf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf (limited to 'tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf') diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf new file mode 100644 index 000000000..e8095e405 --- /dev/null +++ b/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf @@ -0,0 +1,2 @@ +include(test.qdocconf) +include(docbook.qdocconf) -- cgit v1.2.3