aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/printers/PrettyPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/printers/PrettyPrinter.cpp')
-rw-r--r--tests/framework/printers/PrettyPrinter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/framework/printers/PrettyPrinter.cpp b/tests/framework/printers/PrettyPrinter.cpp
index 280813f044..a2ce821f6b 100644
--- a/tests/framework/printers/PrettyPrinter.cpp
+++ b/tests/framework/printers/PrettyPrinter.cpp
@@ -108,6 +108,13 @@ void PrettyPrinter::print_error(const std::exception &error, bool expected)
*_stream << begin_color("1") << prefix << error.what() << end_color() << "\n";
}
+void PrettyPrinter::print_list_tests(const std::vector<TestInfo> &infos)
+{
+ for(auto info : infos)
+ {
+ *_stream << "[" << info.id << ", " << info.mode << ", " << info.status << "] " << info.name << "\n";
+ }
+}
void PrettyPrinter::print_measurements(const Profiler::MeasurementsMap &measurements)
{
for(const auto &instrument : measurements)