forked from qt-creator/qt-creator
AutoTest: Fix displaying XML content
CDATA sections that have line breaks at their line ends within a multiline CDATA section should get handled that these (inner) line breaks do not get lost. This patch fixes displaying failed Qt tests when using the XML output. Change-Id: I3aa7100836613372ac5b2b409c5cfacfb34209ba Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -236,7 +236,7 @@ void TestResultsPane::addTestResult(const TestResultPtr &result)
|
||||
|
||||
void TestResultsPane::addOutput(const QByteArray &output)
|
||||
{
|
||||
m_textOutput->appendPlainText(QString::fromLatin1(output));
|
||||
m_textOutput->insertPlainText(QString::fromLatin1(output));
|
||||
}
|
||||
|
||||
QWidget *TestResultsPane::outputWidget(QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user