forked from qt-creator/qt-creator
TaskTree: Rename workflow policies
Make naming consistent with recent changes. "Done" is meant to be an event name when the task / group finishes. "Done" may finish with "Success" or an "Error". This addresses the 26th point in the master task below. Task-number: QTCREATORBUG-28741 Change-Id: Icc882710dc4896626dc9332440aa13a692af54c4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -347,7 +347,7 @@ void TestRunner::runTestsHelper()
|
||||
std::unique_ptr<TestOutputReader> m_outputReader;
|
||||
};
|
||||
|
||||
QList<GroupItem> tasks{finishAllAndDone};
|
||||
QList<GroupItem> tasks{finishAllAndSuccess};
|
||||
|
||||
for (ITestConfiguration *config : m_selectedTests) {
|
||||
QTC_ASSERT(config, continue);
|
||||
@@ -445,7 +445,7 @@ void TestRunner::runTestsHelper()
|
||||
}
|
||||
};
|
||||
const Group group {
|
||||
finishAllAndDone,
|
||||
finishAllAndSuccess,
|
||||
Tasking::Storage(storage),
|
||||
onGroupSetup(onSetup),
|
||||
ProcessTask(onProcessSetup, onProcessDone)
|
||||
|
||||
Reference in New Issue
Block a user