| 1206 | class FakeUint64Map : public FakeMap<uint64_t> { |
| 1207 | public: |
| 1208 | explicit FakeUint64Map(const std::map<uint64_t, CelValue>& data) |
| 1209 | : FakeMap(data, CelValue::CreateUint64, |
| 1210 | [](CelValue v) -> absl::optional<uint64_t> { |
| 1211 | if (!v.IsUint64()) { |
| 1212 | return absl::nullopt; |
| 1213 | } |
| 1214 | return v.Uint64OrDie(); |
| 1215 | }) {} |
| 1216 | }; |
| 1217 | |
| 1218 | class FakeStringMap : public FakeMap<CelValue::StringHolder> { |
nothing calls this directly
no test coverage detected