Lines Matching refs:GetCString
25 EXPECT_STREQ("/foo/bar", fs_posix.GetCString()); in TEST()
26 EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString()); in TEST()
27 EXPECT_STREQ("bar", fs_posix.GetFilename().GetCString()); in TEST()
30 EXPECT_STREQ("F:\\bar", fs_windows.GetCString()); in TEST()
33 EXPECT_STREQ("bar", fs_windows.GetFilename().GetCString()); in TEST()
36 EXPECT_STREQ("/", fs_posix_root.GetCString()); in TEST()
37 EXPECT_EQ(nullptr, fs_posix_root.GetDirectory().GetCString()); in TEST()
38 EXPECT_STREQ("/", fs_posix_root.GetFilename().GetCString()); in TEST()
41 EXPECT_STREQ("//net", fs_net_drive.GetCString()); in TEST()
42 EXPECT_EQ(nullptr, fs_net_drive.GetDirectory().GetCString()); in TEST()
43 EXPECT_STREQ("//net", fs_net_drive.GetFilename().GetCString()); in TEST()
46 EXPECT_STREQ("//net/", fs_net_root.GetCString()); in TEST()
47 EXPECT_STREQ("//net", fs_net_root.GetDirectory().GetCString()); in TEST()
48 EXPECT_STREQ("/", fs_net_root.GetFilename().GetCString()); in TEST()
51 EXPECT_STREQ("F:", fs_windows_drive.GetCString()); in TEST()
52 EXPECT_EQ(nullptr, fs_windows_drive.GetDirectory().GetCString()); in TEST()
53 EXPECT_STREQ("F:", fs_windows_drive.GetFilename().GetCString()); in TEST()
56 EXPECT_STREQ("F:\\", fs_windows_root.GetCString()); in TEST()
57 EXPECT_STREQ("F:", fs_windows_root.GetDirectory().GetCString()); in TEST()
62 EXPECT_STREQ("/foo/bar/baz", fs_posix_long.GetCString()); in TEST()
63 EXPECT_STREQ("/foo/bar", fs_posix_long.GetDirectory().GetCString()); in TEST()
64 EXPECT_STREQ("baz", fs_posix_long.GetFilename().GetCString()); in TEST()
67 EXPECT_STREQ("F:\\bar\\baz", fs_windows_long.GetCString()); in TEST()
70 EXPECT_STREQ("baz", fs_windows_long.GetFilename().GetCString()); in TEST()
73 EXPECT_STREQ("/foo/bar", fs_posix_trailing_slash.GetCString()); in TEST()
74 EXPECT_STREQ("/foo", fs_posix_trailing_slash.GetDirectory().GetCString()); in TEST()
75 EXPECT_STREQ("bar", fs_posix_trailing_slash.GetFilename().GetCString()); in TEST()
78 EXPECT_STREQ("F:\\bar", fs_windows_trailing_slash.GetCString()); in TEST()
79 EXPECT_STREQ("bar", fs_windows_trailing_slash.GetFilename().GetCString()); in TEST()
85 EXPECT_STREQ("/foo/bar", fs_posix.GetCString()); in TEST()
86 EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString()); in TEST()
87 EXPECT_STREQ("bar", fs_posix.GetFilename().GetCString()); in TEST()
91 EXPECT_STREQ("/foo/bar/baz", fs_posix_2.GetCString()); in TEST()
92 EXPECT_STREQ("/foo/bar", fs_posix_2.GetDirectory().GetCString()); in TEST()
93 EXPECT_STREQ("baz", fs_posix_2.GetFilename().GetCString()); in TEST()
97 EXPECT_STREQ("F:\\bar\\baz", fs_windows.GetCString()); in TEST()
100 EXPECT_STREQ("baz", fs_windows.GetFilename().GetCString()); in TEST()
104 EXPECT_STREQ("/bar", fs_posix_root.GetCString()); in TEST()
105 EXPECT_STREQ("/", fs_posix_root.GetDirectory().GetCString()); in TEST()
106 EXPECT_STREQ("bar", fs_posix_root.GetFilename().GetCString()); in TEST()
110 EXPECT_STREQ("F:\\bar", fs_windows_root.GetCString()); in TEST()
113 EXPECT_STREQ("bar", fs_windows_root.GetFilename().GetCString()); in TEST()
118 EXPECT_STREQ("/foo/bar", fs.GetCString()); in TEST()
119 EXPECT_STREQ("/foo", fs.GetDirectory().GetCString()); in TEST()
120 EXPECT_STREQ("bar", fs.GetFilename().GetCString()); in TEST()
126 EXPECT_STREQ("/bar/foo", fs_posix.GetCString()); in TEST()
130 EXPECT_STREQ("/baz/foo/bar", fs_posix_2.GetCString()); in TEST()
134 EXPECT_STREQ("F:\\bar\\baz", fs_windows.GetCString()); in TEST()
138 EXPECT_STREQ("/bar", fs_posix_root.GetCString()); in TEST()
142 EXPECT_STREQ("F:\\bar", fs_windows_root.GetCString()); in TEST()
341 EXPECT_STREQ("/foo/bar/baz", fs_posix.GetCString()); in TEST()
343 EXPECT_STREQ("/foo/bar", fs_posix.GetCString()); in TEST()
345 EXPECT_STREQ("/foo", fs_posix.GetCString()); in TEST()
347 EXPECT_STREQ("/", fs_posix.GetCString()); in TEST()
349 EXPECT_STREQ("/", fs_posix.GetCString()); in TEST()
352 EXPECT_STREQ("foo/bar/baz", fs_posix_relative.GetCString()); in TEST()
354 EXPECT_STREQ("foo/bar", fs_posix_relative.GetCString()); in TEST()
356 EXPECT_STREQ("foo", fs_posix_relative.GetCString()); in TEST()
358 EXPECT_STREQ("foo", fs_posix_relative.GetCString()); in TEST()
361 EXPECT_STREQ(".", fs_posix_relative2.GetCString()); in TEST()
363 EXPECT_STREQ(".", fs_posix_relative2.GetCString()); in TEST()
365 EXPECT_STREQ(".", fs_posix_relative2.GetCString()); in TEST()
368 EXPECT_STREQ("C:\\foo\\bar\\baz", fs_windows.GetCString()); in TEST()
370 EXPECT_STREQ("C:\\foo\\bar", fs_windows.GetCString()); in TEST()
372 EXPECT_STREQ("C:\\foo", fs_windows.GetCString()); in TEST()
374 EXPECT_STREQ("C:\\", fs_windows.GetCString()); in TEST()
376 EXPECT_STREQ("C:", fs_windows.GetCString()); in TEST()
378 EXPECT_STREQ("C:", fs_windows.GetCString()); in TEST()