Thomas Groh created BEAM-449:
--------------------------------
Summary: Support PCollectionList in PAssert
Key: BEAM-449
URL: https://issues.apache.org/jira/browse/BEAM-449
Project: Beam
Issue Type: Improvement
Components: sdk-java-core
Reporter: Thomas Groh
Assignee: Davor Bonaci
Priority: Minor
The assertion takes an input PCollectionList and takes a list of matchers of
the same size, and applies each matcher to the identical index of the
PCollectionList
e.g. PAssert.that(PCollectionList[0]).satisfies(matchers[0])
Potentially also worthwhile is a "PAssert.thatFlattened(PCollectionList)"
static constructor, that runs an assertion on the flattened contents of the
list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)