2016-06-01 16:22:50 +02:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
|
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator.
|
|
|
|
|
**
|
|
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
|
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
|
|
|
|
**
|
|
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
|
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2020-04-16 16:26:59 +02:00
|
|
|
#include "../qtest/qttestframework.h"
|
2016-06-01 16:22:50 +02:00
|
|
|
|
|
|
|
|
namespace Autotest {
|
2017-10-25 14:31:57 +02:00
|
|
|
namespace QuickTest {
|
|
|
|
|
namespace Constants {
|
|
|
|
|
|
|
|
|
|
const char FRAMEWORK_NAME[] = "QtQuickTest";
|
|
|
|
|
|
|
|
|
|
} // namespace Constants
|
|
|
|
|
} // namespace QuickTest
|
|
|
|
|
|
2016-06-01 16:22:50 +02:00
|
|
|
namespace Internal {
|
|
|
|
|
|
2020-04-16 16:26:59 +02:00
|
|
|
class QuickTestFramework : public QtTestFramework
|
2016-06-01 16:22:50 +02:00
|
|
|
{
|
|
|
|
|
public:
|
2020-04-16 16:26:59 +02:00
|
|
|
QuickTestFramework() = default;
|
2016-06-01 16:22:50 +02:00
|
|
|
const char *name() const override;
|
|
|
|
|
unsigned priority() const override;
|
|
|
|
|
|
|
|
|
|
protected:
|
2020-03-13 13:54:33 +01:00
|
|
|
ITestParser *createTestParser() override;
|
2020-03-26 10:11:39 +01:00
|
|
|
TestTreeItem *createRootNode() override;
|
2016-06-01 16:22:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Autotest
|