| 99 | } |
| 100 | |
| 101 | static void SetJSONValue(nlohmann::json& target, const std::string& key, const std::string& value) { |
| 102 | std::lock_guard<std::mutex> autoLock(jsonLocker); |
| 103 | std::string jsonKey; |
| 104 | auto json = FindJSON(target, key, &jsonKey); |
| 105 | (*json)[jsonKey] = value; |
| 106 | } |
| 107 | |
| 108 | bool Baseline::Compare(std::shared_ptr<PixelBuffer> pixelBuffer, const std::string& key) { |
| 109 | if (pixelBuffer == nullptr) { |
no test coverage detected