Home | History | Annotate | Download | only in decpp

Lines Matching refs:DE_TEST_ASSERT

217 	DE_TEST_ASSERT(!FilePath(".").isAbsolutePath());
218 DE_TEST_ASSERT(!FilePath("..\\foo").isAbsolutePath());
219 DE_TEST_ASSERT(!FilePath("foo").isAbsolutePath());
220 DE_TEST_ASSERT(FilePath("\\foo/bar").isAbsolutePath());
221 DE_TEST_ASSERT(FilePath("/foo").isAbsolutePath());
222 DE_TEST_ASSERT(FilePath("\\").isAbsolutePath());
223 DE_TEST_ASSERT(FilePath("\\\\net\\loc").isAbsolutePath());
224 DE_TEST_ASSERT(FilePath("C:\\file.txt").isAbsolutePath());
225 DE_TEST_ASSERT(FilePath("c:/file.txt").isAbsolutePath());
227 DE_TEST_ASSERT(string(".") == FilePath(".//.").normalize().getPath());
228 DE_TEST_ASSERT(string(".") == FilePath(".").normalize().getPath());
229 DE_TEST_ASSERT((string("..") + FilePath::separator + "test") == FilePath("foo/../bar/../../test").normalize().getPath());
230 DE_TEST_ASSERT((FilePath::separator + "foo" + FilePath::separator + "foo.txt") == FilePath("/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath());
231 DE_TEST_ASSERT((string("c:") + FilePath::separator + "foo" + FilePath::separator + "foo.txt") == FilePath("c:/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath());
232 DE_TEST_ASSERT((FilePath::separator + FilePath::separator + "foo" + FilePath::separator + "foo.txt") == FilePath("\\\\foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath());
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\\" ).getBaseName() == "bar");
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\\" ).getDirName() == "foo");