You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Groh (JIRA)" <ji...@apache.org> on 2016/07/13 20:48:20 UTC

[jira] [Created] (BEAM-449) Support PCollectionList in PAssert

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)