object PathAssertionsBuilder (source)
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.
fun <T : Path> endsNotWith(expect: <ERROR CLASS><T>, expected: Path): <ERROR CLASS> |
|
fun <T : Path> endsWith(expect: <ERROR CLASS><T>, expected: Path): <ERROR CLASS> |
|
fun <T : Path> exists(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> existsNot(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> extension(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> fileName(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> fileNameWithoutExtension(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> hasSameBinaryContentAs(expect: <ERROR CLASS><T>, targetPath: Path): <ERROR CLASS> |
|
fun <T : Path> hasSameTextualContentAs(expect: <ERROR CLASS><T>, targetPath: Path, sourceCharset: Charset, targetCharset: Charset): <ERROR CLASS> |
|
fun <T : Path> isDirectory(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> isReadable(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> isRegularFile(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> isWritable(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> parent(expect: <ERROR CLASS><T>): <ERROR CLASS> |
|
fun <T : Path> resolve(expect: <ERROR CLASS><T>, other: String): <ERROR CLASS> |
|
fun <T : Path> startsNotWith(expect: <ERROR CLASS><T>, expected: Path): <ERROR CLASS> |
|
fun <T : Path> startsWith(expect: <ERROR CLASS><T>, expected: Path): <ERROR CLASS> |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |