Package-level declarations
Contains helper functions which help in defining failure hints in case your expectation function deals with the file system.
Functions
Link copied to clipboard
fun explainForResolvedLink(path: Path, resolvedPathAssertionProvider: (realPath: Path) -> Assertion): Assertion
Internal for testing purposes only
Link copied to clipboard
Searches for any problem with a parent directory that is not that the directory does not exist.
Link copied to clipboard
Link copied to clipboard
Assumes that we know that path does not exist.
Link copied to clipboard
fun <T : Path> hintForExistsButMissingPermission(subject: T, permissionName: Translatable): Assertion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Descriptive.DescriptionOption<Descriptive.FinalStep>.withHelpOnIOExceptionFailure(expect: Expect<IoResult<T>>, crossinline f: (Path, IOException) -> Assertion?): Descriptive.DescriptionOption<DescriptiveAssertionWithFailureHint.FinalStep>