diff --git a/src/plugins/projectexplorer/buildsystem.cpp b/src/plugins/projectexplorer/buildsystem.cpp index b91af550d6d..79e4e3ff2b0 100644 --- a/src/plugins/projectexplorer/buildsystem.cpp +++ b/src/plugins/projectexplorer/buildsystem.cpp @@ -368,4 +368,10 @@ QString BuildSystem::disabledReason(const QString &buildKey) const return {}; } +CommandLine BuildSystem::commandLineForTests(const QList & /*tests*/, + const QStringList & /*options*/) const +{ + return {}; +} + } // namespace ProjectExplorer diff --git a/src/plugins/projectexplorer/buildsystem.h b/src/plugins/projectexplorer/buildsystem.h index 305d296b4c9..8171300980a 100644 --- a/src/plugins/projectexplorer/buildsystem.h +++ b/src/plugins/projectexplorer/buildsystem.h @@ -38,6 +38,13 @@ namespace ProjectExplorer { class BuildConfiguration; class Node; +struct TestCaseInfo +{ + QString name; + Utils::FilePath path; + int line = 0; +}; + // -------------------------------------------------------------------- // BuildSystem: // -------------------------------------------------------------------- @@ -95,6 +102,10 @@ public: void setRootProjectNode(std::unique_ptr &&root); + virtual const QList testcasesInfo() const { return {}; } + virtual Utils::CommandLine commandLineForTests(const QList &tests, + const QStringList &options) const; + class PROJECTEXPLORER_EXPORT ParseGuard { friend class BuildSystem; @@ -138,6 +149,7 @@ signals: void parsingFinished(bool success); void deploymentDataChanged(); void applicationTargetsChanged(); + void testInformationUpdated(); protected: // Helper methods to manage parsing state and signalling