Searched refs:cfg (Results 1 – 6 of 6) sorted by relevance
40 auto &&cfg = ConfigParser::ParseFile(stream); in TEST()41 EXPECT_TRUE(cfg.HasSection("section1")); in TEST()42 EXPECT_TRUE(cfg.HasSection("section2")); in TEST()43 EXPECT_FALSE(cfg.HasSection("section3")); in TEST()45 auto &§ion1 = cfg.GetSection("section1"); in TEST()54 auto &§ion2 = cfg.GetSection("section2"); in TEST()60 EXPECT_EQ("value1", cfg.GetProperty("section1", "key1")); in TEST()61 EXPECT_EQ("value2", cfg.GetProperty("section1", "key2")); in TEST()63 EXPECT_EQ("value1", cfg["section1"]["key1"]); in TEST()64 EXPECT_EQ("value2", cfg["section1"]["key2"]); in TEST()
21 cfg := mysql.Cfg(26 cfg.DBName = constants.GetConfigVar("GCP_DB_NAME")27 return mysql.DialCfg(cfg)
7 proguard_flags_files: ["proguard.cfg"],
24 .installed.cfg
157 ConfigFile cfg = ConfigParser::ParseFile(config_file_path); in ReadConfigFile() local158 if (cfg.HasSection("global")) { in ReadConfigFile()159 for (auto &&p : cfg.GetSection("global")) { in ReadConfigFile()