| 335 | } |
| 336 | |
| 337 | static std::string get_json(const std::string& file) { |
| 338 | std::ifstream ifs; |
| 339 | std::stringstream ss; |
| 340 | ifs.open(file.data()); |
| 341 | ss << ifs.rdbuf(); |
| 342 | return ss.str(); |
| 343 | } |
| 344 | |
| 345 | static std::vector<std::string> get_all_jsons(const std::string& dirname) { |
| 346 | DIR* dir = opendir(dirname.c_str()); |
no test coverage detected