Lines Matching defs:switch_list
255 std::map<std::string, CommandLine::StringType> switch_list;
256 switch_list[kSwitch1] = CommandLine::StringType();
257 switch_list[switches::kFlagSwitchesBegin] = CommandLine::StringType();
258 switch_list[switches::kFlagSwitchesEnd] = CommandLine::StringType();
259 switch_list["foo"] = CommandLine::StringType();
264 RemoveFlagsSwitches(&switch_list);
265 ASSERT_EQ(4u, switch_list.size());
266 EXPECT_TRUE(switch_list.find(kSwitch1) != switch_list.end());
267 EXPECT_TRUE(switch_list.find(switches::kFlagSwitchesBegin) !=
268 switch_list.end());
269 EXPECT_TRUE(switch_list.find(switches::kFlagSwitchesEnd) !=
270 switch_list.end());
271 EXPECT_TRUE(switch_list.find("foo") != switch_list.end());
277 RemoveFlagsSwitches(&switch_list);
280 ASSERT_EQ(1u, switch_list.size());
281 EXPECT_TRUE(switch_list.find("foo") != switch_list.end());