forked from qt-creator/qt-creator
AutoTest: Support gathering failed tests
Mark test tree items as failed for the last run to be able to re-run them in an easier way. Change-Id: I7ea3dcd16e5a02797d41f13e02b2fa95b857cf5e Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -71,6 +71,7 @@ public:
|
||||
|
||||
QList<TestConfiguration *> getAllTestConfigurations() const override;
|
||||
QList<TestConfiguration *> getSelectedTestConfigurations() const override;
|
||||
QList<TestConfiguration *> getFailedTestConfigurations() const override;
|
||||
bool canProvideTestConfiguration() const override { return type() != Root; }
|
||||
bool canProvideDebugConfiguration() const override { return canProvideTestConfiguration(); }
|
||||
TestConfiguration *testConfiguration() const override;
|
||||
@@ -83,6 +84,8 @@ private:
|
||||
BoostTestTreeItem::TestStates state,
|
||||
const QString &proFile) const;
|
||||
QString prependWithParentsSuitePaths(const QString &testName) const;
|
||||
QList<TestConfiguration *> getTestConfigurations(
|
||||
std::function<bool(BoostTestTreeItem *)> predicate) const;
|
||||
bool modifyTestContent(const BoostTestParseResult *result);
|
||||
TestStates m_state = Enabled;
|
||||
QString m_fullName;
|
||||
|
||||
Reference in New Issue
Block a user