aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/testresultspane.h
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2019-11-06 14:25:16 +0100
committerChristian Stenger <[email protected]>2019-11-13 13:07:35 +0000
commite58f37606803a561ec9470dab049a3618cdb857f (patch)
tree678ee79e7cc675b0cba7613c76fe3098d4a9a45b /src/plugins/autotest/testresultspane.h
parent2c7e769e312d2e6bf7efe68be2c4f0b6ccb8cf85 (diff)
AutoTest: Tweak output handling
..to be able to distinguish between the output channels. Some test frameworks use the stderr stream for printing relevant output. This is a preparation for coloring the output correctly later on. Change-Id: I3bfea9e552bde3621df99611a124b4f2d3b7d1da Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/autotest/testresultspane.h')
-rw-r--r--src/plugins/autotest/testresultspane.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/autotest/testresultspane.h b/src/plugins/autotest/testresultspane.h
index cccaddec2ea..b92463468ac 100644
--- a/src/plugins/autotest/testresultspane.h
+++ b/src/plugins/autotest/testresultspane.h
@@ -49,6 +49,7 @@ class IContext;
namespace Autotest {
+enum class OutputChannel;
class TestResult;
namespace Internal {
@@ -94,7 +95,7 @@ public:
void goToPrev() override;
void addTestResult(const TestResultPtr &result);
- void addOutputLine(const QByteArray &outputLine);
+ void addOutputLine(const QByteArray &outputLine, OutputChannel channel);
void showTestResult(const QModelIndex &index);
private:
@@ -144,6 +145,7 @@ private:
bool m_atEnd = false;
bool m_testRunning = false;
QVector<TestEditorMark *> m_marks;
+ QList<OutputChannel> m_outputChannels;
};
} // namespace Internal