Lines Matching refs:normalize_filename
67 EXPECT_TRUE(flags::GetUsageConfig().normalize_filename); in TEST_F()
74 empty_config.normalize_filename = &TstNormalizeFilename; in TEST_F()
81 EXPECT_TRUE(flags::GetUsageConfig().normalize_filename); in TEST_F()
176 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("a/a.cc"), "a/a.cc"); in TEST_F()
177 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("/a/a.cc"), "a/a.cc"); in TEST_F()
178 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("///a/a.cc"), "a/a.cc"); in TEST_F()
179 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("/"), ""); in TEST_F()
183 empty_config.normalize_filename = &TstNormalizeFilename; in TEST_F()
186 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("a/a.cc"), "a.cc"); in TEST_F()
187 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("aaa/a.cc"), "a/a.cc"); in TEST_F()
190 empty_config.normalize_filename = nullptr; in TEST_F()
193 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("a/a.cc"), "a/a.cc"); in TEST_F()
194 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("/a/a.cc"), "a/a.cc"); in TEST_F()
195 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("///a/a.cc"), "a/a.cc"); in TEST_F()
196 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("\\a\\a.cc"), "a\\a.cc"); in TEST_F()
197 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("//"), ""); in TEST_F()
198 EXPECT_EQ(flags::GetUsageConfig().normalize_filename("\\\\"), ""); in TEST_F()