|
|
fun aDirectory(): Matcher<File> |
|
|
fun aFile(): Matcher<File> |
|
|
fun beAbsolute(): Matcher<File> |
|
|
fun beCanonicalPath(): Matcher<File> |
|
|
fun beExecutable(): Matcher<File> |
|
|
fun beHidden(): Matcher<File> |
|
|
fun beLarger(other: File): Matcher<File> |
|
|
fun beNonEmptyDirectory(): Matcher<File> |
|
|
fun beReadable(): Matcher<File> |
|
|
fun beRelative(): Matcher<File> |
|
|
fun beSmaller(other: File): Matcher<File> |
|
|
fun beWriteable(): Matcher<File> |
|
|
fun containFile(name: String): Matcher<File> |
|
|
fun containNFiles(n: Int): Matcher<File> |
|
|
fun emptyFile(): Matcher<File> |
|
|
fun exist(): Matcher<File> |
|
|
fun haveExtension(vararg exts: String): Matcher<File> |
|
|
fun haveFileSize(size: Long): Matcher<File> |
|
|
fun haveName(name: String): Matcher<File> |
|
|
fun haveParent(name: String): Matcher<File> |
|
|
fun havePath(name: String): Matcher<File> |
|
|
fun startWithPath(path: Path): Matcher<File>
fun startWithPath(file: File): Matcher<File>
fun startWithPath(prefix: String): Matcher<File> |