From dc7b2b8d9ca1d394d8338ce1c1f51eafac187908 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 24 Aug 2011 11:39:34 +1000 Subject: Remove color logging feature from qtestlib. This feature was undocumented and only worked if a secret environment variable was set, the test output was going to a real console, and plain text test results were being generated. Including code in testlib for fancy presentation of test results conflicts with testlib's stated goal of being a lightweight framework where every feature contributes to finding bugs, so this feature is being removed. If fancy presentation of test output is required, it should be achieved by post-processing the test output outside of the test framework. Change-Id: I872165c4d2c3d2498c3aa039070ecf319e237ca1 Reviewed-on: http://codereview.qt.nokia.com/3432 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- src/testlib/qabstracttestlogger_p.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/testlib/qabstracttestlogger_p.h') diff --git a/src/testlib/qabstracttestlogger_p.h b/src/testlib/qabstracttestlogger_p.h index 20b212a3b8..beba7e7e0a 100644 --- a/src/testlib/qabstracttestlogger_p.h +++ b/src/testlib/qabstracttestlogger_p.h @@ -98,7 +98,6 @@ public: virtual void registerRandomSeed(unsigned int seed) = 0; static void outputString(const char *msg); - static bool isTtyOutput(); }; struct QTestCharBuffer -- cgit v1.2.3