| 2319 | } |
| 2320 | |
| 2321 | void schemaCoverage(std::string const& spath, bool covered) { |
| 2322 | static std::map<bool, std::set<std::string>> coveredSchemaPaths; |
| 2323 | |
| 2324 | if (coveredSchemaPaths[covered].insert(spath).second) { |
| 2325 | TraceEvent ev(SevInfo, "CodeCoverage"); |
| 2326 | ev.detail("File", "documentation/StatusSchema.json/" + spath).detail("Line", 0); |
| 2327 | if (!covered) |
| 2328 | ev.detail("Covered", 0); |
| 2329 | } |
| 2330 | } |
| 2331 | |
| 2332 | bool schemaMatch(json_spirit::mValue const& schemaValue, |
| 2333 | json_spirit::mValue const& resultValue, |
no test coverage detected