Package org.approvej.verify
Interface PathProvider
- All Known Implementing Classes:
ApprovedPathProvider
,NextToTestPathProvider
public interface PathProvider
A provider for the paths of the approved and received files.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The infix of the file containing a previously approved value.static final String
Default filename extension for the approved and received files.static final String
The infix of the file containing the latest received value that didn't match the previously approved. -
Method Summary
Modifier and TypeMethodDescriptionThe path of the file containing a previously approved value.The path of the directory containing the approved and received files.The path of the file containing the latest received value that didn't match the previously approved.
-
Field Details
-
RECEIVED
The infix of the file containing the latest received value that didn't match the previously approved.- See Also:
-
APPROVED
The infix of the file containing a previously approved value.- See Also:
-
DEFAULT_FILENAME_EXTENSION
Default filename extension for the approved and received files.- See Also:
-
-
Method Details
-
directory
Path directory()The path of the directory containing the approved and received files.- Returns:
- the
Path
to the directory
-
receivedPath
Path receivedPath()The path of the file containing the latest received value that didn't match the previously approved.- Returns:
- the
Path
to the received file
-
approvedPath
Path approvedPath()The path of the file containing a previously approved value.- Returns:
- the
Path
to the approved file
-