Searched refs:Sanitize (Results 1 – 3 of 3) sorted by relevance
86 TEST_F(CrashCollectorTest, Sanitize) { in TEST_F() argument87 EXPECT_EQ("chrome", collector_.Sanitize("chrome")); in TEST_F()88 EXPECT_EQ("CHROME", collector_.Sanitize("CHROME")); in TEST_F()89 EXPECT_EQ("1chrome2", collector_.Sanitize("1chrome2")); in TEST_F()90 EXPECT_EQ("chrome__deleted_", collector_.Sanitize("chrome (deleted)")); in TEST_F()91 EXPECT_EQ("foo_bar", collector_.Sanitize("foo.bar")); in TEST_F()92 EXPECT_EQ("", collector_.Sanitize("")); in TEST_F()93 EXPECT_EQ("_", collector_.Sanitize(" ")); in TEST_F()
57 FRIEND_TEST(CrashCollectorTest, Sanitize);79 std::string Sanitize(const std::string &name);
122 std::string CrashCollector::Sanitize(const std::string &name) { in Sanitize() function in CrashCollector138 std::string sanitized_exec_name = Sanitize(exec_name); in FormatDumpBasename()