AutoTest: Provide basic ctest integration

This allows to have ctest based tests listed inside the test
integration and to run them.

Task-number: QTCREATORBUG-23332
Change-Id: I1cb855697d7bb4afcd7c887506abdea16c252cb0
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-10-19 14:47:45 +02:00
parent f70e7e6c99
commit a59e04b848
12 changed files with 610 additions and 0 deletions

View File

@@ -42,6 +42,7 @@
#include "boost/boosttestframework.h"
#include "catch/catchframework.h"
#include "ctest/ctesttool.h"
#include "gtest/gtestframework.h"
#include "qtest/qttestframework.h"
#include "quick/quicktestframework.h"
@@ -141,6 +142,8 @@ AutotestPluginPrivate::AutotestPluginPrivate()
m_frameworkManager.registerTestFramework(new BoostTestFramework);
m_frameworkManager.registerTestFramework(new CatchFramework);
m_frameworkManager.registerTestTool(new CTestTool);
m_frameworkManager.synchronizeSettings(ICore::settings());
m_navigationWidgetFactory = new TestNavigationWidgetFactory;
m_resultsPane = TestResultsPane::instance();