From 172c58d17cef75fd8b6850609de4f074c8bcdd98 Mon Sep 17 00:00:00 2001 From: steniu01 Date: Thu, 31 Aug 2017 13:49:08 +0100 Subject: COMPMID-345 Fix the failure counter wrongly logging issue Change-Id: Ic917b0361e602fadb8dbff69c6bec5582d6b261d Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85956 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/framework/Framework.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/framework/Framework.h') diff --git a/tests/framework/Framework.h b/tests/framework/Framework.h index 055392cdae..6a26c29b80 100644 --- a/tests/framework/Framework.h +++ b/tests/framework/Framework.h @@ -191,6 +191,12 @@ public: */ void log_failed_expectation(const TestError &error); + /** Print the debug information that has already been logged + * + * @param[in] info Description of the log info. + */ + void log_info(const std::string &info); + /** Number of iterations per test case. * * @return Number of iterations per test case. @@ -270,6 +276,12 @@ public: */ std::vector test_infos() const; + /** Get the current logging level + * + * @return The current logging level. + */ + LogLevel log_level() const; + private: Framework(); ~Framework() = default; -- cgit v1.2.1