forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user