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:PathProviderThe path of the directory containing the approved and received files.- Specified by:
directoryin interfacePathProvider- Returns:
- the
Pathto the directory
-
receivedPath
Description copied from interface:PathProviderThe path of the file containing the latest received value that didn't match the previously approved.- Specified by:
receivedPathin interfacePathProvider- Returns:
- the
Pathto the received file
-
approvedPath
Description copied from interface:PathProviderThe path of the file containing a previously approved value.- Specified by:
approvedPathin interfacePathProvider- Returns:
- the
Pathto the approved file
-