org.specs2.matcher

ContentMatchers

Related Docs: object ContentMatchers | package matcher

trait ContentMatchers extends LinesContentMatchers with FilesContentMatchers

The ContentMatchers trait provides matchers to make comparisons between files, sequences,...

Linear Supertypes
FilesContentMatchers, TraversableMatchers, NumberOfTimes, ImplicitParameters, TraversableBaseMatchersLowImplicits, ValueChecksLowImplicits, matcher.TraversableBeHaveMatchers, LazyParameters, TraversableBaseMatchers, FileMatchers, FileBeHaveMatchers, FileBaseMatchers, PathMatchers, PathBeHaveMatchers, PathBaseMatchers, LinesContentMatchers, LinesContentBeHaveMatchers, BeHaveMatchers, LinesContentBaseMatchers, SeqsContents, Expectations, ExpectationsDescription, TypedEqual, ExpectationsCreation, MatchResultStackTrace, DifferenceFilters, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContentMatchers
  2. FilesContentMatchers
  3. TraversableMatchers
  4. NumberOfTimes
  5. ImplicitParameters
  6. TraversableBaseMatchersLowImplicits
  7. ValueChecksLowImplicits
  8. TraversableBeHaveMatchers
  9. LazyParameters
  10. TraversableBaseMatchers
  11. FileMatchers
  12. FileBeHaveMatchers
  13. FileBaseMatchers
  14. PathMatchers
  15. PathBeHaveMatchers
  16. PathBaseMatchers
  17. LinesContentMatchers
  18. LinesContentBeHaveMatchers
  19. BeHaveMatchers
  20. LinesContentBaseMatchers
  21. SeqsContents
  22. Expectations
  23. ExpectationsDescription
  24. TypedEqual
  25. ExpectationsCreation
  26. MatchResultStackTrace
  27. DifferenceFilters
  28. AnyRef
  29. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Descriptible[T] extends AnyRef

    Definition Classes
    ExpectationsDescription
  2. class ExpectationDescription extends AnyRef

    Definition Classes
    ExpectationsDescription
  3. class FileResultMatcher[T <: AnyRef { def getPath(): String }] extends AnyRef

    Definition Classes
    FileBeHaveMatchers
  4. case class FirstNDifferencesFilter(n: Int) extends Product with Serializable

    Definition Classes
    DifferenceFilters
  5. class HasSize[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  6. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  7. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  16. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  17. case class LinesComparisonMatcher[L1, L2] extends Matcher[L1] with Product with Serializable

    Matcher to compare the contents of line contents

    Matcher to compare the contents of line contents

    Definition Classes
    LinesContentBaseMatchers
  18. class LinesContentResultMatcher[L1] extends AnyRef

    Definition Classes
    LinesContentBeHaveMatchers
  19. case class LinesPairComparisonMatcher[L1, L2] extends Matcher[(L1, L2)] with Product with Serializable

    Definition Classes
    LinesContentBaseMatchers
  20. case class LocalFilesContentMatcher(expectedDir: File, filter: (File) ⇒ Boolean = (f: File) => true, filesMatcher: Matcher[(File, File)] = haveSameLines[File, File]) extends Matcher[File] with Product with Serializable

    Definition Classes
    FilesContentMatchers
  21. case class LocalPathsAndFilesContentMatcher(expectedDir: File, filter: (File) ⇒ Boolean = (f: File) => true, filesMatcher: Matcher[(File, File)] = haveSameLines[File, File]) extends Matcher[File] with Product with Serializable

    Definition Classes
    FilesContentMatchers
  22. case class LocalPathsMatcher(expectedDir: File, filter: (File) ⇒ Boolean = (f: File) => true) extends Matcher[File] with Product with Serializable

    Definition Classes
    FilesContentMatchers
  23. class OrderedSeqMatchResult[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  24. class PathResultMatcher extends AnyRef

    Definition Classes
    PathBeHaveMatchers
  25. class TraversableBeHaveMatchers[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  26. trait TraversableMatcher[T] extends Matcher[GenTraversableOnce[T]]

    Definition Classes
    TraversableBaseMatchers
  27. class TypedEqualExpectation[T] extends AnyRef

    Definition Classes
    TypedEqual

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  5. def aDirectoryPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  6. def aFile[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  7. def aFilePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  8. def aHiddenPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  9. def aReadablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  10. def aWritablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  11. def absolute[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  12. def absolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  13. def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  14. def anAbsolutePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  15. def anExistingPath: PathMatcher

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

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

    Definition Classes
    PathBeHaveMatchers
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  20. def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  21. def be: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  22. def beADirectory[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isDirectory

    matches if file.isDirectory

    Definition Classes
    FileBaseMatchers
  23. def beADirectoryPath: PathMatcher

    matches if new File(path).isDirectory

    matches if new File(path).isDirectory

    Definition Classes
    PathBaseMatchers
  24. def beAFile[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isFile

    matches if file.isFile

    Definition Classes
    FileBaseMatchers
  25. def beAFilePath: PathMatcher

    matches if new File(path).isFile

    matches if new File(path).isFile

    Definition Classes
    PathBaseMatchers
  26. def beAHiddenPath: PathMatcher

    matches if new File(path).isHidden

    matches if new File(path).isHidden

    Definition Classes
    PathBaseMatchers
  27. def beAReadablePath: PathMatcher

    matches if new File(path).canRead

    matches if new File(path).canRead

    Definition Classes
    PathBaseMatchers
  28. def beAWritablePath: PathMatcher

    matches if new File(path).canWrite

    matches if new File(path).canWrite

    Definition Classes
    PathBaseMatchers
  29. def beAbsolute[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isAbsolute

    matches if file.isAbsolute

    Definition Classes
    FileBaseMatchers
  30. def beAnAbsolutePath: PathMatcher

    matches if new File(path).isAbsolute

    matches if new File(path).isAbsolute

    Definition Classes
    PathBaseMatchers
  31. def beAnExistingPath: PathMatcher

    matches if new File(path).exists

    matches if new File(path).exists

    Definition Classes
    PathBaseMatchers
  32. 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
  33. def beHidden[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.isHidden

    matches if file.isHidden

    Definition Classes
    FileBaseMatchers
  34. def beReadable[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.canRead

    matches if file.canRead

    Definition Classes
    FileBaseMatchers
  35. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  36. def beWritable[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.canWrite

    matches if file.canWrite

    Definition Classes
    FileBaseMatchers
  37. def canonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  38. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  39. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to throw exceptions when checking the match result

    this method can be overridden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  40. def checkResultFailure(r: ⇒ Result): Result

    this method can be overridden to throw exceptions when checking the result

    this method can be overridden to throw exceptions when checking the result

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  41. implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: (T) ⇒ ValueCheck[T]): Seq[ValueCheck[T]]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  42. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  44. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  45. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  46. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  47. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  48. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  49. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  50. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  51. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  52. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  53. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  54. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  55. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  56. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  57. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  58. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  59. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  60. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  61. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  62. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T]): ContainWithResultSeq[T]

    Additional contain methods using to avoid automatic tuple conversions

    Additional contain methods using to avoid automatic tuple conversions

    Definition Classes
    TraversableBaseMatchers
  63. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    COLLECTION MATCHERS

    COLLECTION MATCHERS

    Definition Classes
    TraversableBaseMatchers
  64. def contain[T](check: ValueCheck[T]): ContainWithResult[T]

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  65. def containAllOf[T](seq: Seq[T]): ContainWithResultSeq[T]

    match if a traversable contains all the elements of seq (and maybe more)

    match if a traversable contains all the elements of seq (and maybe more)

    Definition Classes
    TraversableBaseMatchers
  66. def containAnyOf[T](seq: Seq[T]): ContainWithResult[T]

    match if a traversable contains one of (t1, t2)

    match if a traversable contains one of (t1, t2)

    Definition Classes
    TraversableBaseMatchers
  67. def containLines[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    matches if 1 lines content contains the lines of the other one

    matches if 1 lines content contains the lines of the other one

    Definition Classes
    LinesContentBaseMatchers
  68. def containMatch[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    match if traversable contains (x matches .*+t+.*)

    match if traversable contains (x matches .*+t+.*)

    Definition Classes
    TraversableBaseMatchers
  69. def containPattern[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  70. def containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) ⇒ Boolean = (_:T) == (_:T)): Matcher[Traversable[T]]

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  71. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  72. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    ExpectationsCreation
  73. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    returns

    an Expectable with a description

    Definition Classes
    ExpectationsCreation
  74. def createExpectable[T](t: ⇒ T): Expectable[T]

    returns

    an Expectable

    Definition Classes
    ExpectationsCreation
  75. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ExpectationsCreation
  76. implicit def describe[T](t: ⇒ T): Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    ExpectationsDescription
  77. implicit def describeExpectation(description: String): ExpectationDescription

    Definition Classes
    ExpectationsDescription
  78. def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  79. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef → Any
  82. def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  83. def exist[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.exists

    matches if file.exists

    Definition Classes
    FileBaseMatchers
  84. implicit val fileContentForMatchers: LinesContent[File]

    Attributes
    protected
    Definition Classes
    LinesContentBaseMatchers
  85. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  86. implicit def functionIsValueCheck[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): ValueCheck[T]

    a function returning an object having an AsResult instance can check a value

    a function returning an object having an AsResult instance can check a value

    Definition Classes
    ValueChecksLowImplicits
  87. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  88. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  89. def have: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  90. def haveAbsolutePath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.getAbsolutePath == path

    matches if file.getAbsolutePath == path

    Definition Classes
    FileBaseMatchers
  91. def haveAsAbsolutePath(path: String): PathMatcher

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

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

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

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

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

    Definition Classes
    PathBaseMatchers
  93. def haveCanonicalPath[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.getCanonicalPath == path

    matches if file.getCanonicalPath == path

    Definition Classes
    FileBaseMatchers
  94. def haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  95. def haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  96. def haveList[T <: AnyRef { def getPath(): String }](list: String): Matcher[T]

    matches if file.list == list

    matches if file.list == list

    Definition Classes
    FileBaseMatchers
  97. def haveName[T <: AnyRef { def getPath(): String }](name: String): Matcher[T]

    matches if file.getName == name

    matches if file.getName == name

    Definition Classes
    FileBaseMatchers
  98. def haveParent[T <: AnyRef { def getPath(): String }](path: String): Matcher[T]

    matches if file.getParent == path

    matches if file.getParent == path

    Definition Classes
    FileBaseMatchers
  99. def haveParentPath(parent: String): PathMatcher

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

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

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

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

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

    Definition Classes
    PathBaseMatchers
  101. def haveSameFilesAs(expectedDir: File): LocalPathsAndFilesContentMatcher

    check that all the paths in expectedDir are the same as the ones in actualDir then check that all the files in expectedDir have the same contents as the files in actualDir when they are present

    check that all the paths in expectedDir are the same as the ones in actualDir then check that all the files in expectedDir have the same contents as the files in actualDir when they are present

    Definition Classes
    FilesContentMatchers
  102. def haveSameFilesContentAs(expectedDir: File): LocalFilesContentMatcher

    check that all the files in expectedDir have the same contents as the files in actualDir when they are present The default matcher is assuming that files are text files which must be compared line by line

    check that all the files in expectedDir have the same contents as the files in actualDir when they are present The default matcher is assuming that files are text files which must be compared line by line

    Definition Classes
    FilesContentMatchers
  103. def haveSameLines[L1, L2](implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesPairComparisonMatcher[L1, L2]

    matches if 2 contents, as a pair, have the same lines

    matches if 2 contents, as a pair, have the same lines

    Definition Classes
    LinesContentBaseMatchers
  104. def haveSameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    matches if 2 contents have the same lines

    matches if 2 contents have the same lines

    Definition Classes
    LinesContentBaseMatchers
  105. def haveSameMD5: Matcher[(File, File)]

    match 2 files if they have the same MD5 digest

    match 2 files if they have the same MD5 digest

    Definition Classes
    FilesContentMatchers
  106. def haveSameMD5As(expected: File): Matcher[File]

    match 2 files if they have the same MD5 digest

    match 2 files if they have the same MD5 digest

    Definition Classes
    FilesContentMatchers
  107. def haveSamePathsAs(expectedDir: File): LocalPathsMatcher

    check that all the paths in expectedDir are the same as the ones in actualDir

    check that all the paths in expectedDir are the same as the ones in actualDir

    Definition Classes
    FilesContentMatchers
  108. def haveSize[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  109. def haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  110. def hidden[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  111. implicit lazy val implicitParameter: ImplicitParam

    Definition Classes
    ImplicitParameters
  112. implicit lazy val implicitParameter1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  113. implicit lazy val implicitParameter10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  114. implicit lazy val implicitParameter2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  115. implicit lazy val implicitParameter3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  116. implicit lazy val implicitParameter4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  117. implicit lazy val implicitParameter5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  118. implicit lazy val implicitParameter6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  119. implicit lazy val implicitParameter7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  120. implicit lazy val implicitParameter8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  121. implicit lazy val implicitParameter9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  122. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  123. implicit def lazyParameter[T](value: ⇒ T): LazyParameter[T]

    transform a value to a zero-arg function returning that value

    transform a value to a zero-arg function returning that value

    Definition Classes
    LazyParameters
  124. def length[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  125. def length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  126. def listPaths(list: String*): PathMatcher

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

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

    Definition Classes
    PathBaseMatchers
  127. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    this method can be overridden to intercept a MatchResult and change its message before it is thrown

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  128. implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  129. def name[T <: AnyRef { def getPath(): String }](name: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  130. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  131. def not: NotMatcher[Any]

    Definition Classes
    BeHaveMatchers
  132. final def notify(): Unit

    Definition Classes
    AnyRef
  133. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  134. implicit def orderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit arg0: Ordering[T]): OrderedSeqMatchResult[T]

    Definition Classes
    TraversableBeHaveMatchers
  135. def parent[T <: AnyRef { def getPath(): String }](path: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  136. def parentPath(parent: String): PathMatcher

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

    Definition Classes
    PathBeHaveMatchers
  138. def paths[T <: AnyRef { def getPath(): String }](list: String): Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  139. def readable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  140. def sameLinesAs[L1, L2](ls2: L2)(implicit arg0: LinesContent[L1], arg1: LinesContent[L2]): LinesComparisonMatcher[L1, L2]

    Definition Classes
    LinesContentBeHaveMatchers
  141. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    returns

    the match result without any side-effects

    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  142. implicit def seqContentForMatchers[T]: LinesContent[Seq[T]]

    Attributes
    protected
    Definition Classes
    SeqsContents
  143. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  144. def size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  145. def size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  146. implicit def sized[T](s: MatchResult[T])(implicit arg0: Sized[T]): HasSize[T]

    Definition Classes
    TraversableBeHaveMatchers
  147. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  148. implicit def stringMatcherIsTraversableMatcher(m: Matcher[String]): Matcher[GenTraversableOnce[String]]

    this allows the contain(string) matcher for StringMatchers to be used with a Traversable

    this allows the contain(string) matcher for StringMatchers to be used with a Traversable

    Definition Classes
    TraversableBaseMatchersLowImplicits
  149. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  150. implicit def timesFor(n: Int): Times

    This implicit definition allows to declare a number of times 3.times

    This implicit definition allows to declare a number of times 3.times

    Definition Classes
    NumberOfTimes
  151. implicit def toDifferenceFilter(n: Int): FirstNDifferencesFilter

    Definition Classes
    DifferenceFilters
  152. 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
  153. implicit def toLinesContentResultMatcher[L1](result: MatchResult[L1])(implicit arg0: LinesContent[L1]): LinesContentResultMatcher[L1]

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

    Definition Classes
    LinesContentBeHaveMatchers
  154. 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
  155. def toString(): String

    Definition Classes
    AnyRef → Any
  156. implicit def traversable[T](s: MatchResult[Traversable[T]]): TraversableBeHaveMatchers[T]

    Definition Classes
    TraversableBeHaveMatchers
  157. implicit def typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]

    A value can be tested against another with the === operator.

    A value can be tested against another with the === operator. It is equivalent to writing a must_== b

    Definition Classes
    TypedEqual
  158. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  159. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  161. def writable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers

Inherited from FilesContentMatchers

Inherited from TraversableMatchers

Inherited from NumberOfTimes

Inherited from ImplicitParameters

Inherited from TraversableBaseMatchersLowImplicits

Inherited from ValueChecksLowImplicits

Inherited from matcher.TraversableBeHaveMatchers

Inherited from LazyParameters

Inherited from TraversableBaseMatchers

Inherited from FileMatchers

Inherited from FileBeHaveMatchers

Inherited from FileBaseMatchers

Inherited from PathMatchers

Inherited from PathBeHaveMatchers

Inherited from PathBaseMatchers

Inherited from LinesContentMatchers

Inherited from LinesContentBeHaveMatchers

Inherited from BeHaveMatchers

Inherited from LinesContentBaseMatchers

Inherited from SeqsContents

Inherited from Expectations

Inherited from ExpectationsDescription

Inherited from TypedEqual

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from DifferenceFilters

Inherited from AnyRef

Inherited from Any

Ungrouped