Lines Matching full:this

54     EXPECT_TRUE(Constructed.insert(this).second);  in CtorTester()
57 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
60 EXPECT_TRUE(Constructed.insert(this).second); in CtorTester()
64 EXPECT_EQ(1u, Constructed.erase(this)); in ~CtorTester()
89 // function overloads selected by component types of the type parameter. This
132 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
133 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
136 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST()
139 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST()
140 EXPECT_FALSE(this->Map.contains(this->getKey())); in TYPED_TEST()
141 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST()
143 this->Map.lookup(this->getKey())); in TYPED_TEST()
148 const TypeParam &ConstMap = this->Map; in TYPED_TEST()
156 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
159 EXPECT_EQ(1u, this->Map.size()); in TYPED_TEST()
160 EXPECT_FALSE(this->Map.begin() == this->Map.end()); in TYPED_TEST()
161 EXPECT_FALSE(this->Map.empty()); in TYPED_TEST()
164 typename TypeParam::iterator it = this->Map.begin(); in TYPED_TEST()
165 EXPECT_EQ(this->getKey(), it->first); in TYPED_TEST()
166 EXPECT_EQ(this->getValue(), it->second); in TYPED_TEST()
168 EXPECT_TRUE(it == this->Map.end()); in TYPED_TEST()
171 EXPECT_TRUE(this->Map.count(this->getKey())); in TYPED_TEST()
172 EXPECT_TRUE(this->Map.contains(this->getKey())); in TYPED_TEST()
173 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.begin()); in TYPED_TEST()
174 EXPECT_EQ(this->getValue(), this->Map.lookup(this->getKey())); in TYPED_TEST()
175 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
179 this->Map[this->getKey(0)] = this->getValue(0); in TYPED_TEST()
180 this->Map[this->getKey(1)] = this->getValue(1); in TYPED_TEST()
181 this->Map[this->getKey(2)] = this->getValue(2); in TYPED_TEST()
182 EXPECT_EQ(this->getValue(0), this->Map.at(this->getKey(0))); in TYPED_TEST()
183 EXPECT_EQ(this->getValue(1), this->Map.at(this->getKey(1))); in TYPED_TEST()
184 EXPECT_EQ(this->getValue(2), this->Map.at(this->getKey(2))); in TYPED_TEST()
189 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
190 this->Map.clear(); in TYPED_TEST()
192 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
193 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
194 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST()
199 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
200 this->Map.erase(this->Map.begin()); in TYPED_TEST()
202 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
203 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
204 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST()
209 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
210 this->Map.erase(this->getKey()); in TYPED_TEST()
212 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
213 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
214 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST()
219 this->Map.insert(std::make_pair(this->getKey(), this->getValue())); in TYPED_TEST()
220 EXPECT_EQ(1u, this->Map.size()); in TYPED_TEST()
221 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
226 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
227 TypeParam copyMap(this->Map); in TYPED_TEST()
230 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
236 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
237 TypeParam copyMap(this->Map); in TYPED_TEST()
241 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
246 TypeParam copyMap(this->Map); in TYPED_TEST()
254 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
255 this->Map.clear(); in TYPED_TEST()
256 TypeParam copyMap(this->Map); in TYPED_TEST()
263 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
264 TypeParam copyMap = this->Map; in TYPED_TEST()
267 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
272 EXPECT_EQ(this->getValue(), copyMap[this->getKey()]); in TYPED_TEST()
277 this->Map[this->getKey(Key)] = this->getValue(Key); in TYPED_TEST()
278 TypeParam copyMap = this->Map; in TYPED_TEST()
282 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
288 EXPECT_EQ(this->getValue(Key), copyMap[this->getKey(Key)]); in TYPED_TEST()
293 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
296 this->Map.swap(otherMap); in TYPED_TEST()
297 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
298 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
300 EXPECT_EQ(this->getValue(), otherMap[this->getKey()]); in TYPED_TEST()
302 this->Map.swap(otherMap); in TYPED_TEST()
305 EXPECT_EQ(1u, this->Map.size()); in TYPED_TEST()
306 EXPECT_EQ(this->getValue(), this->Map[this->getKey()]); in TYPED_TEST()
308 // Make this more interesting by inserting 100 numbers into the map. in TYPED_TEST()
310 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()
312 this->Map.swap(otherMap); in TYPED_TEST()
313 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST()
314 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST()
317 EXPECT_EQ(this->getValue(i), otherMap[this->getKey(i)]); in TYPED_TEST()
319 this->Map.swap(otherMap); in TYPED_TEST()
322 EXPECT_EQ(100u, this->Map.size()); in TYPED_TEST()
324 EXPECT_EQ(this->getValue(i), this->Map[this->getKey(i)]); in TYPED_TEST()
335 visitedIndex[this->getKey(i)] = i; in TYPED_TEST()
337 this->Map[this->getKey(i)] = this->getValue(i); in TYPED_TEST()
341 for (typename TypeParam::iterator it = this->Map.begin(); in TYPED_TEST()
342 it != this->Map.end(); ++it) in TYPED_TEST()
353 typename TypeParam::iterator it = this->Map.begin(); in TYPED_TEST()
384 // IF THIS VALUE CHANGE, please update InitialSizeTest, InitFromIterator, and in TEST()
415 // This relies on move-construction elision, and cannot be reliably tested. in TEST()
690 // This is an important build time optimization, since many classes have in TEST()
750 // This is an important build time optimization, since many classes have in TEST()