doc / ch.tutteli.atrium.logic.impl / DefaultPathAssertions

DefaultPathAssertions

class DefaultPathAssertions : PathAssertions

Constructors

<init>

DefaultPathAssertions()

Functions

endsNotWith

fun <T : Path> endsNotWith(container: AssertionContainer<T>, expected: Path): Assertion

endsWith

fun <T : Path> endsWith(container: AssertionContainer<T>, expected: Path): Assertion

exists

fun <T : Path> exists(container: AssertionContainer<T>, linkOption: LinkOption?): Assertion

existsNot

fun <T : Path> existsNot(container: AssertionContainer<T>, linkOption: LinkOption?): Assertion

extension

fun <T : Path> extension(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, String>

fileName

fun <T : Path> fileName(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, String>

fileNameWithoutExtension

fun <T : Path> fileNameWithoutExtension(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, String>

hasDirectoryEntry

fun <T : Path> hasDirectoryEntry(container: AssertionContainer<T>, entries: List<String>): Assertion

hasSameBinaryContentAs

fun <T : Path> hasSameBinaryContentAs(container: AssertionContainer<T>, targetPath: Path): Assertion

hasSameTextualContentAs

fun <T : Path> hasSameTextualContentAs(container: AssertionContainer<T>, targetPath: Path, sourceCharset: Charset, targetCharset: Charset): Assertion

isAbsolute

fun <T : Path> isAbsolute(container: AssertionContainer<T>): Assertion

isDirectory

fun <T : Path> isDirectory(container: AssertionContainer<T>): Assertion

isExecutable

fun <T : Path> isExecutable(container: AssertionContainer<T>): Assertion

isReadable

fun <T : Path> isReadable(container: AssertionContainer<T>): Assertion

isRegularFile

fun <T : Path> isRegularFile(container: AssertionContainer<T>): Assertion

isRelative

fun <T : Path> isRelative(container: AssertionContainer<T>): Assertion

isWritable

fun <T : Path> isWritable(container: AssertionContainer<T>): Assertion

parent

fun <T : Path> parent(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, Path>

resolve

fun <T : Path> resolve(container: AssertionContainer<T>, other: String): FeatureExtractorBuilder.ExecutionStep<T, Path>

startsNotWith

fun <T : Path> startsNotWith(container: AssertionContainer<T>, expected: Path): Assertion

startsWith

fun <T : Path> startsWith(container: AssertionContainer<T>, expected: Path): Assertion