core: Use enum class for TestSuite::Type

This commit is contained in:
André Apitzsch
2024-02-20 16:05:46 +01:00
parent e46d2a8024
commit a5c42bc879
311 changed files with 370 additions and 331 deletions

View File

@@ -61,7 +61,7 @@ is called "router" such as here:
::
RouterTestSuite::RouterTestSuite()
: TestSuite("router", UNIT)
: TestSuite("router", Type::UNIT)
Try this command:

View File

@@ -162,7 +162,7 @@ which declares a new unit test named ``new-module``,
with a single test case consisting of the class ``NewModuleTestCase1``::
NewModuleTestSuite::NewModuleTestSuite()
: TestSuite("new-module", UNIT)
: TestSuite("new-module", Type::UNIT)
{
AddTestCase(new NewModuleTestCase1);
}

View File

@@ -761,7 +761,7 @@ as a ''unit'' test with the display name, ``my-test-suite-name``.
};
MyTestSuite::MyTestSuite()
: TestSuite("my-test-suite-name", UNIT)
: TestSuite("my-test-suite-name", Type::UNIT)
{
AddTestCase(new MyTestCase, TestCase::Duration::QUICK);
}