atrium-domain-robstoll-jvm / ch.tutteli.atrium.domain.robstoll.creating / PathAssertionsImpl

PathAssertionsImpl

class PathAssertionsImpl : PathAssertions

Constructors

<init>

PathAssertionsImpl()

Functions

endsNotWith

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

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>

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>

startsNotWith

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

startsWith

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