Details
-
Test
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
Description
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.