You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2019/03/25 20:55:00 UTC

[jira] [Created] (BEAM-6904) Test all Coder structuralValue implementations

Kenneth Knowles created BEAM-6904:
-------------------------------------

             Summary: Test all Coder structuralValue implementations
                 Key: BEAM-6904
                 URL: https://issues.apache.org/jira/browse/BEAM-6904
             Project: Beam
          Issue Type: Test
          Components: sdk-java-core
            Reporter: Kenneth Knowles
            Assignee: Alexander Savchenko


Here is a test helper that check that structuralValue is consistent with equals: https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/CoderProperties.java#L200

And here is one that tests it another way: https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/CoderProperties.java#L226

With the deprecation of consistentWithEquals and implementing all the structualValue methods, we should add these tests to every coder.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)