| 47 | } |
| 48 | |
| 49 | void TestStorageProvider::retrieve(const char *key, size_t cchKey, callbackSingle fn) const |
| 50 | { |
| 51 | auto itr = m_map.find(std::string(key, cchKey)); |
| 52 | if (itr != m_map.end()) |
| 53 | fn(key, cchKey, itr->second.data(), itr->second.size()); |
| 54 | } |
| 55 | |
| 56 | size_t TestStorageProvider::clear() |
| 57 | { |