HART  0.1.0
High level Audio Regression and Testing
Loading...
Searching...
No Matches
hart_expectation_failure_messages.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <vector>
5
6namespace hart
7{
8
9// TODO: Don't expose the vector directly, implement proper interface
11public:
12 static std::vector<std::string>& get()
13 {
14 thread_local std::vector<std::string> messages;
15 return messages;
16 }
17
18 static void clear()
19 {
20 get().clear();
21 }
22
23private:
24 ExpectationFailureMessages() = default;
25};
26
27} // namespace hart
static std::vector< std::string > & get()