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)

Reply via email to