Package org.eclipse.jetty.toolchain.test
Class PathMatchers
java.lang.Object
org.eclipse.jetty.toolchain.test.PathMatchers
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<Path> exists()Test forPaththat usesFiles.exists(Path, LinkOption...)with clear description of Path if it failsstatic org.hamcrest.Matcher<Path> Test forPaththat usesFiles.isDirectory(Path, LinkOption...)with clear description of Path if it failsstatic org.hamcrest.Matcher<Path> Test thatPathexists, as a Directory, and is empty with clear description of Path if it failsstatic org.hamcrest.Matcher<Path> Test forPaththat usesFiles.isRegularFile(Path, LinkOption...)with clear description of Path if it failsstatic org.hamcrest.Matcher<Path> Test forPaththat usesFiles.isDirectory(Path, LinkOption...)with clear description of Path if it fails
-
Constructor Details
-
PathMatchers
public PathMatchers()
-
-
Method Details
-
exists
Test forPaththat usesFiles.exists(Path, LinkOption...)with clear description of Path if it fails- Returns:
- the Exists matcher
-
isRegularFile
Test forPaththat usesFiles.isRegularFile(Path, LinkOption...)with clear description of Path if it fails- Returns:
- the isRegularFile matcher
-
isDirectory
Test forPaththat usesFiles.isDirectory(Path, LinkOption...)with clear description of Path if it fails- Returns:
- the isDirectory matcher
-
isEmptyDirectory
Test thatPathexists, as a Directory, and is empty with clear description of Path if it fails- Returns:
- the isEmptyDirectory matcher
-
isSame
Test forPaththat usesFiles.isDirectory(Path, LinkOption...)with clear description of Path if it fails- Returns:
- the isDirectory matcher
-