Package org.apache.beam.sdk.testing
Class PAssert.PCollectionListContentsAssert<T>
java.lang.Object
org.apache.beam.sdk.testing.PAssert.PCollectionListContentsAssert<T>
- Enclosing class:
PAssert
An assert about the contents of each
PCollection
in the given PCollectionList
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTakes list ofSerializableFunction
s of the same size aspCollectionList
, and applies each matcher to thePCollection
with the identical index in thepCollectionList
.satisfies
(SerializableFunction<Iterable<T>, Void> checkerFn)
-
Constructor Details
-
PCollectionListContentsAssert
-
-
Method Details
-
satisfies
public PAssert.PCollectionListContentsAssert<T> satisfies(SerializableFunction<Iterable<T>, Void> checkerFn) Applies oneSerializableFunction
to check the elements of eachPCollection
in thePCollectionList
.Returns this
PCollectionListContentsAssert
. -
satisfies
public PAssert.PCollectionListContentsAssert<T> satisfies(List<SerializableFunction<Iterable<T>, Void>> checkerFnList) Takes list ofSerializableFunction
s of the same size aspCollectionList
, and applies each matcher to thePCollection
with the identical index in thepCollectionList
.Returns this
PCollectionListContentsAssert
.
-