t

com.spotify.scio.testing

SCollectionMatchers

trait SCollectionMatchers extends EqInstances

Trait with ScalaTest Matchers for SCollections.

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])(implicit arg0: ClassTag[T], arg1: ClassTag[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])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    SCollection assertion only applied to early timing global window.

  23. def inFinalPane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

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

  24. def inLatePane[T, B](window: BoundedWindow)(matcher: MatcherBuilder[T])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

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

  25. def inOnTimePane[T](window: BoundedWindow)(matcher: MatcherBuilder[T])(implicit arg0: ClassTag[T]): Matcher[T]

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

  26. def inOnlyPane[T, B](window: BoundedWindow)(matcher: SingleMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[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.

  27. def inWindow[T, B](window: BoundedWindow)(matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    SCollection assertion only applied to the specified window.

  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. 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.

  33. 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.

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. 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