From 333b8f98128b7b822e97cc7d51f79485b4c23fb9 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 6 Nov 2019 14:26:40 +0100 Subject: AutoTest: Allow colored commandline output Some test frameworks allow to print their output colorful to further indicate meanings of messages or test results. Provide a highlighter for the textual output of the results and enable this functionality for GTest and Boost UTF. Keep at least a small backdoor for overwriting this by the user. Fixes: QTCREATORBUG-22297 Change-Id: Iddd2b734416de807635d90c6519553081f7372f2 Reviewed-by: David Schulz --- src/plugins/autotest/testresultspane.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/autotest/testresultspane.h') diff --git a/src/plugins/autotest/testresultspane.h b/src/plugins/autotest/testresultspane.h index b92463468ac..3372cee06bd 100644 --- a/src/plugins/autotest/testresultspane.h +++ b/src/plugins/autotest/testresultspane.h @@ -98,6 +98,8 @@ public: void addOutputLine(const QByteArray &outputLine, OutputChannel channel); void showTestResult(const QModelIndex &index); + OutputChannel channelForBlockNumber(int blockNumber) const; + private: explicit TestResultsPane(QObject *parent = nullptr); -- cgit v1.2.3