Trait

org.specs2.matcher

FilesContentMatchers

Related Doc: package matcher

Permalink

trait FilesContentMatchers extends FileMatchers with LinesContentMatchers with TraversableMatchers with ExpectationsCreation

This trait provides matchers to check the presence of some expected files vs the actual ones and also ways to verify the contents of these files

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

Type Members

  1. class Descriptible[T] extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  2. class ExpectationDescription extends AnyRef

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

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

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

    Permalink
    Definition Classes
    TraversableBeHaveMatchers
  6. trait ImplicitParam extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  7. trait ImplicitParam1 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam10 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam2 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam3 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam4 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam5 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam6 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam7 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam8 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  16. trait ImplicitParam9 extends AnyRef

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

    Permalink

    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

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

    Permalink
    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

    Permalink
  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

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

    Permalink
  23. class OrderedSeqMatchResult[T] extends AnyRef

    Permalink
    Definition Classes
    TraversableBeHaveMatchers
  24. class PathResultMatcher extends AnyRef

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

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

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

    Permalink
    Definition Classes
    TypedEqual

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 aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Permalink
    Definition Classes
    FileBeHaveMatchers
  5. def aDirectoryPath: PathMatcher

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

    Permalink
    Definition Classes
    FileBeHaveMatchers
  7. def aFilePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  8. def aHiddenPath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  9. def aReadablePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  10. def aWritablePath: PathMatcher

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

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

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

    Permalink
    Definition Classes
    TraversableBaseMatchers
  14. def anAbsolutePath: PathMatcher

    Permalink
    Definition Classes
    PathBeHaveMatchers
  15. def anExistingPath: PathMatcher

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

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

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

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

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

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

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

    Permalink

    matches if file.isDirectory

    matches if file.isDirectory

    Definition Classes
    FileBaseMatchers
  23. def beADirectoryPath: PathMatcher

    Permalink

    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]

    Permalink

    matches if file.isFile

    matches if file.isFile

    Definition Classes
    FileBaseMatchers
  25. def beAFilePath: PathMatcher

    Permalink

    matches if new File(path).isFile

    matches if new File(path).isFile

    Definition Classes
    PathBaseMatchers
  26. def beAHiddenPath: PathMatcher

    Permalink

    matches if new File(path).isHidden

    matches if new File(path).isHidden

    Definition Classes
    PathBaseMatchers
  27. def beAReadablePath: PathMatcher

    Permalink

    matches if new File(path).canRead

    matches if new File(path).canRead

    Definition Classes
    PathBaseMatchers
  28. def beAWritablePath: PathMatcher

    Permalink

    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]

    Permalink

    matches if file.isAbsolute

    matches if file.isAbsolute

    Definition Classes
    FileBaseMatchers
  30. def beAnAbsolutePath: PathMatcher

    Permalink

    matches if new File(path).isAbsolute

    matches if new File(path).isAbsolute

    Definition Classes
    PathBaseMatchers
  31. def beAnExistingPath: PathMatcher

    Permalink

    matches if new File(path).exists

    matches if new File(path).exists

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

    Permalink

    matches if file.isHidden

    matches if file.isHidden

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

    Permalink

    matches if file.canRead

    matches if file.canRead

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

    Permalink

    returns

    a matcher checking if the elements are ordered

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

    Permalink

    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 }]

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

    Permalink

    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]

    Permalink

    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

    Permalink

    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]]

    Permalink
    Definition Classes
    TraversableBaseMatchersLowImplicits
  42. def clone(): AnyRef

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

    Permalink
    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]

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

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

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

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

    Permalink

    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]

    Permalink

    COLLECTION MATCHERS

    COLLECTION MATCHERS

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

    Permalink

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]]

    Permalink

    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]]

    Permalink

    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]]

    Permalink

    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]

    Permalink

    returns

    an Expectable with a description function

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

    Permalink

    returns

    an Expectable with a description function

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

    Permalink

    returns

    an Expectable with a description

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

    Permalink

    returns

    an Expectable

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

    Permalink

    returns

    an Expectable with a function to show the element T

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

    Permalink

    describe a value with the aka method

    describe a value with the aka method

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

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

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

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

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

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

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

    Permalink

    matches if file.exists

    matches if file.exists

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

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

    Permalink
    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]

    Permalink

    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[_]

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

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

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

    Permalink

    matches if file.getAbsolutePath == path

    matches if file.getAbsolutePath == path

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

    Permalink

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

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

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    matches if file.getParent == path

    matches if file.getParent == path

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

    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

  102. def haveSameFilesContentAs(expectedDir: File): LocalFilesContentMatcher

    Permalink

    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

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

    Permalink

    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]

    Permalink

    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)]

    Permalink

    match 2 files if they have the same MD5 digest

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

    Permalink

    match 2 files if they have the same MD5 digest

  107. def haveSamePathsAs(expectedDir: File): LocalPathsMatcher

    Permalink

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

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

    Permalink

    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]

    Permalink

    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 }]

    Permalink
    Definition Classes
    FileBeHaveMatchers
  111. implicit lazy val implicitParameter: ImplicitParam

    Permalink
    Definition Classes
    ImplicitParameters
  112. implicit lazy val implicitParameter1: ImplicitParam1

    Permalink
    Definition Classes
    ImplicitParameters
  113. implicit lazy val implicitParameter10: ImplicitParam10

    Permalink
    Definition Classes
    ImplicitParameters
  114. implicit lazy val implicitParameter2: ImplicitParam2

    Permalink
    Definition Classes
    ImplicitParameters
  115. implicit lazy val implicitParameter3: ImplicitParam3

    Permalink
    Definition Classes
    ImplicitParameters
  116. implicit lazy val implicitParameter4: ImplicitParam4

    Permalink
    Definition Classes
    ImplicitParameters
  117. implicit lazy val implicitParameter5: ImplicitParam5

    Permalink
    Definition Classes
    ImplicitParameters
  118. implicit lazy val implicitParameter6: ImplicitParam6

    Permalink
    Definition Classes
    ImplicitParameters
  119. implicit lazy val implicitParameter7: ImplicitParam7

    Permalink
    Definition Classes
    ImplicitParameters
  120. implicit lazy val implicitParameter8: ImplicitParam8

    Permalink
    Definition Classes
    ImplicitParameters
  121. implicit lazy val implicitParameter9: ImplicitParam9

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

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

    Permalink

    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]

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  126. 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
  127. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink

    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]]

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    returns

    the match result without any side-effects

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

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

    Permalink

    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]

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

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

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

    Permalink

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  148. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    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
  150. implicit def toDifferenceFilter(n: Int): FirstNDifferencesFilter

    Permalink
    Definition Classes
    DifferenceFilters
  151. implicit def toFileResultMatcher[T <: AnyRef { def getPath(): String }](result: MatchResult[T]): FileResultMatcher[T]

    Permalink

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

    Definition Classes
    FileBeHaveMatchers
  152. implicit def toLinesContentResultMatcher[L1](result: MatchResult[L1])(implicit arg0: LinesContent[L1]): LinesContentResultMatcher[L1]

    Permalink

    matcher aliases and implicits to use with BeVerb and HaveVerb

    matcher aliases and implicits to use with BeVerb and HaveVerb

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

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

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

    Permalink

    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
  157. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    FileBeHaveMatchers

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 LinesContentMatchers

Inherited from LinesContentBeHaveMatchers

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 FileMatchers

Inherited from FileBeHaveMatchers

Inherited from FileBaseMatchers

Inherited from PathMatchers

Inherited from PathBeHaveMatchers

Inherited from BeHaveMatchers

Inherited from PathBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped