Autotest: Add ITestParser::supportedExtensions

Change-Id: I3bb0f9b2a989cc4c9b4f6ae95d36308bc192158d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-01-17 12:09:18 +01:00
parent 73c2c86c61
commit ab4689fbcb
3 changed files with 7 additions and 2 deletions

View File

@@ -29,6 +29,8 @@ public:
bool processDocument(QFutureInterface<TestParseResultPtr> &futureInterface,
const Utils::FilePath &fileName) override;
Utils::FilePath projectFileForMainCppFile(const Utils::FilePath &fileName) const;
QStringList supportedExtensions() const override { return {"qml"}; };
private:
bool handleQtQuickTest(QFutureInterface<TestParseResultPtr> &futureInterface,
CPlusPlus::Document::Ptr document, ITestFramework *framework);