AutoTest: Fix Qt Quick Test execution

Qt Quick Tests share their settings with Qt Tests and
have none on their own.
Make the separate handled framework of Qt Quick Test
derive from Qt Test framework to share the settings.
Regression introduced with 2c79196ab5.

Change-Id: I9934b0357365e2739e7a72b114df97f49da6bc50
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2020-04-16 16:26:59 +02:00
parent 96fe0aab8d
commit 91509727e0

View File

@@ -25,7 +25,7 @@
#pragma once #pragma once
#include "../itestframework.h" #include "../qtest/qttestframework.h"
namespace Autotest { namespace Autotest {
namespace QuickTest { namespace QuickTest {
@@ -38,10 +38,10 @@ const char FRAMEWORK_NAME[] = "QtQuickTest";
namespace Internal { namespace Internal {
class QuickTestFramework : public ITestFramework class QuickTestFramework : public QtTestFramework
{ {
public: public:
QuickTestFramework() : ITestFramework(true) {} QuickTestFramework() = default;
const char *name() const override; const char *name() const override;
unsigned priority() const override; unsigned priority() const override;