Package org.approvej.approve
Class NextToTestPathProvider
java.lang.Object
org.approvej.approve.NextToTestPathProvider
- All Implemented Interfaces:
PathProvider
@NullMarked
@Deprecated(since="0.8.3",
forRemoval=true)
public class NextToTestPathProvider
extends Object
implements PathProvider
Deprecated, for removal: This API element is subject to removal in a future version.
A
PathProvider that uses a stack trace to determine the paths of the approved and
received files.-
Field Summary
Fields inherited from interface org.approvej.approve.PathProvider
APPROVED, DEFAULT_FILENAME_EXTENSION, RECEIVED -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.The path of the file containing a previously approved value.Deprecated, for removal: This API element is subject to removal in a future version.The path of the directory containing the approved and received files.filenameExtension(String filenameExtension) Deprecated, for removal: This API element is subject to removal in a future version.Use the given filenameExtension for the approved and received files.Deprecated, for removal: This API element is subject to removal in a future version.Use a subdirectory named after the test class name.Deprecated, for removal: This API element is subject to removal in a future version.The path of the file containing the latest received value that didn't match the previously approved.
-
Method Details
-
inSubdirectory
Deprecated, for removal: This API element is subject to removal in a future version.Use a subdirectory named after the test class name.- Returns:
- this
-
filenameExtension
Deprecated, for removal: This API element is subject to removal in a future version.Use the given filenameExtension for the approved and received files.- Parameters:
filenameExtension- the filename extension to use- Returns:
- this
-
directory
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PathProviderThe path of the file containing a previously approved value.- Specified by:
approvedPathin interfacePathProvider- Returns:
- the
Pathto the approved file
-
PathProviderBuilder.nextToTest()/PathProviderBuilder.nextToTestInSubdirectory()instead