org.specs2.matcher.PathMatchers
See thePathMatchers companion object The PathMatchers trait provides matchers which are applicable to strings representing paths
Attributes
- Companion:
- object
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Known subtypes
- Self type
Members list
Concise view
Value members
matches if new File(path).isDirectory
matches if new File(path).isDirectory
Attributes
matches if new File(path).isFile
matches if new File(path).isFile
Attributes
matches if new File(path).isHidden
matches if new File(path).isHidden
Attributes
matches if new File(path).canRead
matches if new File(path).canRead
Attributes
matches if new File(path).canWrite
matches if new File(path).canWrite
Attributes
matches if new File(path).isAbsolute
matches if new File(path).isAbsolute
Attributes
matches if new File(path).exists
matches if new File(path).exists
Attributes
matches if 2 paths are the same regardless of their separators
matches if 2 paths are the same regardless of their separators
Attributes
matches if new File(path).getAbsolutePath == absolutePath
matches if new File(path).getAbsolutePath == absolutePath
Attributes
matches if new File(path).getCanonicalPath == canonicalPath
matches if new File(path).getCanonicalPath == canonicalPath
Attributes
matches if new File(path).getParent == parent
matches if new File(path).getParent == parent
Attributes
matches if new File(path).getName == name
matches if new File(path).getName == name
Attributes
matches if new File(path).list == list(files)
matches if new File(path).list == list(files)
Attributes