PathAssertions

Collection of assertion functions and builders which are applicable to subjects with a Path type.

Inheritors

Functions

Link copied to clipboard
abstract fun <T : Path> endsNotWith(container: AssertionContainer<T>, expected: Path): Assertion
Link copied to clipboard
abstract fun <T : Path> endsWith(container: AssertionContainer<T>, expected: Path): Assertion
Link copied to clipboard
abstract fun <T : Path> exists(container: AssertionContainer<T>, linkOption: LinkOption? = null): Assertion
Link copied to clipboard
abstract fun <T : Path> existsNot(container: AssertionContainer<T>, linkOption: LinkOption? = null): Assertion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun <T : Path> hasDirectoryEntry(container: AssertionContainer<T>, entries: List<String>): Assertion
Link copied to clipboard
abstract fun <T : Path> hasSameBinaryContentAs(container: AssertionContainer<T>, targetPath: Path): Assertion
Link copied to clipboard
abstract fun <T : Path> hasSameTextualContentAs(container: AssertionContainer<T>, targetPath: Path, sourceCharset: Charset, targetCharset: Charset): Assertion
Link copied to clipboard
abstract fun <T : Path> isAbsolute(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isDirectory(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isEmptyDirectory(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isExecutable(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isNotExecutable(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isNotReadable(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isNotWritable(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isReadable(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isRegularFile(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isRelative(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isSymbolicLink(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : Path> isWritable(container: AssertionContainer<T>): Assertion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun <T : Path> startsNotWith(container: AssertionContainer<T>, expected: Path): Assertion
Link copied to clipboard
abstract fun <T : Path> startsWith(container: AssertionContainer<T>, expected: Path): Assertion