Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-167

Refactor of SpecificCompiler to facilitate easier testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • java
    • None

    Description

      Originally part of AVRO-152, the patch that follows has SpecificCompiler write to Strings; it writes those strings to files separately. The motivation behind this was to be able to look at the generated file contents without dealing with files.

      This patch also adds tests for some of the helper methods, adds tests that a few schemas generate code fine, and adds a line in TestSchema that makes sure that every schema that test sees can generate code just fine.

      Attachments

        1. AVRO-167.patch.txt
          19 kB
          Philip Martin

        Activity

          People

            philip Philip Martin
            philip Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: