FileMatchers

org.specs2.matcher.FileMatchers$
See theFileMatchers companion trait
object FileMatchers extends FileMatchers

Attributes

Companion
trait
Graph
Supertypes
trait FileMatchers
trait PathMatchers
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

class FileResultMatcher[T](result: MatchResult[T])(implicit evidence$14: HasPath[T])

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class PathResultMatcher(result: MatchResult[String])

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

def aDirectory[T : HasPath]: Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def aDirectoryPath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def aFile[T : HasPath]: Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def aFilePath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def aHiddenPath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def aReadablePath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def aWritablePath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def absolute[T : HasPath]: Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def absolutePath[T : HasPath](path: String): Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def anAbsolutePath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def anExistingPath: PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def asAbsolutePath(name: String): PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def asCanonicalPath(name: String): PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def be: NeutralMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)
def beADirectory[T : HasPath]: Matcher[T]

matches if file.isDirectory

matches if file.isDirectory

Attributes

Inherited from:
FileBaseMatchers (hidden)
def beADirectoryPath: PathMatcher

matches if new File(path).isDirectory

matches if new File(path).isDirectory

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beAFile[T : HasPath]: Matcher[T]

matches if file.isFile

matches if file.isFile

Attributes

Inherited from:
FileBaseMatchers (hidden)
def beAFilePath: PathMatcher

matches if new File(path).isFile

matches if new File(path).isFile

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beAHiddenPath: PathMatcher

matches if new File(path).isHidden

matches if new File(path).isHidden

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beAReadablePath: PathMatcher

matches if new File(path).canRead

matches if new File(path).canRead

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beAWritablePath: PathMatcher

matches if new File(path).canWrite

matches if new File(path).canWrite

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beAbsolute[T : HasPath]: Matcher[T]

matches if file.isAbsolute

matches if file.isAbsolute

Attributes

Inherited from:
FileBaseMatchers (hidden)
def beAnAbsolutePath: PathMatcher

matches if new File(path).isAbsolute

matches if new File(path).isAbsolute

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beAnExistingPath: PathMatcher

matches if new File(path).exists

matches if new File(path).exists

Attributes

Inherited from:
PathBaseMatchers (hidden)
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

Attributes

Inherited from:
PathBaseMatchers (hidden)
def beHidden[T : HasPath]: Matcher[T]

matches if file.isHidden

matches if file.isHidden

Attributes

Inherited from:
FileBaseMatchers (hidden)
def beReadable[T : HasPath]: Matcher[T]

matches if file.canRead

matches if file.canRead

Attributes

Inherited from:
FileBaseMatchers (hidden)
def beWritable[T : HasPath]: Matcher[T]

matches if file.canWrite

matches if file.canWrite

Attributes

Inherited from:
FileBaseMatchers (hidden)
def canonicalPath[T : HasPath](path: String): Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def equalToIgnoringSep(other: String): PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def exist[T : HasPath]: Matcher[T]

matches if file.exists

matches if file.exists

Attributes

Inherited from:
FileBaseMatchers (hidden)
def have: NeutralMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)
def haveAbsolutePath[T : HasPath](path: String): Matcher[T]

matches if file.getAbsolutePath == path

matches if file.getAbsolutePath == path

Attributes

Inherited from:
FileBaseMatchers (hidden)
def haveAsAbsolutePath(path: String): PathMatcher

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

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

Attributes

Inherited from:
PathBaseMatchers (hidden)
def haveAsCanonicalPath(path: String): PathMatcher

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

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

Attributes

Inherited from:
PathBaseMatchers (hidden)
def haveCanonicalPath[T : HasPath](path: String): Matcher[T]

matches if file.getCanonicalPath == path

matches if file.getCanonicalPath == path

Attributes

Inherited from:
FileBaseMatchers (hidden)
def haveList[T : HasPath](list: String): Matcher[T]

matches if file.list == list

matches if file.list == list

Attributes

Inherited from:
FileBaseMatchers (hidden)
def haveName[T : HasPath](name: String): Matcher[T]

matches if file.getName == name

matches if file.getName == name

Attributes

Inherited from:
FileBaseMatchers (hidden)
def haveParent[T : HasPath](path: String): Matcher[T]

matches if file.getParent == path

matches if file.getParent == path

Attributes

Inherited from:
FileBaseMatchers (hidden)
def haveParentPath(parent: String): PathMatcher

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

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

Attributes

Inherited from:
PathBaseMatchers (hidden)
def havePathName(name: String): PathMatcher

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

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

Attributes

Inherited from:
PathBaseMatchers (hidden)
def hidden[T : HasPath]: Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def listPaths(list: String*): PathMatcher

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

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

Attributes

Inherited from:
PathBaseMatchers (hidden)
def name[T : HasPath](name: String): Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def not: NotMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)
def parent[T : HasPath](path: String): Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def parentPath(parent: String): PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def pathName(name: String): PathMatcher

Attributes

Inherited from:
PathBeHaveMatchers (hidden)
def paths[T : HasPath](list: String): Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def readable[T : HasPath]: Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
def writable[T : HasPath]: Matcher[T]

Attributes

Inherited from:
FileBeHaveMatchers (hidden)

Implicits

Inherited implicits

implicit def toFileResultMatcher[T : HasPath](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

Attributes

Inherited from:
FileBeHaveMatchers (hidden)
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

Attributes

Inherited from:
PathBeHaveMatchers (hidden)