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 voidassertDirExists(String msg, File path) Assert that the Directory exist.static voidassertDirExists(String msg, Path path) Assert that the Directory path exist.static voidassertFileExists(String msg, File path) Assert that the File exist.static voidassertFileExists(String msg, Path path) Assert that the File exist.static voidassertNotPathExists(String msg, File path) Assert that the path does not exist.static voidassertNotPathExists(String msg, Path path) Assert that the path does not exist.static voidassertPathExists(String msg, File path) Assert that the path exist.static voidassertPathExists(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
-