interface PathAssertions
(source)
Collection of assertion functions and builders which are applicable to subjects with a Path type.
abstract fun <T : Path> endsNotWith(container: AssertionContainer<T>, expected: Path): Assertion |
|
abstract fun <T : Path> endsWith(container: AssertionContainer<T>, expected: Path): Assertion |
|
abstract fun <T : Path> exists(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Path> existsNot(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Path> extension(container: AssertionContainer<T>): ExtractedFeaturePostStep<T, String> |
|
abstract fun <T : Path> fileName(container: AssertionContainer<T>): ExtractedFeaturePostStep<T, String> |
|
abstract fun <T : Path> fileNameWithoutExtension(container: AssertionContainer<T>): ExtractedFeaturePostStep<T, String> |
|
abstract fun <T : Path> hasSameBinaryContentAs(container: AssertionContainer<T>, targetPath: Path): Assertion |
|
abstract fun <T : Path> hasSameTextualContentAs(container: AssertionContainer<T>, targetPath: Path, sourceCharset: Charset, targetCharset: Charset): Assertion |
|
abstract fun <T : Path> isDirectory(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Path> isReadable(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Path> isRegularFile(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Path> isWritable(container: AssertionContainer<T>): Assertion |
|
abstract fun <T : Path> parent(container: AssertionContainer<T>): ExtractedFeaturePostStep<T, Path> |
|
abstract fun <T : Path> resolve(container: AssertionContainer<T>, other: String): ExtractedFeaturePostStep<T, Path> |
|
abstract fun <T : Path> startsNotWith(container: AssertionContainer<T>, expected: Path): Assertion |
|
abstract fun <T : Path> startsWith(container: AssertionContainer<T>, expected: Path): Assertion |