Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1905

JaxrsJacksonProviderTestCase Test Failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • None
    • EE
    • None

    Description

      The JaxrsJacksonProviderTestCase fails for me with the following error: -

      Failed tests: testJacksonWithJsonIgnore(org.jboss.as.testsuite.integration.jaxrs.jackson.JaxrsJacksonProviderTestCase): expected:<

      {"[name":"Australia","temperature":"Hot]"}

      > but was:<

      {"[temperature":"Hot","name":"Australia]"}

      >

      The test is assuming a fixed order, however the class has not been annotated to specify the order.

      http://jackson.codehaus.org/1.8.4/javadoc/org/codehaus/jackson/annotate/JsonPropertyOrder.html

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: