Class/Object

org.hammerlab.magic.test

SeqMatcher

Related Docs: object SeqMatcher | package test

Permalink

case class SeqMatcher[K, V](expected: Seq[(K, V)])(implicit evidence$1: Ordering[K], evidence$2: Ordering[V]) extends Matcher[Seq[(K, V)]] with Product with Serializable

Custom Matcher for Seqs of key-value pairs. Prints nicely-formatted messages about tuples that differ between one collection and another in specific ways:

Linear Supertypes
Serializable, Serializable, Product, Equals, Matcher[Seq[(K, V)]], (Seq[(K, V)]) ⇒ MatchResult, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeqMatcher
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Matcher
  7. Function1
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SeqMatcher(expected: Seq[(K, V)])(implicit arg0: Ordering[K], arg1: Ordering[V])

    Permalink

Type Members

  1. final class AndBeWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  2. final class AndContainWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  3. final class AndEndWithWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  4. final class AndFullyMatchWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  5. final class AndHaveWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  6. final class AndIncludeWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  7. final class AndNotWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  8. final class AndStartWithWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  9. final class OrBeWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  10. final class OrContainWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  11. final class OrEndWithWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  12. final class OrFullyMatchWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  13. final class OrHaveWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  14. final class OrIncludeWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  15. final class OrNotWord extends AnyRef

    Permalink
    Definition Classes
    Matcher
  16. final class OrStartWithWord extends AnyRef

    Permalink
    Definition Classes
    Matcher

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 and(notExist: ResultOfNotExist): MatcherFactory1[Seq[(K, V)], Existence]

    Permalink
    Definition Classes
    Matcher
  5. def and(existWord: ExistWord): MatcherFactory1[Seq[(K, V)], Existence]

    Permalink
    Definition Classes
    Matcher
  6. def and(notWord: NotWord): AndNotWord

    Permalink
    Definition Classes
    Matcher
  7. def and(endWithWord: EndWithWord): AndEndWithWord

    Permalink
    Definition Classes
    Matcher
  8. def and(startWithWord: StartWithWord): AndStartWithWord

    Permalink
    Definition Classes
    Matcher
  9. def and(includeWord: IncludeWord): AndIncludeWord

    Permalink
    Definition Classes
    Matcher
  10. def and(fullyMatchWord: FullyMatchWord): AndFullyMatchWord

    Permalink
    Definition Classes
    Matcher
  11. def and(beWord: BeWord): AndBeWord

    Permalink
    Definition Classes
    Matcher
  12. def and(containWord: ContainWord)(implicit prettifier: Prettifier, pos: Position): AndContainWord

    Permalink
    Definition Classes
    Matcher
  13. def and(haveWord: HaveWord): AndHaveWord

    Permalink
    Definition Classes
    Matcher
  14. def and[U, TC1[_]](rightMatcherFactory1: MatcherFactory1[U, TC1]): MatcherFactory1[Seq[(K, V)] with U, TC1]

    Permalink
    Definition Classes
    Matcher
  15. def and[U <: Seq[(K, V)]](rightMatcher: Matcher[U]): Matcher[U]

    Permalink
    Definition Classes
    Matcher
  16. def andThen[A](g: (MatchResult) ⇒ A): (Seq[(K, V)]) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  17. def apply(actual: Seq[(K, V)]): MatchResult

    Permalink
    Definition Classes
    SeqMatcher → Matcher → Function1
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def compose[U](g: (U) ⇒ Seq[(K, V)]): Matcher[U]

    Permalink
    Definition Classes
    Matcher → Function1
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. val expected: Seq[(K, V)]

    Permalink
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def mapArgs(prettify: (Any) ⇒ String): Matcher[Seq[(K, V)]]

    Permalink
    Definition Classes
    Matcher
  27. def mapResult(prettify: (MatchResult) ⇒ MatchResult): Matcher[Seq[(K, V)]]

    Permalink
    Definition Classes
    Matcher
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. def or(notExist: ResultOfNotExist): MatcherFactory1[Seq[(K, V)], Existence]

    Permalink
    Definition Classes
    Matcher
  32. def or(existWord: ExistWord): MatcherFactory1[Seq[(K, V)], Existence]

    Permalink
    Definition Classes
    Matcher
  33. def or(notWord: NotWord): OrNotWord

    Permalink
    Definition Classes
    Matcher
  34. def or(endWithWord: EndWithWord): OrEndWithWord

    Permalink
    Definition Classes
    Matcher
  35. def or(startWithWord: StartWithWord): OrStartWithWord

    Permalink
    Definition Classes
    Matcher
  36. def or(includeWord: IncludeWord): OrIncludeWord

    Permalink
    Definition Classes
    Matcher
  37. def or(fullyMatchWord: FullyMatchWord): OrFullyMatchWord

    Permalink
    Definition Classes
    Matcher
  38. def or(beWord: BeWord): OrBeWord

    Permalink
    Definition Classes
    Matcher
  39. def or(containWord: ContainWord)(implicit prettifier: Prettifier, pos: Position): OrContainWord

    Permalink
    Definition Classes
    Matcher
  40. def or(haveWord: HaveWord): OrHaveWord

    Permalink
    Definition Classes
    Matcher
  41. def or[U, TC1[_]](rightMatcherFactory1: MatcherFactory1[U, TC1]): MatcherFactory1[Seq[(K, V)] with U, TC1]

    Permalink
    Definition Classes
    Matcher
  42. def or[U <: Seq[(K, V)]](rightMatcher: Matcher[U]): Matcher[U]

    Permalink
    Definition Classes
    Matcher
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  45. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Matcher[Seq[(K, V)]]

Inherited from (Seq[(K, V)]) ⇒ MatchResult

Inherited from AnyRef

Inherited from Any

Ungrouped