Trait/Object

org.specs2.matcher

PathMatchers

Related Docs: object PathMatchers | package matcher

Permalink

trait PathMatchers extends PathBaseMatchers with PathBeHaveMatchers

The PathMatchers trait provides matchers which are applicable to strings representing paths

Linear Supertypes
PathBeHaveMatchers, BeHaveMatchers, PathBaseMatchers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathMatchers
  2. PathBeHaveMatchers
  3. BeHaveMatchers
  4. PathBaseMatchers
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class PathResultMatcher extends AnyRef

    Permalink
    Definition Classes
    PathBeHaveMatchers

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aDirectoryPath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  5. def aFilePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  6. def aHiddenPath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  7. def aReadablePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  8. def aWritablePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  9. def anAbsolutePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  10. def anExistingPath: PathMatcher

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

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

    Permalink
    Definition Classes
    PathBeHaveMatchers
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def be: NeutralMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  15. def beADirectoryPath: PathMatcher

    Permalink

    matches if new File(path).isDirectory

    matches if new File(path).isDirectory

    Definition Classes
    PathBaseMatchers
  16. def beAFilePath: PathMatcher

    Permalink

    matches if new File(path).isFile

    matches if new File(path).isFile

    Definition Classes
    PathBaseMatchers
  17. def beAHiddenPath: PathMatcher

    Permalink

    matches if new File(path).isHidden

    matches if new File(path).isHidden

    Definition Classes
    PathBaseMatchers
  18. def beAReadablePath: PathMatcher

    Permalink

    matches if new File(path).canRead

    matches if new File(path).canRead

    Definition Classes
    PathBaseMatchers
  19. def beAWritablePath: PathMatcher

    Permalink

    matches if new File(path).canWrite

    matches if new File(path).canWrite

    Definition Classes
    PathBaseMatchers
  20. def beAnAbsolutePath: PathMatcher

    Permalink

    matches if new File(path).isAbsolute

    matches if new File(path).isAbsolute

    Definition Classes
    PathBaseMatchers
  21. def beAnExistingPath: PathMatcher

    Permalink

    matches if new File(path).exists

    matches if new File(path).exists

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

    Permalink

    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
  23. def clone(): AnyRef

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def have: NeutralMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  30. def haveAsAbsolutePath(path: String): PathMatcher

    Permalink

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

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

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

    Permalink

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

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

    Definition Classes
    PathBaseMatchers
  32. def haveParentPath(parent: String): PathMatcher

    Permalink

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

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

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

    Permalink

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

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

    Definition Classes
    PathBaseMatchers
  34. final def isInstanceOf[T0]: Boolean

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

    Permalink

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

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

    Definition Classes
    PathBaseMatchers
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. def not: NotMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  38. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  40. def parentPath(parent: String): PathMatcher

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

    Permalink
    Definition Classes
    PathBeHaveMatchers
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. implicit def toPathResultMatcher(result: MatchResult[String]): PathResultMatcher

    Permalink

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

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

    Definition Classes
    PathBeHaveMatchers
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from PathBeHaveMatchers

Inherited from BeHaveMatchers

Inherited from PathBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped