public final class PathAssert
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertDirExists(java.lang.String msg,
java.io.File path)
Assert that the Directory exist.
|
static void |
assertDirExists(java.lang.String msg,
java.nio.file.Path path)
Assert that the Directory path exist.
|
static void |
assertFileExists(java.lang.String msg,
java.io.File path)
Assert that the File exist.
|
static void |
assertFileExists(java.lang.String msg,
java.nio.file.Path path)
Assert that the File exist.
|
static void |
assertNotPathExists(java.lang.String msg,
java.io.File path)
Assert that the path does not exist.
|
static void |
assertNotPathExists(java.lang.String msg,
java.nio.file.Path path)
Assert that the path does not exist.
|
static void |
assertPathExists(java.lang.String msg,
java.io.File path)
Assert that the path exist.
|
static void |
assertPathExists(java.lang.String msg,
java.nio.file.Path path)
Assert that the path exist.
|
public static void assertDirExists(java.lang.String msg,
java.io.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(java.lang.String msg,
java.nio.file.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(java.lang.String msg,
java.io.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(java.lang.String msg,
java.nio.file.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(java.lang.String msg,
java.io.File path)
msg - message about the test (used in case of assertion failure)path - the path that should existpublic static void assertPathExists(java.lang.String msg,
java.nio.file.Path path)
msg - message about the test (used in case of assertion failure)path - the path that should existpublic static void assertNotPathExists(java.lang.String msg,
java.io.File path)
msg - message about the test (used in case of assertion failure)path - the path that should not existpublic static void assertNotPathExists(java.lang.String msg,
java.nio.file.Path 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.