|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jetty.toolchain.test.PathAssert
public final class PathAssert
Assertions of various FileSytem Paths
Method Summary | |
---|---|
static void |
assertDirExists(String msg,
File path)
Assert that the Directory exist. |
static void |
assertExists(String msg,
File path)
Assert that the path exist. |
static void |
assertFileExists(String msg,
File path)
Assert that the File exist. |
static void |
assertNotExists(String msg,
File path)
Assert that the path does not exist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void assertDirExists(String msg, File path)
msg
- message about the test (used in case of assertion failure)path
- the path that should exist, and be a directorypublic static void assertFileExists(String msg, File path)
msg
- message about the test (used in case of assertion failure)path
- the path that should exist, and be a filepublic static void assertExists(String msg, File path)
msg
- message about the test (used in case of assertion failure)path
- the path that should existpublic static void assertNotExists(String msg, File path)
msg
- message about the test (used in case of assertion failure)path
- the path that should not exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |