avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milind Bhandarkar (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-779) Add Test for retention of schema metadata in schema serialization
Date Wed, 09 Mar 2011 20:28:59 GMT
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
            Priority: Minor


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

Mime
View raw message