Lines Matching full:foo*
217 DE_TEST_ASSERT(!FilePath("..\\foo").isAbsolutePath());
218 DE_TEST_ASSERT(!FilePath("foo").isAbsolutePath());
219 DE_TEST_ASSERT(FilePath("\\foo/bar").isAbsolutePath());
220 DE_TEST_ASSERT(FilePath("/foo").isAbsolutePath());
228 DE_TEST_ASSERT((string("..") + FilePath::separator + "test") == FilePath("foo/../bar/../../test").normalize().getPath());
229 DE_TEST_ASSERT((FilePath::separator + "foo" + FilePath::separator + "foo.txt") == FilePath("/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath());
230 DE_TEST_ASSERT((string("c:") + FilePath::separator + "foo" + FilePath::separator + "foo.txt") == FilePath("c:/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath());
231 DE_TEST_ASSERT((FilePath::separator + FilePath::separator + "foo" + FilePath::separator + "foo.txt") == FilePath("\\\\foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath());
233 DE_TEST_ASSERT(FilePath("foo/bar" ).getBaseName() == "bar");
234 DE_TEST_ASSERT(FilePath("foo/bar/" ).getBaseName() == "bar");
235 DE_TEST_ASSERT(FilePath("foo\\bar" ).getBaseName() == "bar");
236 DE_TEST_ASSERT(FilePath("foo\\bar\\" ).getBaseName() == "bar");
237 DE_TEST_ASSERT(FilePath("foo/bar" ).getDirName() == "foo");
238 DE_TEST_ASSERT(FilePath("foo/bar/" ).getDirName() == "foo");
239 DE_TEST_ASSERT(FilePath("foo\\bar" ).getDirName() == "foo");
240 DE_TEST_ASSERT(FilePath("foo\\bar\\" ).getDirName() == "foo");
241 DE_TEST_ASSERT(FilePath("/foo/bar/baz" ).getDirName() == FilePath::separator + "foo" + FilePath::separator + "bar");