The FileMatchers trait provides matchers which are applicable to files
- Companion:
- object
Type members
Inherited classlikes
Value members
Inherited methods
matches if new File(path).isDirectory
matches if new File(path).isDirectory
- Inherited from:
- PathBaseMatchers
matches if new File(path).isHidden
matches if new File(path).isHidden
- Inherited from:
- PathBaseMatchers
matches if new File(path).canWrite
matches if new File(path).canWrite
- Inherited from:
- PathBaseMatchers
matches if new File(path).isAbsolute
matches if new File(path).isAbsolute
- Inherited from:
- PathBaseMatchers
matches if 2 paths are the same regardless of their separators
matches if 2 paths are the same regardless of their separators
- Inherited from:
- PathBaseMatchers
matches if file.getAbsolutePath == path
matches if file.getAbsolutePath == path
- Inherited from:
- FileBaseMatchers
matches if new File(path).getAbsolutePath == absolutePath
matches if new File(path).getAbsolutePath == absolutePath
- Inherited from:
- PathBaseMatchers
matches if new File(path).getCanonicalPath == canonicalPath
matches if new File(path).getCanonicalPath == canonicalPath
- Inherited from:
- PathBaseMatchers
matches if file.getCanonicalPath == path
matches if file.getCanonicalPath == path
- Inherited from:
- FileBaseMatchers
matches if new File(path).getParent == parent
matches if new File(path).getParent == parent
- Inherited from:
- PathBaseMatchers
matches if new File(path).getName == name
matches if new File(path).getName == name
- Inherited from:
- PathBaseMatchers
Implicits
Inherited implicits
matcher aliases and implicits to use with BeVerb and HaveVerb
matcher aliases and implicits to use with BeVerb and HaveVerb
- Inherited from:
- FileBeHaveMatchers