Trait

com.spotify.scio.testing

SCollectionMatchers

Related Doc: package testing

Permalink

trait SCollectionMatchers extends AnyRef

Trait with ScalaTest Matchers for SCollections.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SCollectionMatchers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait IterableMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]

    Permalink
  2. sealed trait MatcherBuilder[T] extends AnyRef

    Permalink
  3. sealed trait SingleMatcher[T, B] extends MatcherBuilder[T] with Matcher[T]

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val beEmpty: IterableMatcher[SCollection[_], Any]

    Permalink

    Assert that the SCollection in question is empty.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def containInAnyOrder[T](value: Iterable[T])(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that the SCollection in question contains the provided elements.

  8. def containSingleValue[T](value: T)(implicit arg0: ClassTag[T]): SingleMatcher[SCollection[T], T]

    Permalink

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

  9. def containValue[T](value: T)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

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

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equalMapOf[K, V](value: Map[K, V])(implicit arg0: ClassTag[K], arg1: ClassTag[V]): SingleMatcher[SCollection[(K, V)], Map[K, V]]

    Permalink

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

  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def exist[T](predicate: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

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

  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def forAll[T](predicate: (T) ⇒ Boolean)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

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

  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def haveSize(size: Int): IterableMatcher[SCollection[_], Any]

    Permalink

    Assert that the SCollection in question has provided size.

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

    Permalink

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

  20. def inEarlyGlobalWindowPanes[T, B](matcher: IterableMatcher[T, B])(implicit arg0: ClassTag[T], arg1: ClassTag[B]): Matcher[T]

    Permalink

    SCollection assertion only applied to early timing global window.

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    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.

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

    Permalink

    SCollection assertion only applied to the specified window.

  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def satisfy[T](predicate: (Iterable[T]) ⇒ Boolean)(implicit arg0: ClassTag[T]): IterableMatcher[SCollection[T], T]

    Permalink

    Assert that the SCollection in question satisfies the provided function.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped