trait FileMatchers extends FileBaseMatchers with FileBeHaveMatchers
The FileMatchers trait provides matchers which are applicable to files
- Alphabetic
- By Inheritance
- FileMatchers
- FileBeHaveMatchers
- FileBaseMatchers
- PathMatchers
- PathBeHaveMatchers
- BeHaveMatchers
- PathBaseMatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def aDirectoryPath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def aFile[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def aFilePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def aHiddenPath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def aReadablePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def aWritablePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def absolute[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def absolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def anAbsolutePath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def anExistingPath: PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def asAbsolutePath(name: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def asCanonicalPath(name: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def be: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def beADirectory[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isDirectory
matches if file.isDirectory
- Definition Classes
- FileBaseMatchers
- def beADirectoryPath: PathMatcher
matches if new File(path).isDirectory
matches if new File(path).isDirectory
- Definition Classes
- PathBaseMatchers
- def beAFile[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isFile
matches if file.isFile
- Definition Classes
- FileBaseMatchers
- def beAFilePath: PathMatcher
matches if new File(path).isFile
matches if new File(path).isFile
- Definition Classes
- PathBaseMatchers
- def beAHiddenPath: PathMatcher
matches if new File(path).isHidden
matches if new File(path).isHidden
- Definition Classes
- PathBaseMatchers
- def beAReadablePath: PathMatcher
matches if new File(path).canRead
matches if new File(path).canRead
- Definition Classes
- PathBaseMatchers
- def beAWritablePath: PathMatcher
matches if new File(path).canWrite
matches if new File(path).canWrite
- Definition Classes
- PathBaseMatchers
- def beAbsolute[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isAbsolute
matches if file.isAbsolute
- Definition Classes
- FileBaseMatchers
- def beAnAbsolutePath: PathMatcher
matches if new File(path).isAbsolute
matches if new File(path).isAbsolute
- Definition Classes
- PathBaseMatchers
- def beAnExistingPath: PathMatcher
matches if new File(path).exists
matches if new File(path).exists
- Definition Classes
- PathBaseMatchers
- 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
- def beHidden[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.isHidden
matches if file.isHidden
- Definition Classes
- FileBaseMatchers
- def beReadable[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.canRead
matches if file.canRead
- Definition Classes
- FileBaseMatchers
- def beWritable[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.canWrite
matches if file.canWrite
- Definition Classes
- FileBaseMatchers
- def canonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equalToIgnoringSep(other: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exist[T <: AnyRef { def getPath(): String }]: Matcher[T]
matches if file.exists
matches if file.exists
- Definition Classes
- FileBaseMatchers
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def have: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def haveAbsolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]
matches if file.getAbsolutePath == path
matches if file.getAbsolutePath == path
- Definition Classes
- FileBaseMatchers
- def haveAsAbsolutePath(path: String): PathMatcher
matches if new File(path).getAbsolutePath == absolutePath
matches if new File(path).getAbsolutePath == absolutePath
- Definition Classes
- PathBaseMatchers
- def haveAsCanonicalPath(path: String): PathMatcher
matches if new File(path).getCanonicalPath == canonicalPath
matches if new File(path).getCanonicalPath == canonicalPath
- Definition Classes
- PathBaseMatchers
- def haveCanonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]
matches if file.getCanonicalPath == path
matches if file.getCanonicalPath == path
- Definition Classes
- FileBaseMatchers
- def haveList[T <: AnyRef { def getPath(): String }](list: String): Matcher[T]
matches if file.list == list
matches if file.list == list
- Definition Classes
- FileBaseMatchers
- def haveName[T <: AnyRef { def getPath(): String }](name: String): Matcher[T]
matches if file.getName == name
matches if file.getName == name
- Definition Classes
- FileBaseMatchers
- def haveParent[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]
matches if file.getParent == path
matches if file.getParent == path
- Definition Classes
- FileBaseMatchers
- def haveParentPath(parent: String): PathMatcher
matches if new File(path).getParent == parent
matches if new File(path).getParent == parent
- Definition Classes
- PathBaseMatchers
- def havePathName(name: String): PathMatcher
matches if new File(path).getName == name
matches if new File(path).getName == name
- Definition Classes
- PathBaseMatchers
- def hidden[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listPaths(list: String*): PathMatcher
matches if new File(path).list == list(files)
matches if new File(path).list == list(files)
- Definition Classes
- PathBaseMatchers
- def name[T <: AnyRef { def getPath(): String }](name: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def not: NotMatcher[Any]
- Definition Classes
- BeHaveMatchers
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def parent[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def parentPath(parent: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def pathName(name: String): PathMatcher
- Definition Classes
- PathBeHaveMatchers
- def paths[T <: AnyRef { def getPath(): String }](list: String): Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- def readable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- 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
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]
- Definition Classes
- FileBeHaveMatchers
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated