org.hamcrest.io
Class FileMatchers
java.lang.Object
org.hamcrest.io.FileMatchers
public final class FileMatchers
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileMatchers
public FileMatchers()
anExistingDirectory
public static Matcher<File> anExistingDirectory()
anExistingFileOrDirectory
public static Matcher<File> anExistingFileOrDirectory()
anExistingFile
public static Matcher<File> anExistingFile()
aReadableFile
public static Matcher<File> aReadableFile()
aWritableFile
public static Matcher<File> aWritableFile()
aFileWithSize
public static Matcher<File> aFileWithSize(long size)
aFileWithSize
public static Matcher<File> aFileWithSize(Matcher<Long> size)
aFileNamed
public static Matcher<File> aFileNamed(Matcher<String> name)
aFileWithCanonicalPath
public static Matcher<File> aFileWithCanonicalPath(Matcher<String> path)
aFileWithAbsolutePath
public static Matcher<File> aFileWithAbsolutePath(Matcher<String> path)
Copyright © 2014. All rights reserved.