Lines Matching refs:getKey

86   typename T::key_type getKey(int i = 0) {
120 EXPECT_FALSE(this->Map.count(this->getKey()));
121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end());
124 this->Map.lookup(this->getKey()));
131 this->Map.lookup(this->getKey()));
145 this->Map[this->getKey()] = this->getValue();
154 EXPECT_EQ(this->getKey(), it->first);
160 EXPECT_TRUE(this->Map.count(this->getKey()));
161 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin());
162 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey()));
163 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]);
168 this->Map[this->getKey()] = this->getValue();
178 this->Map[this->getKey()] = this->getValue();
188 this->Map[this->getKey()] = this->getValue();
189 this->Map.erase(this->getKey());
198 this->Map.insert(std::make_pair(this->getKey(), this->getValue()));
200 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]);
205 this->Map[this->getKey()] = this->getValue();
209 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]);
214 this->Map[this->getKey()] = this->getValue();
218 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]);
223 this->Map[this->getKey()] = this->getValue();
230 EXPECT_EQ(this->getValue(), otherMap[this->getKey()]);
236 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]);
240 this->Map[this->getKey(i)] = this->getValue(i);
247 EXPECT_EQ(this->getValue(i), otherMap[this->getKey(i)]);
254 EXPECT_EQ(this->getValue(i), this->Map[this->getKey(i)]);
265 visitedIndex[this->getKey(i)] = i;
267 this->Map[this->getKey(i)] = this->getValue(i);