Lines Matching defs:callback_data_
138 std::map<int, std::string*> callback_data_;
228 STLDeleteValues(&callback_data_);
234 delete callback_data_[id];
235 callback_data_[id] = data.release();
260 EXPECT_EQ(1u, callback_data_.size());
261 EXPECT_TRUE(callback_data_.find(0) != callback_data_.end());
262 EXPECT_FALSE(callback_data_[0]);
269 EXPECT_EQ(1u, callback_data_.size());
270 EXPECT_TRUE(callback_data_.find(1) != callback_data_.end());
271 EXPECT_FALSE(callback_data_[1]);
283 EXPECT_EQ(1u, callback_data_.size());
284 EXPECT_TRUE(callback_data_.find(2) != callback_data_.end());
285 EXPECT_FALSE(callback_data_[2]);
302 EXPECT_EQ(1u, callback_data_.size());
303 ASSERT_TRUE(callback_data_[0]);
304 EXPECT_EQ(k10ByteData, *callback_data_[0]);
315 EXPECT_EQ(1u, callback_data_.size());
316 ASSERT_TRUE(callback_data_[1]);
317 EXPECT_EQ(k10ByteData, *callback_data_[1]);
329 EXPECT_EQ(1u, callback_data_.size());
330 ASSERT_TRUE(callback_data_[2]);
331 EXPECT_EQ(k10ByteData, *callback_data_[2]);
369 EXPECT_EQ(2u, callback_data_.size());
370 ASSERT_TRUE(callback_data_[0]);
371 EXPECT_EQ(k10ByteData, *callback_data_[0]);
372 ASSERT_TRUE(callback_data_[1]);
373 EXPECT_EQ(k20ByteData, *callback_data_[1]);
386 EXPECT_EQ(2u, callback_data_.size());
387 ASSERT_TRUE(callback_data_[2]);
388 EXPECT_EQ(k10ByteData, *callback_data_[2]);
389 ASSERT_TRUE(callback_data_[3]);
390 EXPECT_EQ(k20ByteData, *callback_data_[3]);
420 EXPECT_TRUE(callback_data_.empty());
432 EXPECT_EQ(1u, callback_data_.size());
433 ASSERT_TRUE(callback_data_[0]);
434 EXPECT_EQ(k10ByteData, *callback_data_[0]);
454 EXPECT_TRUE(callback_data_.empty());
470 EXPECT_TRUE(callback_data_.empty());
491 EXPECT_TRUE(callback_data_.empty());
508 EXPECT_EQ(4u, callback_data_.size());
509 ASSERT_TRUE(callback_data_[0]);
510 EXPECT_EQ(k10ByteData, *callback_data_[0]);
511 ASSERT_TRUE(callback_data_[1]);
512 EXPECT_EQ(k10ByteData, *callback_data_[1]);
513 ASSERT_TRUE(callback_data_[2]);
514 EXPECT_EQ(k10ByteData, *callback_data_[2]);
515 ASSERT_TRUE(callback_data_[3]);
516 EXPECT_EQ(k10ByteData, *callback_data_[3]);
541 EXPECT_EQ(1u, callback_data_.size());
542 ASSERT_TRUE(callback_data_[0]);
543 EXPECT_EQ(k10ByteData, *callback_data_[0]);
680 EXPECT_TRUE(callback_data_.empty());
691 EXPECT_EQ(1u, callback_data_.size());
692 ASSERT_TRUE(callback_data_[1]);
693 EXPECT_EQ(k20ByteData, *callback_data_[1]);
744 EXPECT_TRUE(callback_data_.empty());
753 EXPECT_EQ(1u, callback_data_.size());
754 EXPECT_TRUE(callback_data_.find(0) != callback_data_.end());
755 EXPECT_FALSE(callback_data_[0]);
772 EXPECT_EQ(1u, callback_data_.size());
773 ASSERT_TRUE(callback_data_[1]);
774 EXPECT_EQ(k10ByteData, *callback_data_[1]);