forked from qt-creator/qt-creator
AutoTest: Handle test tools inside project settings
This effectively enables to handle ctest project wise instead of just globally. So far only code based test frameworks could be enabled or disabled by project. Change-Id: I491f91119c3500131ca51af4d55b0e68d47debf0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -39,6 +39,7 @@ namespace ProjectExplorer { class Project; }
|
||||
namespace Autotest {
|
||||
|
||||
class ITestFramework;
|
||||
class ITestTool;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
@@ -51,13 +52,15 @@ public:
|
||||
explicit ProjectTestSettingsWidget(ProjectExplorer::Project *project,
|
||||
QWidget *parent = nullptr);
|
||||
private:
|
||||
void populateFrameworks(const QHash<Autotest::ITestFramework *, bool> &frameworks);
|
||||
void populateFrameworks(const QHash<Autotest::ITestFramework *, bool> &frameworks,
|
||||
const QHash<Autotest::ITestTool *, bool> &testTools);
|
||||
void onActiveFrameworkChanged(QTreeWidgetItem *item, int column);
|
||||
TestProjectSettings *m_projectSettings;
|
||||
QComboBox *m_useGlobalSettings = nullptr;
|
||||
QTreeWidget *m_activeFrameworks = nullptr;
|
||||
QComboBox *m_runAfterBuild = nullptr;
|
||||
QTimer m_syncFrameworksTimer;
|
||||
QTimer m_syncTimer;
|
||||
int m_syncType = 0;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user