Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2140

2 integration tests fail due to code changes for RESTEASY-2062

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 4.0.0.Beta7
    • jaxrs
    • None

      https://issues.jboss.org/browse/RESTEASY-2062
      https://issues.jboss.org/browse/WFLY-11651
      https://issues.jboss.org/browse/WFCORE-4297

      The changes implemented for the jiras above cause 2 resteasy integration tests to fail.
      org.jboss.resteasy.test.resource.basic.MediaTypeFromMessageBodyWriterTest
      org.jboss.resteasy.test.resource.param.FormParamTest

      FormParamTest is in violation of the spec requirments in this area.
      FormParamEntityThrowsIllegaArgumentException is designed to throw an exception.
      This causes the app to fail deployment when the @DefaulValue is passed as a test.

      MediaTypeFromMessageBodyWriterTest fails because RuntimeDelegate.getInstance
      returns null during the deployment process.
      MediaTypeFromMessageBodyWriterResource has @DefaultValue method parameter
      type MediaType. This class has valueOf method which calls RuntimeDelegate. That
      method returns null.
      MediaType has valueOf(String) method
      calls RuntimeDelegate.getInstance which returns null during deployment
      process.

            rsearls r searls
            rsearls r searls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: