COMPMID-345 Fix the failure counter wrongly logging issue
Change-Id: Ic917b0361e602fadb8dbff69c6bec5582d6b261d
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85956
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
diff --git a/tests/framework/Framework.h b/tests/framework/Framework.h
index 055392c..6a26c29 100644
--- a/tests/framework/Framework.h
+++ b/tests/framework/Framework.h
@@ -191,6 +191,12 @@
*/
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 @@
*/
std::vector<TestInfo> test_infos() const;
+ /** Get the current logging level
+ *
+ * @return The current logging level.
+ */
+ LogLevel log_level() const;
+
private:
Framework();
~Framework() = default;