Searched refs:key_val_pairs (Results 1 – 3 of 3) sorted by relevance
78 ConfigParser::MapVector key_val_pairs; in TEST() local80 EXPECT_EQ(true, parser.Parse(&key_val_pairs)); in TEST()81 EXPECT_EQ(2U, key_val_pairs.size()); in TEST()82 EXPECT_EQ("Value1", key_val_pairs[0]["Key1"]); in TEST()83 EXPECT_EQ("Value2", key_val_pairs[0]["Key2"]); in TEST()84 EXPECT_EQ("Value3", key_val_pairs[0]["Key3"]); in TEST()85 EXPECT_EQ("Value1", key_val_pairs[1]["Key1"]); in TEST()86 key_val_pairs.clear(); in TEST()88 EXPECT_EQ(true, parser.Parse(&key_val_pairs)); in TEST()
188 bool ConfigParser::Parse(MapVector* key_val_pairs) { in Parse() argument192 key_val_pairs->push_back(section); in Parse()195 return (!key_val_pairs->empty()); in Parse()
49 virtual bool Parse(MapVector* key_val_pairs);