forked from qt-creator/qt-creator
C++-Settings/License template: Add %FILENAME%, %CLASS% placeholders.
... for doxygen. Change logic for known empty keywords to be replaced by an empty string. Task-number: QTCREATORBUG-1854
This commit is contained in:
@@ -96,7 +96,7 @@ static QString generateTestCode(const TestWizardParameters &testParams,
|
||||
const QString indent = QString(4, QLatin1Char(' '));
|
||||
QTextStream str(&rc);
|
||||
// Includes
|
||||
str << CppTools::AbstractEditorSupport::licenseTemplate()
|
||||
str << CppTools::AbstractEditorSupport::licenseTemplate(testParams.fileName, testParams.className)
|
||||
<< "#include <QtCore/QString>\n#include <QtTest/QtTest>\n";
|
||||
if (testParams.requiresQApplication)
|
||||
str << "#include <QtCore/QCoreApplication>\n";
|
||||
|
||||
Reference in New Issue
Block a user