| 15 | if (!condition) { |
| 16 | throw std::runtime_error(message); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | std::filesystem::path make_temp_root() { |
| 21 | const auto root = std::filesystem::temp_directory_path() / "audiocpp_server_config_test"; |
| 22 | std::error_code ec; |
| 23 | std::filesystem::remove_all(root, ec); |
| 24 | std::filesystem::create_directories(root); |
| 25 | return root; |
| 26 | } |
no outgoing calls
no test coverage detected