aboutsummaryrefslogtreecommitdiff
path: root/pw_kvs/key_value_store_test.cc
diff options
context:
space:
mode:
authorWyatt Hepler <hepler@google.com>2020-02-04 16:56:44 -0800
committerWyatt Hepler <hepler@google.com>2020-02-04 16:57:47 -0800
commitce0da524c5cea4c70162022a67b01d10d14b7c1e (patch)
tree10485f0ab2427bdb30cbff614ab5f5115382b93d /pw_kvs/key_value_store_test.cc
parent6e3a83b61ffb946c5f1c25df9312820fe6678743 (diff)
downloadpigweed-ce0da524c5cea4c70162022a67b01d10d14b7c1e.tar.gz
pw_kvs: Rename Entry to Item
Item is more consistent with Python, and it frees up the name Entry for other uses. Change-Id: Iad27b289203fbb63238ba44defbf61b50a3836c8
Diffstat (limited to 'pw_kvs/key_value_store_test.cc')
-rw-r--r--pw_kvs/key_value_store_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pw_kvs/key_value_store_test.cc b/pw_kvs/key_value_store_test.cc
index ed2ccc87c..07fb39657 100644
--- a/pw_kvs/key_value_store_test.cc
+++ b/pw_kvs/key_value_store_test.cc
@@ -283,14 +283,14 @@ uint16_t CalcTestPartitionCrc() {
} // namespace
TEST_F(KeyValueStoreTest, Iteration_Empty_ByReference) {
- for (const KeyValueStore::Entry& entry : kvs_) {
+ for (const KeyValueStore::Item& entry : kvs_) {
FAIL(); // The KVS is empty; this shouldn't execute.
static_cast<void>(entry);
}
}
TEST_F(KeyValueStoreTest, Iteration_Empty_ByValue) {
- for (KeyValueStore::Entry entry : kvs_) {
+ for (KeyValueStore::Item entry : kvs_) {
FAIL(); // The KVS is empty; this shouldn't execute.
static_cast<void>(entry);
}