<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4384" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Hard to show by one single screenshot, there are many small issues across many templates :)<br />
It is all places in templates where output based on options is done, like <tt style="background: #ebebeb; font-size: 13px;">{{ interfaceid }}</tt> or <tt style="background: #ebebeb; font-size: 13px;">{% if testCase_initAndCleanup %}foo{% endif %}</tt>. With all those vars evaluating to null the templates look empty or partially broken.</p>
<p>By example of Qt test suite template, "Implementation" file preview content.</p>
<p>With patch:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">/*
* This file is licensed under the ExampleLicense 3.0
*/
#include "Example.h"
#include <QtTest>
QTEST_MAIN(Example);
void Example::initTestCase()
{
// Called before the first testfunction is executed
}
void Example::cleanupTestCase()
{
// Called after the last testfunction was executed
}
void Example::init()
{
// Called before each testfunction is executed
}
void Example::cleanup()
{
// Called after every testfunction
}
void Example::doFoo()
{
}
void Example::doBar()
{
}
void Example::doMore()
{
}</pre></div>
<p>Without:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">/*
* This file is licensed under the ExampleLicense 3.0
*/
#include "Example.h"
#include <QtTest>
(Example);
void Example::doFoo()
{
}
void Example::doBar()
{
}
void Example::doMore()
{
}</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4384" rel="noreferrer">https://phabricator.kde.org/D4384</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop, apol<br /><strong>Cc: </strong>kdevelop-devel<br /></div>