Class FileMatchers

java.lang.Object
com.atlassian.jira.matchers.FileMatchers

public final class FileMatchers extends Object
Matchers for java.io.File
Since:
v6.1
  • Method Details

    • exists

      public static org.hamcrest.Matcher<File> exists()
    • isFile

      public static org.hamcrest.Matcher<File> isFile()
    • isDirectory

      public static org.hamcrest.Matcher<File> isDirectory()
    • isEmptyDirectory

      public static org.hamcrest.Matcher<File> isEmptyDirectory()
    • named

      public static org.hamcrest.Matcher<File> named(String name)
    • hasContent

      public static org.hamcrest.Matcher<File> hasContent(String content)
    • sameContents

      public static org.hamcrest.Matcher<File> sameContents(File expected)
    • sameContents

      public static org.hamcrest.Matcher<File> sameContents(InputStream expected)