| 18 | } |
| 19 | |
| 20 | QString 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 | |
| 33 | void CoverageObject::saveCoverageData() |
| 34 | { |