AutoTest: De-virtualize some properties

Mostly a matter of taste.

Change-Id: If4f329d7f73361ee312387d0aa48d26fc1d98ff0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-07-13 14:08:10 +02:00
parent c2b5a75d76
commit c56301f4ff
14 changed files with 50 additions and 129 deletions

View File

@@ -25,9 +25,12 @@ CatchFramework &theCatchFramework()
}
CatchFramework::CatchFramework()
: ITestFramework(true)
{
setActive(true);
setSettingsGroups("Autotest", "Catch2");
setPriority(12);
setName("Catch");
setDisplayName(Tr::tr("Catch Test"));
setLayouter([this] {
return Row { Form {
@@ -116,21 +119,6 @@ CatchFramework::CatchFramework()
warnOnEmpty.setToolTip(Tr::tr("Warns if a test section does not check any assertion."));
}
const char *CatchFramework::name() const
{
return "Catch";
}
QString CatchFramework::displayName() const
{
return Tr::tr("Catch Test");
}
unsigned CatchFramework::priority() const
{
return 12;
}
ITestParser *CatchFramework::createTestParser()
{
return new CatchTestParser(this);