From 2c7e769e312d2e6bf7efe68be2c4f0b6ccb8cf85 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 11 Nov 2019 08:03:16 +0100 Subject: AutoTest: Clear up and generalize Instead of transforming forth and back the output try to handle the output once correctly and pass it line-wise around. This also ensures that we always get a single line when appending the output which will be necessary later on. Change-Id: I3e9c6db5f81172997dfe566eee9a86bfe2f17a1f Reviewed-by: David Schulz --- src/plugins/autotest/testresultspane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/autotest/testresultspane.h') diff --git a/src/plugins/autotest/testresultspane.h b/src/plugins/autotest/testresultspane.h index 2b24ee38017..cccaddec2ea 100644 --- a/src/plugins/autotest/testresultspane.h +++ b/src/plugins/autotest/testresultspane.h @@ -94,7 +94,7 @@ public: void goToPrev() override; void addTestResult(const TestResultPtr &result); - void addOutput(const QByteArray &outputWithNewLine); + void addOutputLine(const QByteArray &outputLine); void showTestResult(const QModelIndex &index); private: -- cgit v1.2.3