interface PathAssertions
Defines the minimum set of assertion functions and builders applicable to Path, which an implementation of the domain of Atrium has to provide.
abstract fun <T : Path> endsNotWith(expect: Expect<T>, expected: Path): Assertion |
|
abstract fun <T : Path> endsWith(expect: Expect<T>, expected: Path): Assertion |
|
abstract fun <T : Path> exists(expect: Expect<T>): Assertion |
|
abstract fun <T : Path> existsNot(expect: Expect<T>): Assertion |
|
abstract fun <T : Path> extension(expect: Expect<T>): ExtractedFeaturePostStep<T, String> |
|
abstract fun <T : Path> fileName(expect: Expect<T>): ExtractedFeaturePostStep<T, String> |
|
abstract fun <T : Path> fileNameWithoutExtension(expect: Expect<T>): ExtractedFeaturePostStep<T, String> |
|
abstract fun <T : Path> isDirectory(expect: Expect<T>): Assertion |
|
abstract fun <T : Path> isReadable(expect: Expect<T>): Assertion |
|
abstract fun <T : Path> isRegularFile(expect: Expect<T>): Assertion |
|
abstract fun <T : Path> isWritable(expect: Expect<T>): Assertion |
|
abstract fun <T : Path> parent(expect: Expect<T>): ExtractedFeaturePostStep<T, Path> |
|
abstract fun <T : Path> startsNotWith(expect: Expect<T>, expected: Path): Assertion |
|
abstract fun <T : Path> startsWith(expect: Expect<T>, expected: Path): Assertion |
object PathAssertionsBuilder : PathAssertions
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. |