Package org.eclipse.jetty.toolchain.test
Class PathAssert
java.lang.Object
org.eclipse.jetty.toolchain.test.PathAssert
Assertions of various FileSytem Paths
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
PathAssert
private PathAssert()
-
-
Method Details
-
assertDirExists
Assert that the Directory exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should exist, and be a directory
-
assertDirExists
Assert that the Directory path exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should exist, and be a directory
-
assertFileExists
Assert that the File exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should exist, and be a file
-
assertFileExists
Assert that the File exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should exist, and be a file
-
assertPathExists
Assert that the path exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should exist
-
assertPathExists
Assert that the path exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should exist
-
assertNotPathExists
Assert that the path does not exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should not exist
-
assertNotPathExists
Assert that the path does not exist.- Parameters:
msg
- message about the test (used in case of assertion failure)path
- the path that should not exist
-