doc / ch.tutteli.atrium.domain.builders.creating / PathAssertionsBuilder

PathAssertionsBuilder

object PathAssertionsBuilder : PathAssertions
Deprecated: Use _logic from ch.tutteli.atrium.logic instead; will be removed with 1.0.0

Delegates inter alia to the implementation of PathAssertions. In detail, it implements PathAssertions by delegating to pathAssertions which in turn delegates to the implementation via loadSingleService.

Functions

endsNotWith

fun <T : Path> endsNotWith(expect: Expect<T>, expected: Path): Assertion

endsWith

fun <T : Path> endsWith(expect: Expect<T>, expected: Path): Assertion

exists

fun <T : Path> exists(expect: Expect<T>): Assertion

existsNot

fun <T : Path> existsNot(expect: Expect<T>): Assertion

extension

fun <T : Path> extension(expect: Expect<T>): ExtractedFeaturePostStep<T, String>

fileName

fun <T : Path> fileName(expect: Expect<T>): ExtractedFeaturePostStep<T, String>

fileNameWithoutExtension

fun <T : Path> fileNameWithoutExtension(expect: Expect<T>): ExtractedFeaturePostStep<T, String>

hasSameBinaryContentAs

fun <T : Path> hasSameBinaryContentAs(expect: Expect<T>, targetPath: Path): Assertion

hasSameTextualContentAs

fun <T : Path> hasSameTextualContentAs(expect: Expect<T>, targetPath: Path, sourceCharset: Charset, targetCharset: Charset): Assertion

isDirectory

fun <T : Path> isDirectory(expect: Expect<T>): Assertion

isReadable

fun <T : Path> isReadable(expect: Expect<T>): Assertion

isRegularFile

fun <T : Path> isRegularFile(expect: Expect<T>): Assertion

isWritable

fun <T : Path> isWritable(expect: Expect<T>): Assertion

parent

fun <T : Path> parent(expect: Expect<T>): ExtractedFeaturePostStep<T, Path>

resolve

fun <T : Path> resolve(expect: Expect<T>, other: String): ExtractedFeaturePostStep<T, Path>

startsNotWith

fun <T : Path> startsNotWith(expect: Expect<T>, expected: Path): Assertion

startsWith

fun <T : Path> startsWith(expect: Expect<T>, expected: Path): Assertion