[
https://issues.apache.org/jira/browse/AVRO-779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-779:
------------------------------
Fix Version/s: (was: 1.5.0)
1.5.1
Assignee: Milind Bhandarkar
I think this is already tested by other tests. Field properties are tested in
testRecord() and schema properties are tested by checkProp(), which is run on
every type of schema. What does this test that's not tested by those?
> Add Test for retention of schema metadata in schema serialization
> -----------------------------------------------------------------
>
> Key: AVRO-779
> URL: https://issues.apache.org/jira/browse/AVRO-779
> Project: Avro
> Issue Type: Test
> Components: java
> Affects Versions: 1.4.1
> Environment: All
> Reporter: Milind Bhandarkar
> Assignee: Milind Bhandarkar
> Priority: Minor
> Fix For: 1.5.1
>
> Attachments: avro-779.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Schema metadata (i.e. non-avro metadata) must be retained in the string
> serialization (toString) of Schema. The forthcoming patch adds a test to
> TestSchema that ensures this retention. Basically, it tests for the invariant:
> <code>
> assertEquals(schema, Schema.parse(schema.toString()));
> </code>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira