Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 41746 invoked from network); 9 Mar 2011 20:29:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 20:29:24 -0000 Received: (qmail 24183 invoked by uid 500); 9 Mar 2011 20:29:24 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 24141 invoked by uid 500); 9 Mar 2011 20:29:24 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 24133 invoked by uid 99); 9 Mar 2011 20:29:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 20:29:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 20:29:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 665AA3A1115 for ; Wed, 9 Mar 2011 20:28:59 +0000 (UTC) Date: Wed, 9 Mar 2011 20:28:59 +0000 (UTC) From: "Milind Bhandarkar (JIRA)" To: dev@avro.apache.org Message-ID: <597879307.9066.1299702539415.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (AVRO-779) Add Test for retention of schema metadata in schema serialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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: assertEquals(schema, Schema.parse(schema.toString())); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira