From 5b61fd3fbaf41031232296abde56258d12ba3340 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Tue, 12 Sep 2017 15:51:33 +0100 Subject: COMPMID-417: Fix validation Change-Id: I7a745037136bc6e02d177f65fe4f4cd43873b98e Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87406 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- tests/framework/printers/Printer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/framework/printers/Printer.h') diff --git a/tests/framework/printers/Printer.h b/tests/framework/printers/Printer.h index 16a4170d7a..c2a44240ba 100644 --- a/tests/framework/printers/Printer.h +++ b/tests/framework/printers/Printer.h @@ -104,9 +104,10 @@ public: /** Print test error. * - * @param[in] error Description of the error. + * @param[in] error Description of the error. + * @param[in] expected Whether the error was expected or not. */ - virtual void print_error(const std::exception &error) = 0; + virtual void print_error(const std::exception &error, bool expected) = 0; /** Print test log info. * -- cgit v1.2.1