Package org.approvej.verify
Class NextToTestPathProvider
java.lang.Object
org.approvej.verify.NextToTestPathProvider
- All Implemented Interfaces:
PathProvider
A
PathProvider
that uses a stack trace to determine the paths of the approved and
received files.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.approvej.verify.PathProvider
APPROVED, DEFAULT_FILENAME_EXTENSION, RECEIVED
-
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.
-
Method Details
-
directory
Description copied from interface:PathProvider
The path of the directory containing the approved and received files.- Specified by:
directory
in interfacePathProvider
- Returns:
- the
Path
to the directory
-
receivedPath
Description copied from interface:PathProvider
The path of the file containing the latest received value that didn't match the previously approved.- Specified by:
receivedPath
in interfacePathProvider
- Returns:
- the
Path
to the received file
-
approvedPath
Description copied from interface:PathProvider
The path of the file containing a previously approved value.- Specified by:
approvedPath
in interfacePathProvider
- Returns:
- the
Path
to the approved file
-