Trait/Object

org.specs2.matcher

TraversableMatchers

Related Docs: object TraversableMatchers | package matcher

Permalink

trait TraversableMatchers extends TraversableBaseMatchers with TraversableBeHaveMatchers with LazyParameters with TraversableBaseMatchersLowImplicits with ImplicitParameters with NumberOfTimes

Matchers for traversables

Linear Supertypes
NumberOfTimes, ImplicitParameters, TraversableBaseMatchersLowImplicits, ValueChecksLowImplicits, matcher.TraversableBeHaveMatchers, BeHaveMatchers, LazyParameters, TraversableBaseMatchers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraversableMatchers
  2. NumberOfTimes
  3. ImplicitParameters
  4. TraversableBaseMatchersLowImplicits
  5. ValueChecksLowImplicits
  6. TraversableBeHaveMatchers
  7. BeHaveMatchers
  8. LazyParameters
  9. TraversableBaseMatchers
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class HasSize[T] extends AnyRef

    Permalink
    Definition Classes
    TraversableBeHaveMatchers
  2. trait ImplicitParam extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  3. trait ImplicitParam1 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  4. trait ImplicitParam10 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  5. trait ImplicitParam2 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  6. trait ImplicitParam3 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  7. trait ImplicitParam4 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam5 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam6 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam7 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam8 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam9 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  13. class OrderedSeqMatchResult[T] extends AnyRef

    Permalink
    Definition Classes
    TraversableBeHaveMatchers
  14. class TraversableBeHaveMatchers[T] extends AnyRef

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

    Permalink
    Definition Classes
    TraversableBaseMatchers

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 allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

    Permalink
    Definition Classes
    TraversableBaseMatchers
  5. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    BeHaveMatchers
  9. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    Permalink

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  10. implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: (T) ⇒ ValueCheck[T]): Seq[ValueCheck[T]]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]

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

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

    Permalink
    Definition Classes
    TraversableBaseMatchers
  31. 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
  32. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    Permalink

    COLLECTION MATCHERS

    COLLECTION MATCHERS

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

    Permalink

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  34. def containAllOf[T](seq: Seq[T])(implicit arg0: Diffable[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
  35. 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
  36. 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
  37. 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
  38. 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
  39. def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]

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

    Permalink
    Definition Classes
    AnyRef
  41. def equals(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    TraversableBaseMatchers
  43. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. 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
  45. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    BeHaveMatchers
  48. def haveLength[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  50. 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
  51. 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
  52. implicit lazy val implicitParameter: ImplicitParam

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  67. implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]

    Permalink
    Definition Classes
    TraversableBaseMatchersLowImplicits
  68. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    TraversableBeHaveMatchers
  73. def size[T](check: ValueCheck[Int])(implicit arg0: Sized[T]): SizedCheckedMatcher[T]

    Permalink

    alias for haveSize

    alias for haveSize

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

    Permalink

    alias for haveSize

    alias for haveSize

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

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

    Permalink

    alias for beSorted

    alias for beSorted

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

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

    Permalink
    Definition Classes
    NumberOfTimes
  79. def toString(): String

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

    Permalink
    Definition Classes
    TraversableBeHaveMatchers
  81. final def wait(): Unit

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

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

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

Inherited from NumberOfTimes

Inherited from ImplicitParameters

Inherited from TraversableBaseMatchersLowImplicits

Inherited from ValueChecksLowImplicits

Inherited from matcher.TraversableBeHaveMatchers

Inherited from BeHaveMatchers

Inherited from LazyParameters

Inherited from TraversableBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped