public final class PathAssert extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertDirExists(String msg,
File path)
Assert that the Directory exist.
|
static void |
assertDirExists(String msg,
Path path)
Assert that the Directory path exist.
|
static void |
assertFileExists(String msg,
File path)
Assert that the File exist.
|
static void |
assertFileExists(String msg,
Path path)
Assert that the File exist.
|
static void |
assertNotPathExists(String msg,
File path)
Assert that the path does not exist.
|
static void |
assertNotPathExists(String msg,
Path path)
Assert that the path does not exist.
|
static void |
assertPathExists(String msg,
File path)
Assert that the path exist.
|
static void |
assertPathExists(String msg,
Path path)
Assert that the path exist.
|
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 assertDirExists(String msg, Path 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 assertFileExists(String msg, Path path)
msg - message about the test (used in case of assertion failure)path - the path that should exist, and be a filepublic static void assertPathExists(String msg, File path)
msg - message about the test (used in case of assertion failure)path - the path that should existpublic static void assertPathExists(String msg, Path path)
msg - message about the test (used in case of assertion failure)path - the path that should existpublic static void assertNotPathExists(String msg, File path)
msg - message about the test (used in case of assertion failure)path - the path that should not existCopyright © 1995–2025 Mort Bay Consulting. All rights reserved.