org.specs2.matcher

FileMatchers

object FileMatchers extends FileMatchers

Linear Supertypes
FileMatchers, FileBeHaveMatchers, FileBaseMatchers, PathMatchers, PathBeHaveMatchers, PathBaseMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FileMatchers
  2. FileMatchers
  3. FileBeHaveMatchers
  4. FileBaseMatchers
  5. PathMatchers
  6. PathBeHaveMatchers
  7. PathBaseMatchers
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class FileResultMatcher[T <: AnyRef { def getPath(): String }] extends AnyRef

    Definition Classes
    FileBeHaveMatchers
  2. class PathResultMatcher extends AnyRef

    Definition Classes
    PathBeHaveMatchers

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  5. def aDirectoryPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  6. def aFile[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  7. def aFilePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  8. def aHiddenPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  9. def aReadablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  10. def aWritablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  11. def absolute[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  12. def absolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  13. def anAbsolutePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  14. def anExistingPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  15. def asAbsolutePath(name: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  16. def asCanonicalPath(name: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def beADirectory[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isDirectory

    matches if file.isDirectory

    Definition Classes
    FileBaseMatchers
  19. def beADirectoryPath: PathMatcher

    matches if new File(path).isDirectory

    matches if new File(path).isDirectory

    Definition Classes
    PathBaseMatchers
  20. def beAFile[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isFile

    matches if file.isFile

    Definition Classes
    FileBaseMatchers
  21. def beAFilePath: PathMatcher

    matches if new File(path).isFile

    matches if new File(path).isFile

    Definition Classes
    PathBaseMatchers
  22. def beAHiddenPath: PathMatcher

    matches if new File(path).isHidden

    matches if new File(path).isHidden

    Definition Classes
    PathBaseMatchers
  23. def beAReadablePath: PathMatcher

    matches if new File(path).canRead

    matches if new File(path).canRead

    Definition Classes
    PathBaseMatchers
  24. def beAWritablePath: PathMatcher

    matches if new File(path).canWrite

    matches if new File(path).canWrite

    Definition Classes
    PathBaseMatchers
  25. def beAbsolute[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isAbsolute

    matches if file.isAbsolute

    Definition Classes
    FileBaseMatchers
  26. def beAnAbsolutePath: PathMatcher

    matches if new File(path).isAbsolute

    matches if new File(path).isAbsolute

    Definition Classes
    PathBaseMatchers
  27. def beAnExistingPath: PathMatcher

    matches if new File(path).exists

    matches if new File(path).exists

    Definition Classes
    PathBaseMatchers
  28. def beEqualToIgnoringSep(other: String): PathMatcher

    matches if 2 paths are the same regardless of their separators

    matches if 2 paths are the same regardless of their separators

    Definition Classes
    PathBaseMatchers
  29. def beHidden[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isHidden

    matches if file.isHidden

    Definition Classes
    FileBaseMatchers
  30. def beReadable[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.canRead

    matches if file.canRead

    Definition Classes
    FileBaseMatchers
  31. def beWritable[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.canWrite

    matches if file.canWrite

    Definition Classes
    FileBaseMatchers
  32. def canonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  33. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. def equalToIgnoringSep(other: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  36. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  37. def exist[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.exists

    matches if file.exists

    Definition Classes
    FileBaseMatchers
  38. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  40. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  41. def haveAbsolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.getAbsolutePath == path

    matches if file.getAbsolutePath == path

    Definition Classes
    FileBaseMatchers
  42. def haveAsAbsolutePath(path: String): PathMatcher

    matches if new File(path).getAbsolutePath == absolutePath

    matches if new File(path).getAbsolutePath == absolutePath

    Definition Classes
    PathBaseMatchers
  43. def haveAsCanonicalPath(path: String): PathMatcher

    matches if new File(path).getCanonicalPath == canonicalPath

    matches if new File(path).getCanonicalPath == canonicalPath

    Definition Classes
    PathBaseMatchers
  44. def haveCanonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.getCanonicalPath == path

    matches if file.getCanonicalPath == path

    Definition Classes
    FileBaseMatchers
  45. def haveList[T <: AnyRef { def getPath(): String }](list: String): Matcher[T]

    matches if file.list == list

    matches if file.list == list

    Definition Classes
    FileBaseMatchers
  46. def haveName[T <: AnyRef { def getPath(): String }](name: String): Matcher[T]

    matches if file.getName == name

    matches if file.getName == name

    Definition Classes
    FileBaseMatchers
  47. def haveParent[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.getParent == path

    matches if file.getParent == path

    Definition Classes
    FileBaseMatchers
  48. def haveParentPath(parent: String): PathMatcher

    matches if new File(path).getParent == parent

    matches if new File(path).getParent == parent

    Definition Classes
    PathBaseMatchers
  49. def havePathName(name: String): PathMatcher

    matches if new File(path).getName == name

    matches if new File(path).getName == name

    Definition Classes
    PathBaseMatchers
  50. def hidden[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  51. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  52. def listPaths(list: String*): PathMatcher

    matches if new File(path).list == list(files)

    matches if new File(path).list == list(files)

    Definition Classes
    PathBaseMatchers
  53. def name[T <: AnyRef { def getPath(): String }](name: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  54. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  55. final def notify(): Unit

    Definition Classes
    AnyRef
  56. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  57. def parent[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  58. def parentPath(parent: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  59. def pathName(name: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  60. def paths[T <: AnyRef { def getPath(): String }](list: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  61. def readable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  63. implicit def toFileResultMatcher[T <: AnyRef { def getPath(): String }](result: MatchResult[T]): FileResultMatcher[T]

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

    Definition Classes
    FileBeHaveMatchers
  64. implicit def toPathResultMatcher(result: MatchResult[String]): PathResultMatcher

    matcher aliases and implicits to use with be / have + matcher

    matcher aliases and implicits to use with be / have + matcher

    Definition Classes
    PathBeHaveMatchers
  65. def toString(): String

    Definition Classes
    AnyRef → Any
  66. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. def writable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers

Inherited from FileMatchers

Inherited from FileBeHaveMatchers

Inherited from FileBaseMatchers

Inherited from PathMatchers

Inherited from PathBeHaveMatchers

Inherited from PathBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped