MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / generateTestName

Method generateTestName

tests/coverageobject.cpp:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20QString CoverageObject::generateTestName() const
21{
22 QString test_name;
23 test_name += QString::fromLatin1(metaObject()->className());
24 test_name += u'/';
25 test_name += QString::fromLatin1(QTest::currentTestFunction());
26 if (QTest::currentDataTag()) {
27 test_name += u'/';
28 test_name += QString::fromLatin1(QTest::currentDataTag());
29 }
30 return test_name;
31}
32
33void CoverageObject::saveCoverageData()
34{

Callers

nothing calls this directly

Calls 1

classNameMethod · 0.80

Tested by

no test coverage detected