| 279 | } |
| 280 | |
| 281 | inline ComparisonResult::EntityDifference getEntityDifference(const ComparisonResult::Ptr& result, const std::string& name) |
| 282 | { |
| 283 | for (const auto& difference : result->differingEntities) |
| 284 | { |
| 285 | if (difference.entityName == name) |
| 286 | { |
| 287 | return difference; |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | return ComparisonResult::EntityDifference(); |
| 292 | } |
| 293 | |
| 294 | TEST_F(MapMergeTest, DetectMissingEntities) |
| 295 | { |
no test coverage detected