Lines Matching refs:section_iter
94 auto section_iter = config->Find("DID"); in TEST_F() local
95 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
104 auto section_iter = config->Find("DID"); in TEST_F() local
105 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
106 EXPECT_EQ(section_iter->name, "DID"); in TEST_F()
107 EXPECT_TRUE(section_iter->Has("version")); in TEST_F()
108 auto entry_iter = section_iter->Find("version"); in TEST_F()
109 ASSERT_NE(entry_iter, section_iter->entries.end()); in TEST_F()
112 EXPECT_EQ(section_iter->Find("random"), section_iter->entries.end()); in TEST_F()
113 EXPECT_FALSE(section_iter->Has("random")); in TEST_F()
120 auto section_iter = config->Find("DID"); in TEST_F() local
121 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
122 EXPECT_EQ(section_iter->name, "DID"); in TEST_F()
123 EXPECT_FALSE(section_iter->Has("random")); in TEST_F()
124 section_iter->Set("random", "foo"); in TEST_F()
125 EXPECT_TRUE(section_iter->Has("random")); in TEST_F()
126 auto entry_iter = section_iter->Find("random"); in TEST_F()
127 ASSERT_NE(entry_iter, section_iter->entries.end()); in TEST_F()
130 section_iter->Set("random", "bar"); in TEST_F()
132 entry_iter = section_iter->Find("random"); in TEST_F()
133 ASSERT_NE(entry_iter, section_iter->entries.end()); in TEST_F()