avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chau, Victor" <vic...@x.com>
Subject RE: avro-compiler java project does not pass unit test
Date Tue, 06 Dec 2011 20:55:21 GMT
Whoops, sorry, please ignore this.  Turns out I have a local modification that is causing this
failure.

From: Chau, Victor [mailto:victor@x.com]
Sent: Tuesday, December 06, 2011 12:44 PM
To: user@avro.apache.org
Subject: avro-compiler java project does not pass unit test

Hi,

Is it a known issue that this project fails to pass its unit test?  It looks like the output
test files needs to be updated.  The error all seems to be related to the "doc" tag.  The
generated output is missing "doc" for protocol and it has it placed in different location
in various other places.  Here's a sample:

Test generated from simple.avdl:
  "messages" : {
    "hello" : {
      "request" : [ {
        "name" : "greeting",
        "type" : "string",
        "doc" : "method 'hello' takes @parameter 'greeting'"
      } ],
      "response" : "string"
    },

In simple.avpr:

  "messages" : {
    "hello" : {
      "doc" : "method 'hello' takes @parameter 'greeting'",
      "request" : [ {
        "name" : "greeting",
        "type" : "string"
      } ],
      "response" : "string"
    },

Mime
View raw message