Contains helper functions which help in defining failure hints in case your expectation function deals with the file system.
| fun explainForResolvedLink(path: Path, resolvedPathAssertionProvider: (realPath: Path) -> Assertion): AssertionInternal for testing purposes only | |
| fun findHintForProblemWithParent(path: Path): Assertion?Searches for any problem with a parent directory that is not that the directory does not exist. | |
| fun hintForAccessDenied(path: Path): Assertion | |
| fun hintForClosestExistingParent(path: Path): AssertionAssumes that we know that path does not exist. | |
| fun <T : Path> hintForExistsButMissingPermission(subject: T, permissionName: Translatable): Assertion | |
| fun hintForIoException(path: Path, exception: IOException): Assertion | |
| fun hintForOwnersAndPermissions(path: Path): MutableList<Assertion> | |
| fun Descriptive.DescriptionOption<Descriptive.FinalStep>. | |
| fun Descriptive.DescriptionOption<Descriptive.FinalStep>.withHelpOnFileAttributesFailure(expect: Expect<IoResult<BasicFileAttributes>>): Descriptive.DescriptionOption<DescriptiveAssertionWithFailureHint.FinalStep> | |
| fun <T> Descriptive.DescriptionOption<Descriptive.FinalStep>.withHelpOnIOExceptionFailure(expect: Expect<IoResult<T>>, f: (Path, IOException) -> Assertion?): Descriptive.DescriptionOption<DescriptiveAssertionWithFailureHint.FinalStep> | |
| fun <T> Descriptive.DescriptionOption<Descriptive.FinalStep>. |