Lines Matching defs:key3
82 const std::string key3 = "efgh";
116 entry3.set_local_id(key3);
121 // key3 found.
122 EXPECT_EQ(FILE_ERROR_OK, storage_->GetEntry(key3, &result));
124 EXPECT_EQ(key3, child_id);
133 EXPECT_EQ(key3, child_id);
136 EXPECT_EQ(FILE_ERROR_OK, storage_->RemoveEntry(key3));
137 EXPECT_EQ(FILE_ERROR_NOT_FOUND, storage_->GetEntry(key3, &result));
563 const std::string key3 = "boo";
590 // Add parent-child relationship between key2 and key3.
591 PutChild(key2, name3, key3);
592 EXPECT_FALSE(CheckValidity()); // key3 is not stored in the storage.
594 // Put entry with key3 under key2.
595 entry.set_local_id(key3);
604 PutChild(key2, name2, key3);
607 // Fix up the relationship between key2 and key3.
610 PutChild(key2, name3, key3);
619 // Remove key3.
622 EXPECT_EQ(FILE_ERROR_OK, storage_->RemoveEntry(key3));