forked from qt-creator/qt-creator
CompilationDatabasePM: Be more verbose inside test
Makes it easier to understand what is failing. Change-Id: I23140641a796150aa97f02c514c0ccd8e7623f51 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -98,9 +98,8 @@ void CompilationDatabaseTests::testProject_data()
|
||||
void CompilationDatabaseTests::addTestRow(const QByteArray &relativeFilePath)
|
||||
{
|
||||
const QString absoluteFilePath = m_tmpDir->absolutePath(relativeFilePath);
|
||||
const QString fileName = QFileInfo(absoluteFilePath).fileName();
|
||||
|
||||
QTest::newRow(fileName.toUtf8().constData()) << absoluteFilePath;
|
||||
QTest::newRow(relativeFilePath.constData()) << absoluteFilePath;
|
||||
}
|
||||
|
||||
} // namespace CompilationDatabaseProjectManager
|
||||
|
Reference in New Issue
Block a user