apache / apache/beam

Test all Coder structuralValue implementations

Open
#19,508 0 comments 0 reactions 0 assignees View on GitHub
core java P3 tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

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.

Imported from Jira [BEAM-6904](https://issues.apache.org/jira/browse/BEAM-6904). Original Jira may contain additional context.
Reported by: kenn.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.