TaskTree: Rename StopWithDone -> StopWithSuccess

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 task below.

Task-number: QTCREATORBUG-28741
Change-Id: I53ed6905b1c385c398f49e122e8ca60aa3ad0806
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-11-04 12:57:23 +01:00
parent 2c0a59384c
commit 4c38f68d0f
29 changed files with 64 additions and 64 deletions

View File

@@ -355,11 +355,11 @@ void TestRunner::runTestsHelper()
const auto onSetup = [this, config] {
if (!config->project())
return SetupResult::StopWithDone;
return SetupResult::StopWithSuccess;
if (config->testExecutable().isEmpty()) {
reportResult(ResultType::MessageFatal,
Tr::tr("Executable path is empty. (%1)").arg(config->displayName()));
return SetupResult::StopWithDone;
return SetupResult::StopWithSuccess;
}
return SetupResult::Continue;
};