You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2017/08/24 21:06:00 UTC
[jira] [Assigned] (BEAM-449) Support PCollectionList in PAssert
[ https://issues.apache.org/jira/browse/BEAM-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davor Bonaci reassigned BEAM-449:
---------------------------------
Assignee: (was: Davor Bonaci)
> 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
> 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.4.14#64029)