org.specs2.matcher

MustThrownMatchers

object MustThrownMatchers extends MustThrownMatchers

Linear Supertypes
MustThrownMatchers, MustThrownExpectations, MustExpectations, ThrownExpectations, StandardResults, Matchers, LanguageFeatures, MatchersImplicits, ExpectationsDescription, Sentences, MatchResultImplicits, MatchResultCombinators, ResultLogicalCombinators, Results, MatchResultLogicalCombinators, ContentMatchers, ContentBeHaveMatchers, ContentBaseMatchers, SeqsContents, DifferenceFilters, FileMatchers, FileBeHaveMatchers, FileBaseMatchers, PathMatchers, PathBeHaveMatchers, PathBaseMatchers, FileSystem, FileWriter, FileReader, EventuallyMatchers, EventuallyResults, EitherMatchers, EitherBeHaveMatchers, EitherBaseMatchers, OptionMatchers, OptionBeHaveMatchers, OptionBaseMatchers, NumericMatchers, NumericBeHaveMatchers, NumericBaseMatchers, ExceptionMatchers, ExceptionBeHaveMatchers, ExceptionBaseMatchers, BeHaveMatchers, JsonMatchers, JsonBaseBeHaveMatchers, JsonBaseMatchers, JsonMatchersLowImplicits, Expectations, CanBeEqual, XmlMatchers, XmlBeHaveMatchers, XmlBaseMatchers, StringMatchers, StringBeHaveMatchers, StringBaseMatchers, MapMatchers, MapBeHaveMatchers, MapBaseMatchers, TraversableMatchers, matcher.TraversableBeHaveMatchers, TraversableBaseMatchers, LazyParameters, AnyMatchers, matcher.AnyBeHaveMatchers, AnyBaseMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MustThrownMatchers
  2. MustThrownMatchers
  3. MustThrownExpectations
  4. MustExpectations
  5. ThrownExpectations
  6. StandardResults
  7. Matchers
  8. LanguageFeatures
  9. MatchersImplicits
  10. ExpectationsDescription
  11. Sentences
  12. MatchResultImplicits
  13. MatchResultCombinators
  14. ResultLogicalCombinators
  15. Results
  16. MatchResultLogicalCombinators
  17. ContentMatchers
  18. ContentBeHaveMatchers
  19. ContentBaseMatchers
  20. SeqsContents
  21. DifferenceFilters
  22. FileMatchers
  23. FileBeHaveMatchers
  24. FileBaseMatchers
  25. PathMatchers
  26. PathBeHaveMatchers
  27. PathBaseMatchers
  28. FileSystem
  29. FileWriter
  30. FileReader
  31. EventuallyMatchers
  32. EventuallyResults
  33. EitherMatchers
  34. EitherBeHaveMatchers
  35. EitherBaseMatchers
  36. OptionMatchers
  37. OptionBeHaveMatchers
  38. OptionBaseMatchers
  39. NumericMatchers
  40. NumericBeHaveMatchers
  41. NumericBaseMatchers
  42. ExceptionMatchers
  43. ExceptionBeHaveMatchers
  44. ExceptionBaseMatchers
  45. BeHaveMatchers
  46. JsonMatchers
  47. JsonBaseBeHaveMatchers
  48. JsonBaseMatchers
  49. JsonMatchersLowImplicits
  50. Expectations
  51. CanBeEqual
  52. XmlMatchers
  53. XmlBeHaveMatchers
  54. XmlBaseMatchers
  55. StringMatchers
  56. StringBeHaveMatchers
  57. StringBaseMatchers
  58. MapMatchers
  59. MapBeHaveMatchers
  60. MapBaseMatchers
  61. TraversableMatchers
  62. TraversableBeHaveMatchers
  63. TraversableBaseMatchers
  64. LazyParameters
  65. AnyMatchers
  66. AnyBeHaveMatchers
  67. AnyBaseMatchers
  68. AnyRef
  69. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AdapterFunction[T, S](f: (T) ⇒ S) extends Product with Serializable

    Definition Classes
    MatchersImplicits
  2. class AnyBeHaveMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  3. class AnyMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  4. class AnyRefMatcherResult[T <: AnyRef] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  5. class AnyWithEmptyMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  6. class BeLikeResultMatcher[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  7. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  8. class ClassMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  9. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  10. class EitherResultMatcher[L, R] extends AnyRef

    Definition Classes
    EitherBeHaveMatchers
  11. class ExceptionClassMatcher extends Matcher[Any]

    Exception matcher checking the type of a thrown exception.

    Exception matcher checking the type of a thrown exception.

    Definition Classes
    ExceptionBaseMatchers
  12. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  13. class ExceptionMatcherResult[T] extends AnyRef

    Definition Classes
    ExceptionBeHaveMatchers
  14. class ExpectationDescription extends AnyRef

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

    Definition Classes
    FileBeHaveMatchers
  16. class FindMatcher extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

    Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups

    Definition Classes
    StringBaseMatchers
  17. class FindMatcherPattern extends FindMatcher

    Matcher to find if the pattern p is found inside b.

    Matcher to find if the pattern p is found inside b.

    Definition Classes
    StringBaseMatchers
  18. class FindMatcherPatternWithGroups extends FindMatcherWithGroups

    Matcher to find if the pattern p is found inside b.

    Matcher to find if the pattern p is found inside b.

    Definition Classes
    StringBaseMatchers
  19. class FindMatcherRegex extends FindMatcherPattern

    Matcher to find if the Regex r is found inside b.

    Matcher to find if the Regex r is found inside b.

    Definition Classes
    StringBaseMatchers
  20. class FindMatcherWithGroups extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

    Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected

    Definition Classes
    StringBaseMatchers
  21. case class FirstNDifferencesFilter(n: Int) extends Product with Serializable

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

    Definition Classes
    TraversableBeHaveMatchers
  23. class JsonDeepPairMatcher extends Matcher[String]

    Definition Classes
    JsonBaseMatchers
  24. class JsonDeepValueMatcher extends Matcher[Any]

    Definition Classes
    JsonBaseMatchers
  25. case class JsonEqualValue extends JsonValueSpec with Product with Serializable

    Definition Classes
    JsonBaseMatchers
  26. class JsonPairMatcher extends Matcher[String]

    Definition Classes
    JsonBaseMatchers
  27. case class JsonPairSpec extends Product with Serializable

    Definition Classes
    JsonBaseMatchers
  28. case class JsonRegex extends JsonValueSpec with Product with Serializable

    Definition Classes
    JsonBaseMatchers
  29. case class JsonSelector extends Product with Serializable

    Definition Classes
    JsonBaseMatchers
  30. case class JsonStringMatcher extends JsonValueSpec with Product with Serializable

    Definition Classes
    JsonBaseMatchers
  31. class JsonValueMatcher extends Matcher[Any]

    Definition Classes
    JsonBaseMatchers
  32. trait JsonValueSpec extends AnyRef

    Definition Classes
    JsonBaseMatchers
  33. class LeftMatcher[T] extends Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  34. 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
    ContentBaseMatchers
  35. class LinesContentResultMatcher[L1] extends AnyRef

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

    Definition Classes
    ContentBaseMatchers
  37. class MapKeyResultMatcher[K] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  38. class MapResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  39. class MapValueResultMatcher[V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  40. class MatchResultCombinator[T] extends AnyRef

    Definition Classes
    MatchResultLogicalCombinators
  41. class MatchResultFunctionVerification[U, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  42. class MatcherFunction[S, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  43. class MatcherFunction2[T] extends AnyRef

    Definition Classes
    MatchersImplicits
  44. class MatcherFunction3[S, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  45. class NeutralMatcherElem extends AnyRef

    Definition Classes
    XmlBeHaveMatchers
  46. class NeutralMatcherNumeric extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  47. class NeutralMatcherOrdered extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  48. class NeutralStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  49. class NotMatcherElem extends AnyRef

    Definition Classes
    XmlBeHaveMatchers
  50. class NotMatcherJson extends AnyRef

    Definition Classes
    JsonBaseBeHaveMatchers
  51. class NotStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  52. class NumericResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  53. class OptionResultMatcher[T] extends AnyRef

    Definition Classes
    OptionBeHaveMatchers
  54. class OrderedResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  55. class OrderedSeqMatchResult[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  56. class PartialFunctionResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  57. class PathResultMatcher extends AnyRef

    Definition Classes
    PathBeHaveMatchers
  58. class ResultLogicalCombinator extends AnyRef

    Definition Classes
    ResultLogicalCombinators
  59. class RightMatcher[T] extends Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  60. class SeqMatcher[S, T] extends Matcher[Seq[T]]

    The SeqMatcher class is a matcher matching a sequence of objects with a matcher returned by a function.

  61. class SetMatcher[S, T] extends Matcher[Set[T]]

    The SetMatcher class is a matcher matching a set of objects with a matcher returned by a function.

  62. class StringMatcher extends AnyRef

    Definition Classes
    StringBaseMatchers
  63. class StringResultMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  64. trait ToJsonValueSpec[T] extends AnyRef

    Definition Classes
    JsonBaseMatchers
  65. class TraversableBeHaveMatchers[T] extends AnyRef

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

    Definition Classes
    TraversableBaseMatchers
  67. class XmlResultMatcher extends AnyRef

    Definition Classes
    XmlBeHaveMatchers

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !=/(s: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  4. def !==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  5. final def ##(): Int

    Definition Classes
    AnyRef → Any
  6. def */(pair: JsonPairSpec): JsonDeepPairMatcher

    match if the document contains the pair at any level

    match if the document contains the pair at any level

    Definition Classes
    JsonBaseMatchers
  7. def */(value: JsonValueSpec): JsonDeepValueMatcher

    match if the document contains the value at any level

    match if the document contains the value at any level

    Definition Classes
    JsonBaseMatchers
  8. def /(pair: JsonPairSpec): JsonPairMatcher

    match if the document contains the pair at the top level

    match if the document contains the pair at the top level

    Definition Classes
    JsonBaseMatchers
  9. def /(value: JsonValueSpec): JsonValueMatcher

    match if the document contains the value at the top-level

    match if the document contains the value at the top-level

    Definition Classes
    JsonBaseMatchers
  10. def /#(i: Int): JsonSelector

    allow to match on the i-th element of an Array or a Map (0-based)

    allow to match on the i-th element of an Array or a Map (0-based)

    Definition Classes
    JsonBaseMatchers
  11. def <[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  12. def <=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  13. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  15. def ==/(node: Elem): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  16. def ==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  17. def ==/(s: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  18. def ===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  19. def ==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  20. def =~(r: Regex): BeMatchingRegex

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  21. def =~(p: Pattern): BeMatchingPattern

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  22. def =~(t: ⇒ String): BeMatching

    alias for beMatching but matching just a fragment of the string

    alias for beMatching but matching just a fragment of the string

    Definition Classes
    StringBaseMatchers
  23. def >[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  24. def >=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  25. implicit def ToDelta[S](n: S)(implicit arg0: Numeric[S]): CanHaveDelta[S]

    implicit definition to create delta for the beCloseTo matcher

    implicit definition to create delta for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers
  26. object ToJsonValueSpec

    Definition Classes
    JsonBaseMatchers
  27. def \(label: String, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    alias for \\(node, attributeValues) with the node label only

    alias for \\(node, attributeValues) with the node label only

    Definition Classes
    XmlBaseMatchers
  28. def \(node: Node, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    match if node is the first node of the tested node and has exactly the attributeValues as names and values for its attributes

    match if node is the first node of the tested node and has exactly the attributeValues as names and values for its attributes

    Definition Classes
    XmlBaseMatchers
  29. def \(label: String, attributes: String*): XmlMatcher

    alias for \(node) with the node label only

    alias for \(node) with the node label only

    Definition Classes
    XmlBaseMatchers
  30. def \(node: Node): XmlMatcher

    match if node is the first node of the tested node

    match if node is the first node of the tested node

    Definition Classes
    XmlBaseMatchers
  31. def \(node: Node, attributes: String*): XmlMatcher

    match if node is the first node of the tested node an exact match on is required on attributes

    match if node is the first node of the tested node an exact match on is required on attributes

    Definition Classes
    XmlBaseMatchers
  32. def \\(label: String, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    alias for \\(node, attributeValues) with the node label only

    alias for \\(node, attributeValues) with the node label only

    Definition Classes
    XmlBaseMatchers
  33. def \\(node: Node, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

    match if node is contained anywhere inside the tested node and has exactly the attributeValues as names and values for its attributes

    match if node is contained anywhere inside the tested node and has exactly the attributeValues as names and values for its attributes

    Definition Classes
    XmlBaseMatchers
  34. def \\(label: String, attributes: String*): XmlMatcher

    alias for \\(node) with the node label only

    alias for \\(node) with the node label only

    Definition Classes
    XmlBaseMatchers
  35. def \\(node: Node): XmlMatcher

    match if node is contained anywhere inside the tested node

    match if node is contained anywhere inside the tested node

    Definition Classes
    XmlBaseMatchers
  36. def \\(node: Node, attributes: String*): XmlMatcher

    match if node is contained anywhere inside the tested node an exact match on is required on attributes

    match if node is contained anywhere inside the tested node an exact match on is required on attributes

    Definition Classes
    XmlBaseMatchers
  37. def aDirectory[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  38. def aDirectoryPath: PathMatcher

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

    Definition Classes
    FileBeHaveMatchers
  40. def aFilePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  41. def aHiddenPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  42. def aReadablePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  43. def aWritablePath: PathMatcher

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

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

    Definition Classes
    FileBeHaveMatchers
  46. implicit def adapterFunction[T, S](f: (T) ⇒ S): AdapterFunction[T, S]

    this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).

    this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)

    Definition Classes
    MatchersImplicits
  47. implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]

  48. def allElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Definition Classes
    TraversableBaseMatchers
  49. def anAbsolutePath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  50. def anError: Error

    Definition Classes
    ThrownExpectations → StandardResults
  51. def anExistingPath: PathMatcher

    Definition Classes
    PathBeHaveMatchers
  52. def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  53. implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  54. implicit def anyToJSonValueSpec[T]: ToJsonValueSpec[T]

    Definition Classes
    JsonMatchersLowImplicits
  55. implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyWithEmptyMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  56. def append(path: String)(function: (Writer) ⇒ Unit): Unit

    append some content to a file and take care of closing the file.

    append some content to a file and take care of closing the file.

    Usage:

    write("./dir/hello.txt") { out =>
    out.write("content")
    }
    path

    path of the file to write

    Definition Classes
    FileWriter
  57. def appendToFile(path: String, content: ⇒ String): Unit

    writes some content to a file.

    writes some content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  58. def appendToXmlFile(path: String, content: ⇒ NodeSeq): Unit

    writes some xml content to a file.

    writes some xml content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  59. def asAbsolutePath(name: String): PathMatcher

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

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

    Definition Classes
    Any
  62. def asNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  63. def asNullAs[T](a: ⇒ T): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  64. implicit def asResult[T, M[_] <: MatchResult[_]](r: M[T]): Result

    implicit definition to transform any MatchResult to a Result

    implicit definition to transform any MatchResult to a Result

    Definition Classes
    MatchResultImplicits
  65. def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Definition Classes
    AnyBeHaveMatchers
  66. def atLeastOnce[T, U](values: GenTraversableOnce[T])(f: (T) ⇒ MatchResult[U]): MatchResult[Seq[T]]

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    MatchersImplicits
  67. def atLeastOnceWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Seq[T]]

    verify the function f for at least one value, where the PartialFunction is defined

    verify the function f for at least one value, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  68. def be: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  69. def be[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    alias for beTheSameAs

    alias for beTheSameAs

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

    matches if file.

    matches if file.isDirectory

    Definition Classes
    FileBaseMatchers
  71. def beADirectoryPath: PathMatcher

    matches if new File(path).

    matches if new File(path).isDirectory

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

    matches if file.

    matches if file.isFile

    Definition Classes
    FileBaseMatchers
  73. def beAFilePath: PathMatcher

    matches if new File(path).

    matches if new File(path).isFile

    Definition Classes
    PathBaseMatchers
  74. def beAHiddenPath: PathMatcher

    matches if new File(path).

    matches if new File(path).isHidden

    Definition Classes
    PathBaseMatchers
  75. def beAReadablePath: PathMatcher

    matches if new File(path).

    matches if new File(path).canRead

    Definition Classes
    PathBaseMatchers
  76. def beAWritablePath: PathMatcher

    matches if new File(path).

    matches if new File(path).canWrite

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

    matches if file.

    matches if file.isAbsolute

    Definition Classes
    FileBaseMatchers
  78. def beAnAbsolutePath: PathMatcher

    matches if new File(path).

    matches if new File(path).isAbsolute

    Definition Classes
    PathBaseMatchers
  79. def beAnExistingPath: PathMatcher

    matches if new File(path).

    matches if new File(path).exists

    Definition Classes
    PathBaseMatchers
  80. def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBaseMatchers
  81. def beAsNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  82. def beAsNullAs[T](a: ⇒ T): Matcher[T]

    matches if a is null when v is null and a is not null when v is not null

    matches if a is null when v is null and a is not null when v is not null

    Definition Classes
    AnyBaseMatchers
  83. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    matches if v.

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  84. def beBetween[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    matches if a value is between 2 others according to an Ordering

    matches if a value is between 2 others according to an Ordering

    Definition Classes
    NumericBaseMatchers
  85. def beCloseTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  86. def beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  87. def beDefinedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

    matches if the partial function is defined at those values

    matches if the partial function is defined at those values

    Definition Classes
    MapBaseMatchers
  88. def beDefinedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

    matches if the partial function is defined at those values and return expected values

    matches if the partial function is defined at those values and return expected values

    Definition Classes
    MapBaseMatchers
  89. def beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]

    matches if a.

    matches if a.isEmpty

    Definition Classes
    AnyBaseMatchers
  90. def beEqualTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  91. 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
  92. def beEqualToIgnoringSpace(node: Seq[Node]): EqualIgnoringSpaceMatcher

    match if node is equal to the tested node without testing empty text

    match if node is equal to the tested node without testing empty text

    Definition Classes
    XmlBaseMatchers
  93. def beFalse: Matcher[Boolean]

    matches if a == false

    matches if a == false

    Definition Classes
    AnyBaseMatchers
  94. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  95. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  96. def beHidden[T <: AnyRef { def getPath(): String }]: Matcher[T]

    matches if file.

    matches if file.isHidden

    Definition Classes
    FileBaseMatchers
  97. def beLeft[T]: LeftMatcher[T]

    Definition Classes
    EitherBaseMatchers
  98. def beLeft[T](t: ⇒ T): Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  99. def beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  100. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  101. def beLike[T](pattern: PartialFunction[T, MatchResult[_]]): Matcher[T]

    matches if the value returns a successful result when applied to a PartialFunction

    matches if the value returns a successful result when applied to a PartialFunction

    Definition Classes
    AnyBaseMatchers
  102. def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  103. def beMatching(a: Regex): BeMatchingRegex

    matches if b matches the regex a

    matches if b matches the regex a

    Definition Classes
    StringBaseMatchers
  104. def beMatching(a: Pattern): BeMatchingPattern

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  105. def beMatching(a: ⇒ String): BeMatching

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  106. def beNone: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  107. def beNull[T]: BeNull[T]

    matches if the value is null

    matches if the value is null

    Definition Classes
    AnyBaseMatchers
  108. def beOneOf[T](t: T*): Matcher[T]

    matches if t.

    matches if t.toSeq.exists(_ == v)

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

    matches if file.

    matches if file.canRead

    Definition Classes
    FileBaseMatchers
  110. def beRight[T]: RightMatcher[T]

    Definition Classes
    EitherBaseMatchers
  111. def beRight[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  112. def beSome[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  113. def beSome[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  114. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  115. def beTheSameAs[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  116. def beTrue: BeTrueMatcher

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  117. def beTypedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

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

    matches if file.

    matches if file.canWrite

    Definition Classes
    FileBaseMatchers
  119. def be[[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    alias for the adventurous: 5 must (be[(2, 7)[)

    alias for the adventurous: 5 must (be[(2, 7)[)

    Definition Classes
    NumericBaseMatchers
  120. def be][T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    alias for the adventurous: 5 must (be](2, 7)[)

    alias for the adventurous: 5 must (be](2, 7)[)

    Definition Classes
    NumericBaseMatchers
  121. def be_!=[T](t: ⇒ T): Matcher[Any]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  122. def be_!=/(a: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim != b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  123. def be_!==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  124. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  125. def be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  126. def be_==[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  127. def be_==/(node: Elem): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  128. def be_==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  129. def be_==/(a: String): AdaptableMatcher[Any]

    matches if a.

    matches if a.toLowerCase.trim = b.toLowerCase.trim

    Definition Classes
    StringBaseMatchers
  130. def be_===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  131. def be_==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  132. def be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  133. def be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  134. def between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Definition Classes
    NumericBaseMatchers
  135. implicit def canBeEqual[T](t: ⇒ T): CanBeEqualExpectation[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
    CanBeEqual
  136. def canRead(path: String): Boolean

    returns

    true if the file can be read

    Definition Classes
    FileSystem
  137. def canWrite(path: String): Boolean

    returns

    true if the file can be written

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

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

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  140. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectations → Expectations
  141. def checkResultFailure(r: Result): Result

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

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

    Attributes
    protected
    Definition Classes
    ThrownExpectations → Expectations
  142. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  143. def closeTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  144. def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  145. implicit def combineBoolean(b: ⇒ Boolean): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  146. implicit def combineMatchResult[T](m: ⇒ MatchResult[T]): MatchResultCombinator[T]

    Definition Classes
    MatchResultLogicalCombinators
  147. implicit def combineResult(r: ⇒ Result): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  148. def contain(t: Char): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  149. def contain(t: String): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  150. def contain[T](t: LazyParameter[T]*): ContainMatcher[T]

    match if traversable contains (t1, t2)

    match if traversable contains (t1, t2)

    Definition Classes
    TraversableBaseMatchers
  151. def contain[T](t: ⇒ T): ContainMatcher[T]

    match if an traversable contains (t).

    match if an traversable contains (t). This definition looks redundant with the one below but it is necessary to avoid the implicit argThat method from Mockito to infer an improper matcher

    Definition Classes
    TraversableBaseMatchers
    See also

    the HtmlPrinterSpec failing with a NPE if that method is missing

  152. def containAllOf[T](seq: Seq[T]): ContainMatcher[T]

    match if traversable contains (seq2).

    match if traversable contains (seq2). n is a dummy paramter to allow overloading

    Definition Classes
    TraversableBaseMatchers
  153. def containAnyOf[T](seq: Seq[T]): ContainAnyOfMatcher[T]

    match if traversable contains one of (t1, t2)

    match if traversable contains one of (t1, t2)

    Definition Classes
    TraversableBaseMatchers
  154. 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
    ContentBaseMatchers
  155. def containMatch[T](t: ⇒ String): ContainLikeMatcher[T]

    match if traversable contains (x matches .

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

    Definition Classes
    TraversableBaseMatchers
  156. def containPattern[T](t: ⇒ String): ContainLikeMatcher[T]

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  157. def containTheSameElementsAs[T](seq: Seq[T]): Matcher[Traversable[T]]

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  158. def containing(s: String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  159. def copy(input: InputStream, output: OutputStream): Unit

    Copy an input stream to an output stream.

    Copy an input stream to an output stream.

    input

    input stream

    output

    output stream

    Definition Classes
    FileSystem
  160. def copyDir(src: String, dest: String): Unit

    copy the content of a directory to another.

    copy the content of a directory to another.

    dest

    destination directory path

    Definition Classes
    FileSystem
  161. def copyDir(url: URL, dest: String): Unit

    copy the content of a directory to another.

    copy the content of a directory to another.

    url

    url of the directory to copy

    dest

    destination directory path

    Definition Classes
    FileSystem
  162. def copyFile(path: String, dest: String): Unit

    Copy the content of a directory to another.

    Copy the content of a directory to another.

    path

    path of the file to copy

    dest

    destination directory path

    Definition Classes
    FileSystem
  163. def copySpecResourcesDir(src: String, outputDir: String): Unit

    Copy specs resources found either in the specs jar or in the classpath directories to an output directory

    Copy specs resources found either in the specs jar or in the classpath directories to an output directory

    src

    name of the resource directory to copy

    outputDir

    output directory where to copy the files to

    Definition Classes
    FileSystem
  164. def createDir(path: String): Boolean

    creates a directory for a given path

    creates a directory for a given path

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

    returns

    an Expectable with a description function

    Definition Classes
    ThrownExpectations → Expectations
  166. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    returns

    an Expectable with a description function

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

    returns

    an Expectable with a description

    Definition Classes
    Expectations
  168. def createExpectable[T](t: ⇒ T): Expectable[T]

    returns

    an Expectable

    Definition Classes
    Expectations
  169. def createExpectableWithShowAs[T](t: ⇒ T, show: ⇒ String): Expectable[T]

    returns

    an Expectable with a function to show the element T

    Definition Classes
    ThrownExpectations → Expectations
  170. def createFile(path: String): AnyVal

    creates a file for a given path.

    creates a file for a given path. Create the parent directory if necessary.

    Definition Classes
    FileWriter
  171. def createMustExpectable[T](t: ⇒ T): MustExpectable[T]

    Attributes
    protected
    Definition Classes
    MustThrownExpectations → MustExpectations
  172. def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

    Definition Classes
    MapBeHaveMatchers
  173. def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

    Definition Classes
    MapBeHaveMatchers
  174. def delete(path: String): Boolean

    delete a file

    delete a file

    Definition Classes
    FileWriter
  175. implicit def describe[T](t: ⇒ T): Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    Expectations
  176. implicit def describeExpectation(description: String): ExpectationDescription

    Definition Classes
    ExpectationsDescription
  177. def done: Success

    Definition Classes
    StandardResults
  178. def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  179. def endWith(t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  180. def endingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  181. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  182. def equalTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  183. def equalToIgnoringSep(other: String): PathMatcher

    Definition Classes
    PathBeHaveMatchers
  184. def equalToIgnoringSpace(node: Elem): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  185. def equalToIgnoringSpace(node: Seq[Node]): EqualIgnoringSpaceMatcher

    alias for beEqualToIgnoringSpace

    alias for beEqualToIgnoringSpace

    Definition Classes
    XmlBaseMatchers
  186. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  187. def eventually[T](nested: ⇒ Matcher[T]): Matcher[T]

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  188. def eventually[T](retries: Int, sleep: Duration)(nested: ⇒ Matcher[T]): Matcher[T]

    returns

    a matcher that will retry the nested matcher a given number of times

    Definition Classes
    EventuallyMatchers
  189. def eventually[T](result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

    a result that is retried at least 40 times until it's ok

    Definition Classes
    EventuallyResults
  190. def eventually[T](retries: Int, sleep: Duration)(result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

    a matcher that will retry the nested matcher a given number of times

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

    matches if file.

    matches if file.exists

    Definition Classes
    FileBaseMatchers
  192. def exists(path: String): Boolean

    returns

    true if the file exists

    Definition Classes
    FileWriter
  193. def failure(f: Failure): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  194. def failure(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  195. def failure: Failure

    Definition Classes
    ThrownExpectations → StandardResults
  196. implicit val fileContentForMatchers: LinesContent[File]

    Attributes
    protected
    Definition Classes
    ContentBaseMatchers
  197. def filePaths(basePath: String = ".", path: String = "*", verbose: Boolean = false): Seq[String]

    path

    glob expression, for example: ./dir/**/.xml

    returns

    the list of paths represented by the "glob" definition path

    Definition Classes
    FileSystem
  198. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  199. def find(r: Regex): FindMatcherRegex

    matches if the regexp r is found inside b

    matches if the regexp r is found inside b

    Definition Classes
    StringBaseMatchers
  200. def find(p: Pattern): FindMatcherPattern

    matches if the pattern p is found inside b

    matches if the pattern p is found inside b

    Definition Classes
    StringBaseMatchers
  201. def find(a: ⇒ String): FindMatcher

    matches if the regexp a is found inside b

    matches if the regexp a is found inside b

    Definition Classes
    StringBaseMatchers
  202. def findDeep(key: JsonValueSpec, json: JSONType): Option[JSONType]

    returns

    findDeep with a Regex or a String or a String matcher

    Definition Classes
    JsonBaseMatchers
  203. def forall[T, U](values: GenTraversableOnce[T])(f: (T) ⇒ MatchResult[U]): MatchResult[Seq[T]]

    verify the function f for all the values, stopping after the first failure

    verify the function f for all the values, stopping after the first failure

    Definition Classes
    MatchersImplicits
  204. def forallWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Seq[T]]

    verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

    verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  205. def foreach[T, U](values: GenTraversableOnce[T])(f: (T) ⇒ MatchResult[U]): MatchResult[Seq[T]]

    verify the function f for all the values, and collect all failures

    verify the function f for all the values, and collect all failures

    Definition Classes
    MatchersImplicits
  206. def foreachWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Seq[T]]

    verify the function f for all the values, and collect all failures, where the PartialFunction is defined

    verify the function f for all the values, and collect all failures, where the PartialFunction is defined

    Definition Classes
    MatchersImplicits
  207. implicit def fromMatchResult(r: ⇒ MatchResult[_]): Boolean

    implicit definition to accept any MatchResult as a Boolean value.

    implicit definition to accept any MatchResult as a Boolean value. It is true if the MatchResult is not an Error or a Failure

    Definition Classes
    MatchResultImplicits
  208. implicit def functionAndKoMessageToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  209. implicit def functionAndMessagesToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String, (T) ⇒ String)): Matcher[T]

    This method transform a function, with function descriptors to a Matcher

    This method transform a function, with function descriptors to a Matcher

    Definition Classes
    MatchersImplicits
  210. implicit def functionToMatcher[T](f: ((T) ⇒ Boolean, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  211. implicit def functionToMatcher2[T](f: ((T) ⇒ Boolean, String, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  212. def getAbsolutePath(path: String): String

    returns

    the file absolute path

    Definition Classes
    FileSystem
  213. def getCanonicalPath(path: String): String

    returns

    the file canonical path

    Definition Classes
    FileSystem
  214. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  215. def getName(path: String): String

    returns

    the file name

    Definition Classes
    FileSystem
  216. def getParent(path: String): String

    returns

    the file parent path

    Definition Classes
    FileSystem
  217. def getWriter(path: String, append: Boolean = false): Writer

    The getWriter function can be overriden to provide a mock writer writing to the console for example

    The getWriter function can be overriden to provide a mock writer writing to the console for example

    returns

    a Writer object opened on the file designated by path

    Definition Classes
    FileWriter
  218. def globToPattern(glob: String): String

    returns

    the regular expression equivalent to a glob pattern (see the specs for Fragments)

    Definition Classes
    FileSystem
  219. def greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  220. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  221. def hashCode(): Int

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

    Definition Classes
    BeHaveMatchers
  223. def have[T](function: (T) ⇒ Boolean): Matcher[GenTraversableOnce[T]]

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

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

    matches if file.

    matches if file.getAbsolutePath == path

    Definition Classes
    FileBaseMatchers
  225. def haveAllElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Matches if all the elements are matching a "like" function

    Matches if all the elements are matching a "like" function

    Definition Classes
    TraversableBaseMatchers
  226. def haveAsAbsolutePath(path: String): PathMatcher

    matches if new File(path).

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

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

    matches if new File(path).

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

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

    matches if file.

    matches if file.getCanonicalPath == path

    Definition Classes
    FileBaseMatchers
  229. def haveClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if v.

    matches if v.getClass == c

    Definition Classes
    AnyBaseMatchers
  230. def haveInterface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if x.

    matches if x.getClass.getInterfaces.contains(T)

    Definition Classes
    AnyBaseMatchers
  231. def haveKey[K](k: K): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k)

    Definition Classes
    MapBaseMatchers
  232. def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k) forall key k

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

    alias for haveSize

    alias for haveSize

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

    matches if file.

    matches if file.list == list

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

    matches if file.

    matches if file.getName == name

    Definition Classes
    FileBaseMatchers
  236. def haveOneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Matches if there is at least one matching a "like" function

    Matches if there is at least one matching a "like" function

    Definition Classes
    TraversableBaseMatchers
  237. def havePair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

    matches if map contains a pair (key, value) == (k, v)

    matches if map contains a pair (key, value) == (k, v)

    Definition Classes
    MapBaseMatchers
  238. def havePairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

    matches if map contains all the specified pairs

    matches if map contains all the specified pairs

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

    matches if file.

    matches if file.getParent == path

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

    matches if new File(path).

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

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

    matches if new File(path).

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

    Definition Classes
    PathBaseMatchers
  242. 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
    ContentBaseMatchers
  243. 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
    ContentBaseMatchers
  244. 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
  245. def haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if c.

    matches if c.isAssignableFrom(v.getClass.getSuperclass)

    Definition Classes
    AnyBaseMatchers
  246. def haveTheSameElementsAs[T](l: ⇒ Traversable[T], equality: (T, T) ⇒ Boolean): HaveTheSameElementsAs[T]

    Matches if there l contains the same elements as the Traversable traversable.

    Matches if there l contains the same elements as the Traversable traversable.
    This verification does not consider the order of the elements but checks the traversables recursively

    Definition Classes
    TraversableBaseMatchers
  247. def haveValue[V](v: V): Matcher[Iterable[(Any, V)]]

    matches if map contains a pair (key, value) with value == v

    matches if map contains a pair (key, value) with value == v

    Definition Classes
    MapBaseMatchers
  248. def haveValues[V](values: V*): Matcher[Iterable[(Any, V)]]

    matches if map contains a pair (key, value) with value == v for all value v

    matches if map contains a pair (key, value) with value == v for all value v

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

    Definition Classes
    FileBeHaveMatchers
  250. implicit lazy val implicitsAreAllowed: implicitConversions

    Definition Classes
    LanguageFeatures
  251. def inputStream(filePath: String): InputStream

    returns

    a FileInputStream for a given file path

    Definition Classes
    FileReader
  252. def interface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  253. def isAbsolute(path: String): Boolean

    returns

    true if the file is absolute

    Definition Classes
    FileSystem
  254. def isDir(path: String): Boolean

    returns

    true if the File represented by this path is a directory

    Definition Classes
    FileSystem
  255. def isDirectory(path: String): Boolean

    returns

    true if the file is a directory

    Definition Classes
    FileSystem
  256. def isFile(path: String): Boolean

    returns

    true if the file is a file

    Definition Classes
    FileSystem
  257. def isHidden(path: String): Boolean

    returns

    true if the file is hidden

    Definition Classes
    FileSystem
  258. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  259. implicit def javaCollectionIsSized[T <: Collection[_]]: Sized[T]

    any java collection has a size

    any java collection has a size

    Definition Classes
    TraversableBaseMatchers
  260. def key[K](k: K): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  261. def keys[K](ks: K*): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  262. def klass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  263. implicit def lazyfy[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
  264. def left[T]: LeftMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  265. def left[T](t: ⇒ T): Matcher[Either[T, _]]

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

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  267. def lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Definition Classes
    NumericBaseMatchers
  268. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Definition Classes
    NumericBaseMatchers
  269. def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  270. def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  271. def listFiles(path: String): List[String]

    returns

    the files of that directory

    Definition Classes
    FileSystem
  272. def listPaths(list: String*): PathMatcher

    matches if new File(path).

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

    Definition Classes
    PathBaseMatchers
  273. def loadXhtmlFile(filePath: String, report: (Exception, String) ⇒ Unit = defaultLoadXhtmlFileReport, sourceErrors: Boolean = true): NodeSeq

    returns

    the xml content of a file using the Xhtml parser

    if the file contains several nodes, it wraps them up in a single artificial node

    Definition Classes
    FileReader
  274. def loadXmlFile(filePath: String)(report: (Exception) ⇒ Unit = (e:Exception) => e.printStackTrace): NodeSeq

    returns

    the xml content of a file, using the XML parser

    Definition Classes
    FileReader
  275. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  276. implicit def matchResultAsResult[T, M[_] <: MatchResult[_]]: AsResult[M[T]]

    implicit typeclass instance to create examples from MatchResults

    implicit typeclass instance to create examples from MatchResults

    Definition Classes
    MatchResultImplicits
  277. implicit def matchResultFunctionToMatcher[T](f: (T) ⇒ MatchResult[_]): Matcher[T]

    This method transform a function returning a MatchResult to a Matcher

    This method transform a function returning a MatchResult to a Matcher

    Definition Classes
    MatchersImplicits
  278. implicit def matchResultSeqAsResult[T]: AsResult[Seq[MatchResult[T]]]

    implicit typeclass instance to create examples from a sequence of MatchResults

    implicit typeclass instance to create examples from a sequence of MatchResults

    Definition Classes
    MatchResultImplicits
  279. implicit def matcherFunction[S, T](f: (S) ⇒ Matcher[T]): MatcherFunction[S, T]

    Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

    Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

    Definition Classes
    MatchersImplicits
  280. implicit def matcherFunction2[T](f: (T) ⇒ Matcher[T]): MatcherFunction2[T]

    Definition Classes
    MatchersImplicits
  281. implicit def matcherFunction3[S, T](f: (S) ⇒ MatchResult[T]): MatcherFunction3[S, T]

    Definition Classes
    MatchersImplicits
  282. def matching(r: Regex): BeMatchingRegex

    Definition Classes
    StringBeHaveMatchers
  283. def matching(t: Pattern): BeMatchingPattern

    Definition Classes
    StringBeHaveMatchers
  284. def matching(t: ⇒ String): BeMatching

    Definition Classes
    StringBeHaveMatchers
  285. def mkdirs(path: String): Boolean

    creates a new directory

    creates a new directory

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

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

    Definition Classes
    AnyRef
  288. def negateSentence(sentence: String): String

    replace the first occurrence of a verb in the negations table with its negation.

    replace the first occurrence of a verb in the negations table with its negation.

    We first try to negate an existing negation

    Definition Classes
    Sentences
  289. lazy val negationsTable: BiMap[String, String]

    Attributes
    protected
    Definition Classes
    Sentences
  290. def none: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  291. def not: NotMatcher[Any]

    Definition Classes
    BeHaveMatchers
  292. def not[T](m: Matcher[T]): Matcher[T]

    negate a matcher

    negate a matcher

    Definition Classes
    AnyBaseMatchers
  293. final def notify(): Unit

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

    Definition Classes
    AnyRef
  295. def oneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Definition Classes
    TraversableBaseMatchers
  296. def oneOf[T](t: T*): Matcher[T]

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

    Definition Classes
    TraversableBeHaveMatchers
  298. def pair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  299. implicit def pairFunctionToMatcher[T](f: (T) ⇒ (Boolean, String)): Matcher[T]

    This method transform a function returning a pair (Boolean, String for ko message) to a Matcher

    This method transform a function returning a pair (Boolean, String for ko message) to a Matcher

    Definition Classes
    MatchersImplicits
  300. def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

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

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

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

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

    Definition Classes
    FileBeHaveMatchers
  305. def pending(s: Pending): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  306. def pending(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  307. def pending: Pending

    Definition Classes
    ThrownExpectations → StandardResults
  308. implicit lazy val postfixOpsAreAllowed: postfixOps

    Definition Classes
    LanguageFeatures
  309. def readFile(path: String): String

    reads the content of a file

    reads the content of a file

    path

    the path of the file to read

    returns

    the content of the file at path

    Definition Classes
    FileReader
  310. def readLines(path: String): IndexedSeq[String]

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

    Definition Classes
    FileBeHaveMatchers
  312. implicit val regexToJSonValueSpec: ToJsonValueSpec[Regex]

    Definition Classes
    JsonBaseMatchers
  313. def removeDir(path: String): String

    deletes the directory and all directory content at the specified path and return the parent path of that directory

    deletes the directory and all directory content at the specified path and return the parent path of that directory

    Definition Classes
    FileSystem
  314. def right[T]: RightMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  315. def right[T](t: ⇒ T): Matcher[Either[_, T]]

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

    Definition Classes
    ContentBeHaveMatchers
  317. def samePath(p1: String, p2: String): Boolean

    returns

    true if 2 paths are the same according to their canonical representation

    Definition Classes
    FileSystem
  318. implicit def scalaArrayIsSized[T]: Sized[Array[T]]

    any scala array has a size

    any scala array has a size

    Definition Classes
    TraversableBaseMatchers
  319. implicit def scalaTraversableIsSized[I <: GenTraversable[_]]: Sized[I]

    any scala collection has a size

    any scala collection has a size

    Definition Classes
    TraversableBaseMatchers
  320. implicit def seqContentForMatchers[T]: LinesContent[Seq[T]]

    Attributes
    protected
    Definition Classes
    SeqsContents
  321. implicit def seqToResult[T](r: Seq[MatchResult[T]]): Result

    implicit definition to transform a Seq of MatchResults to a Result

    implicit definition to transform a Seq of MatchResults to a Result

    Definition Classes
    MatchResultImplicits
  322. def silentLoadXhtmlFileReport: (Exception, String) ⇒ Unit

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

    alias for haveSize

    alias for haveSize

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

    Definition Classes
    TraversableBeHaveMatchers
  325. def skipped(s: Skipped): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  326. def skipped(m: String): Nothing

    Attributes
    protected
    Definition Classes
    ThrownExpectations
  327. def skipped: Skipped

    Definition Classes
    ThrownExpectations → StandardResults
  328. def some[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  329. def some[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  330. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  331. def startWith(t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  332. def startingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  333. implicit def stringIsSized: Sized[String]

    a regular string has a size, without having to be converted to an Traversable

    a regular string has a size, without having to be converted to an Traversable

    Definition Classes
    TraversableBaseMatchers
  334. implicit def stringMatcher(m: AdaptableMatcher[Any]): StringMatcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    Definition Classes
    StringBaseMatchers
  335. implicit val stringMatcherToJSonValueSpec: ToJsonValueSpec[Matcher[String]]

    Definition Classes
    JsonBaseMatchers
  336. def success: Success

    Definition Classes
    StandardResults
  337. def superClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  338. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  339. implicit def theBlock(t: ⇒ Nothing): MustExpectable[Nothing]

    Definition Classes
    MustExpectations
  340. implicit def theValue[T](t: ⇒ T): MustExpectable[T]

    Definition Classes
    MustExpectations
  341. def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  342. def throwA[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    returns

    a matcher checking the type of an Exception and its message (as a regexp)

    Definition Classes
    ExceptionBaseMatchers
  343. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    returns

    a matcher checking the type of an Exception

    Definition Classes
    ExceptionBaseMatchers
  344. def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  345. def throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  346. def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  347. implicit def toAnyMatcherResult(result: MatchResult[Any]): AnyMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  348. implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]

    Definition Classes
    AnyBeHaveMatchers
  349. implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]

    Definition Classes
    AnyBeHaveMatchers
  350. implicit def toClassMatcherResult(result: MatchResult[Class[_]]): ClassMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  351. implicit def toDifferenceFilter(n: Int): FirstNDifferencesFilter

    Definition Classes
    DifferenceFilters
  352. implicit def toEitherResultMatcher[L, R](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]

    Definition Classes
    EitherBeHaveMatchers
  353. implicit def toExceptionMatcher[T](result: MatchResult[T]): ExceptionMatcherResult[T]

    Definition Classes
    ExceptionBeHaveMatchers
  354. 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
  355. implicit def toJsonPairSpec[K, V](kv: (K, V))(implicit arg0: ToJsonValueSpec[K], arg1: ToJsonValueSpec[V]): JsonPairSpec

    Definition Classes
    JsonBaseMatchers
  356. implicit def toJsonRegex(r: Regex): JsonRegex

    Definition Classes
    JsonBaseMatchers
  357. implicit def toJsonStringMatcher(m: Matcher[String]): JsonStringMatcher

    datatype to specify how json values must be checked

    datatype to specify how json values must be checked

    Definition Classes
    JsonBaseMatchers
  358. implicit def toJsonValue(s: Any): JsonEqualValue

    Definition Classes
    JsonBaseMatchers
  359. 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
    ContentBeHaveMatchers
  360. implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]

    Definition Classes
    MapBeHaveMatchers
  361. implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  362. implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]

    Definition Classes
    MapBeHaveMatchers
  363. implicit def toNeutralMatcherElem(result: NeutralMatcher[Any]): NeutralMatcherElem

    Definition Classes
    XmlBeHaveMatchers
  364. implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric

    Definition Classes
    NumericBeHaveMatchers
  365. implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered

    Definition Classes
    NumericBeHaveMatchers
  366. implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher

    Definition Classes
    StringBeHaveMatchers
  367. implicit def toNotMatcherElem(result: NotMatcher[Any]): NotMatcherElem

    Definition Classes
    XmlBeHaveMatchers
  368. implicit def toNotMatcherJson(result: NotMatcher[Any]): NotMatcherJson

    Definition Classes
    JsonBaseBeHaveMatchers
  369. implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher

    Definition Classes
    StringBeHaveMatchers
  370. implicit def toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]

    Definition Classes
    NumericBeHaveMatchers
  371. implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]

    Definition Classes
    OptionBeHaveMatchers
  372. implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit arg0: (S) ⇒ Ordered[S]): OrderedResultMatcher[S]

    matcher aliases and implicits to use with be + matcher

    matcher aliases and implicits to use with be + matcher

    Definition Classes
    NumericBeHaveMatchers
  373. implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  374. 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
  375. implicit def toResult(b: Boolean): Result

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

    Definition Classes
    Results
  376. def toString(): String

    Definition Classes
    AnyRef → Any
  377. implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher

    Definition Classes
    StringBeHaveMatchers
  378. implicit def toXmlResultMatcher(result: MatchResult[Seq[Node]]): XmlResultMatcher

    Definition Classes
    XmlBeHaveMatchers
  379. def todo: Pending

    Definition Classes
    StandardResults
  380. implicit def traversable[T](s: MatchResult[GenTraversableOnce[T]]): TraversableBeHaveMatchers[T]

    Definition Classes
    TraversableBeHaveMatchers
  381. implicit def tripletFunctionToMatcher[T](f: (T) ⇒ (Boolean, String, String)): Matcher[T]

    This method transform a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

    This method transform a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

    Definition Classes
    MatchersImplicits
  382. def typedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  383. def unjar(path: String, dirPath: String, regexFilter: String): Unit

    Unjar the jar (or zip file) specified by "path" to the "dest" directory.

    Unjar the jar (or zip file) specified by "path" to the "dest" directory. Filters files which shouldn't be extracted with a regular expression.

    path

    path of the jar file

    regexFilter

    regular expression filtering files which shouldn't be extracted

    Definition Classes
    FileSystem
  384. def unjar(path: String, dest: String): Unit

    Unjar the jar (or zip file) specified by "path" to the "dest" directory.

    Unjar the jar (or zip file) specified by "path" to the "dest" directory.

    path

    path of the jar file

    dest

    destination directory path

    Definition Classes
    FileSystem
  385. def value[V](v: V): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  386. def values[V](vs: V*): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  387. implicit def verifyFunction[U, T](t: (U) ⇒ MatchResult[T]): MatchResultFunctionVerification[U, T]

    Definition Classes
    MatchersImplicits
  388. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  391. def wontdo: Success

    Definition Classes
    StandardResults
  392. def writable[T <: AnyRef { def getPath(): String }]: Matcher[AnyRef { def getPath(): String }]

    Definition Classes
    FileBeHaveMatchers
  393. def write(path: String)(function: (Writer) ⇒ Unit): Unit

    writes some content to a file and take care of closing the file.

    writes some content to a file and take care of closing the file.

    Usage:

    write("./dir/hello.txt") { out =>
    out.write("content")
    }
    path

    path of the file to write

    Definition Classes
    FileWriter
  394. def writeFile(path: String, content: ⇒ String): Unit

    writes some content to a file.

    writes some content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  395. def writeXmlFile(path: String, content: ⇒ NodeSeq): Unit

    writes some xml content to a file.

    writes some xml content to a file.

    path

    path of the file to read

    content

    content of the file to write

    Definition Classes
    FileWriter
  396. def ~[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  397. def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from MustThrownMatchers

Inherited from MustThrownExpectations

Inherited from MustExpectations

Inherited from ThrownExpectations

Inherited from StandardResults

Inherited from Matchers

Inherited from LanguageFeatures

Inherited from MatchersImplicits

Inherited from ExpectationsDescription

Inherited from Sentences

Inherited from MatchResultImplicits

Inherited from MatchResultCombinators

Inherited from ResultLogicalCombinators

Inherited from Results

Inherited from MatchResultLogicalCombinators

Inherited from ContentMatchers

Inherited from ContentBeHaveMatchers

Inherited from ContentBaseMatchers

Inherited from SeqsContents

Inherited from DifferenceFilters

Inherited from FileMatchers

Inherited from FileBeHaveMatchers

Inherited from FileBaseMatchers

Inherited from PathMatchers

Inherited from PathBeHaveMatchers

Inherited from PathBaseMatchers

Inherited from FileSystem

Inherited from FileWriter

Inherited from FileReader

Inherited from EventuallyMatchers

Inherited from EventuallyResults

Inherited from EitherMatchers

Inherited from EitherBeHaveMatchers

Inherited from EitherBaseMatchers

Inherited from OptionMatchers

Inherited from OptionBeHaveMatchers

Inherited from OptionBaseMatchers

Inherited from NumericMatchers

Inherited from NumericBeHaveMatchers

Inherited from NumericBaseMatchers

Inherited from ExceptionMatchers

Inherited from ExceptionBeHaveMatchers

Inherited from ExceptionBaseMatchers

Inherited from BeHaveMatchers

Inherited from JsonMatchers

Inherited from JsonBaseBeHaveMatchers

Inherited from JsonBaseMatchers

Inherited from JsonMatchersLowImplicits

Inherited from Expectations

Inherited from CanBeEqual

Inherited from XmlMatchers

Inherited from XmlBeHaveMatchers

Inherited from XmlBaseMatchers

Inherited from StringMatchers

Inherited from StringBeHaveMatchers

Inherited from StringBaseMatchers

Inherited from MapMatchers

Inherited from MapBeHaveMatchers

Inherited from MapBaseMatchers

Inherited from TraversableMatchers

Inherited from matcher.TraversableBeHaveMatchers

Inherited from TraversableBaseMatchers

Inherited from LazyParameters

Inherited from AnyMatchers

Inherited from matcher.AnyBeHaveMatchers

Inherited from AnyBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped