t

com.spotify.scio.testing

SCollectionMatchers

trait SCollectionMatchers extends EqInstances

Trait with ScalaTest Matcher s for SCollection s.

Source
SCollectionMatchers.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SCollectionMatchers
  2. EqInstances
  3. FallbackEqInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait IterableMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]
  2. sealed trait MatcherBuilder[T] extends AnyRef
  3. sealed trait SingleMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def arrayEq[T](implicit eqT: Eq[T]): Eq[Array[T]]
    Definition Classes
    EqInstances
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val beEmpty: IterableMatcher[SCollection[_], Any]

    Assert that the SCollection in question is empty.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def containInAnyOrder[T](value: Iterable[T])(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that the SCollection in question contains the provided elements.

  9. def containSingleValue[T](value: T)(implicit arg0: Coder[T], arg1: Eq[T]): SingleMatcher[SCollection[T], T]

    Assert that the SCollection in question contains a single provided element.

  10. def containValue[T](value: T)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that the SCollection in question contains the provided element without making assumptions about other elements in the collection.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equalMapOf[K, V](value: Map[K, V])(implicit arg0: Coder[K], arg1: Coder[V]): SingleMatcher[SCollection[(K, V)], Map[K, V]]

    Assert that the SCollection in question is equivalent to the provided map.

  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def exist[T](predicate: (T) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that some elements of the SCollection in question satisfy the provided function.

  15. implicit def fallbackEq[A]: Eq[A]
    Definition Classes
    FallbackEqInstances
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def forAll[T](predicate: (T) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that all elements of the SCollection in question satisfy the provided function.

  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def haveSize(size: Int): IterableMatcher[SCollection[_], Any]

    Assert that the SCollection in question has provided size.

  21. def inCombinedNonLatePanes[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B]): Matcher[T]

    SCollection assertion only applied to the specified window across all panes that were not produced by the arrival of late data.

  22. def inEarlyGlobalWindowPanes[T, B](matcher: IterableMatcher[T, B]): Matcher[T]

    SCollection assertion only applied to early timing global window.

  23. def inEarlyPane[T](window: BoundedWindow)(matcher: MatcherBuilder[T]): Matcher[T]

    SCollection assertion only applied to the specified window, running the checker only on the early pane for each key.

  24. def inFinalPane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T]): Matcher[T]

    SCollection assertion only applied to the specified window, running the checker only on the final pane for each key.

  25. def inLatePane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T]): Matcher[T]

    SCollection assertion only applied to the specified window, running the checker only on the late pane for each key.

  26. def inOnTimePane[T](window: BoundedWindow)(matcher: MatcherBuilder[T]): Matcher[T]

    SCollection assertion only applied to the specified window, running the checker only on the on-time pane for each key.

  27. def inOnlyPane[T, B](window: BoundedWindow)(matcher: SingleMatcher[T, B]): Matcher[T]

    SCollection assertion only applied to the specified window.

    SCollection assertion only applied to the specified window. The assertion expect outputs to be produced to the provided window exactly once.

  28. def inWindow[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B]): Matcher[T]

    SCollection assertion only applied to the specified window.

  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def satisfy[T](predicate: (Iterable[T]) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): IterableMatcher[SCollection[T], T]

    Assert that the SCollection in question satisfies the provided function.

  34. def satisfySingleValue[T](predicate: (T) => Boolean)(implicit arg0: Coder[T], arg1: Eq[T]): SingleMatcher[SCollection[T], T]

    Assert that the SCollection in question contains a single element which satisfies the provided function.

  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from EqInstances

Inherited from FallbackEqInstances

Inherited from AnyRef

Inherited from Any

Ungrouped