org.specs2.matcher

MapMatchers

trait MapMatchers extends MapBaseMatchers with MapBeHaveMatchers

Matchers for Maps

Linear Supertypes
MapBeHaveMatchers, MapBaseMatchers, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MapMatchers
  2. MapBeHaveMatchers
  3. MapBaseMatchers
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Value Members

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

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

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. 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
  8. 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
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def definedAt [K] (values: K*): Matcher[PartialFunction[K, Any]]

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

    Definition Classes
    MapBeHaveMatchers
  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def haveKey [K] (k: K): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k)

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

    matches if map.

    matches if map.contains(k) forall key k

    Definition Classes
    MapBaseMatchers
  19. 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
  20. 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
  21. 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
  22. 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
  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def key [K] (k: K): Matcher[Iterable[(K, Any)]]

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

    Definition Classes
    MapBeHaveMatchers
  26. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def pair [K, V] (p: (K, V)): Matcher[Iterable[(K, V)]]

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

    Definition Classes
    MapBeHaveMatchers
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. implicit def toMapKeyResultMatcher [K] (result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]

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

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

    Attributes
    implicit
    Definition Classes
    MapBeHaveMatchers
  35. implicit def toPartialFunctionResultMatcher [K, V] (result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]

    Attributes
    implicit
    Definition Classes
    MapBeHaveMatchers
  36. def toString (): String

    Definition Classes
    AnyRef → Any
  37. def value [V] (v: V): Matcher[Iterable[(Any, V)]]

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

    Definition Classes
    MapBeHaveMatchers
  39. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from MapBeHaveMatchers

Inherited from MapBaseMatchers

Inherited from AnyRef

Inherited from Any