ProjectExplorer: Move plugin unit tests definition to new class

This removes it from the central public header.

Change-Id: Icf1c552f9136a2e262e1bc48ae164b2fdd8edc79
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2024-02-02 08:14:50 +01:00
parent 48d47faa4b
commit c06dfdb237
23 changed files with 272 additions and 218 deletions

View File

@@ -22,7 +22,7 @@
#ifdef WITH_TESTS
# include <QTest>
# include "projectexplorer.h"
# include "projectexplorer_test.h"
# include "outputparser_test.h"
#endif
@@ -358,7 +358,7 @@ void CustomParsersSelectionWidget::updateSummary()
using namespace Internal;
void ProjectExplorerPlugin::testCustomOutputParsers_data()
void ProjectExplorerTest::testCustomOutputParsers_data()
{
QTest::addColumn<QString>("input");
QTest::addColumn<QString>("workDir");
@@ -657,7 +657,7 @@ void ProjectExplorerPlugin::testCustomOutputParsers_data()
<< QString();
}
void ProjectExplorerPlugin::testCustomOutputParsers()
void ProjectExplorerTest::testCustomOutputParsers()
{
QFETCH(QString, input);
QFETCH(QString, workDir);