13 class TreeTestCaseCollection;
31 std::map<std::string, TreeTestCaseCollection*>
_subTests;
68 const std::string& testCaseCollectionName =
"",
69 bool deleteTestCases =
true,
70 bool writeToLog =
true
86 virtual void run(
const std::string& prefix );
Represents one test case.
static std::string getRemainingPathWithoutIdentifier(const std::string &testCaseName)
static bool isNameWithoutHierarchy(const std::string &testCaseName)
void addTestCase(const std::string &fullQualifiedPath, TestCase *testCase)
Adds a new test case.
virtual void run()
Runs all test cases assigned.
static tarch::logging::Log _log
Log interface the class writes to.
virtual ~TreeTestCaseCollection()
Destructor.
bool _deleteTestCases
Tells whether the testcases contained should be deleted uppon destruction of this object.
bool _writeToLog
Tells the collection wheather to log a progression bar.
std::list< TestCase * > _testCases
Sequence of test cases that are executes on a run() call.
TreeTestCaseCollection(const std::string &testCaseCollectionName="", bool deleteTestCases=true, bool writeToLog=true)
Creates a test case collection.
std::map< std::string, TreeTestCaseCollection * > _subTests
static std::string getFirstIdentifierInHierarchy(const std::string &testCaseName)
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.