| 101 | } |
| 102 | |
| 103 | bool TestFeature::Matches(FeatureType & feature) const |
| 104 | { |
| 105 | auto const sv = feature.GetMetadata(feature::Metadata::FMD_TEST_ID); |
| 106 | if (sv.empty()) |
| 107 | return false; |
| 108 | |
| 109 | uint64_t id; |
| 110 | CHECK(strings::to_uint(sv, id), (sv)); |
| 111 | return id == m_id; |
| 112 | } |
| 113 | |
| 114 | void TestFeature::Serialize(FeatureBuilder & fb) const |
| 115 | { |
nothing calls this directly
no test coverage detected