forked from qt-creator/qt-creator
AutoTest: Fix outputparser
This patch amends 3056105c66. This patch fixes
handling of output while debugging and appending
to the "real" output if the user interacts with
the output while the test is running.
Change-Id: I1db54382f1df3e2b9a5a860002aac8fb208ee5b9
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "testtreemodel.h"
|
||||
#include "testcodeparser.h"
|
||||
#include "testeditormark.h"
|
||||
#include "testoutputreader.h"
|
||||
|
||||
#include <aggregation/aggregate.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
@@ -236,7 +237,7 @@ void TestResultsPane::addTestResult(const TestResultPtr &result)
|
||||
|
||||
void TestResultsPane::addOutput(const QByteArray &output)
|
||||
{
|
||||
m_textOutput->insertPlainText(QString::fromLatin1(output));
|
||||
m_textOutput->appendPlainText(QString::fromLatin1(TestOutputReader::chopLineBreak(output)));
|
||||
}
|
||||
|
||||
QWidget *TestResultsPane::outputWidget(QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user