Lines Matching refs:Basename
32 TEST(Fuzzer, Basename) { in TEST() argument
33 EXPECT_EQ(Basename("foo/bar"), "bar"); in TEST()
34 EXPECT_EQ(Basename("bar"), "bar"); in TEST()
35 EXPECT_EQ(Basename("/bar"), "bar"); in TEST()
36 EXPECT_EQ(Basename("foo/x"), "x"); in TEST()
37 EXPECT_EQ(Basename("foo/"), ""); in TEST()
39 EXPECT_EQ(Basename("foo\\bar"), "bar"); in TEST()
40 EXPECT_EQ(Basename("foo\\bar/baz"), "baz"); in TEST()
41 EXPECT_EQ(Basename("\\bar"), "bar"); in TEST()
42 EXPECT_EQ(Basename("foo\\x"), "x"); in TEST()
43 EXPECT_EQ(Basename("foo\\"), ""); in TEST()