Uploaded image for project: 'JSFUnit'
  1. JSFUnit
  2. JSFUNIT-286

Confusing "Make sure JSFUnitFilter has run and your test extends org.apache.cactus.ServletTestCase"

    Details

      Description

      AS7 requires <defaultProtocol type="Servlet 3.0" /> in arquillian.xml and if it's not present, then we get "Make sure JSFUnitFilter has run and your test extends org.apache.cactus.ServletTestCase" which is quite confusing.

        Gliffy Diagrams

          Activity

          Hide
          ssilvert Stan Silvert added a comment -

          Thanks Bernard. Jose is working on the Arquillian integration right now. Perhaps he can take a look.

          Show
          ssilvert Stan Silvert added a comment - Thanks Bernard. Jose is working on the Arquillian integration right now. Perhaps he can take a look.
          Hide
          spinner José Freitas added a comment -

          I'll fix it for Beta3

          Show
          spinner José Freitas added a comment - I'll fix it for Beta3
          Hide
          spinner José Freitas added a comment -

          Hey Bernard,
          Sorry for keeping you waiting so long.

          I couldn't replicate that message using the integration with arquillian.1.0.0.Final.
          Now, without the <defaultProtocol type="Servlet 3.0" /> you'll get a "Could not inject members" which is still vague but there's another jira issue for that.

          Show
          spinner José Freitas added a comment - Hey Bernard, Sorry for keeping you waiting so long. I couldn't replicate that message using the integration with arquillian.1.0.0.Final. Now, without the <defaultProtocol type="Servlet 3.0" /> you'll get a "Could not inject members" which is still vague but there's another jira issue for that.
          Hide
          spinner José Freitas added a comment -

          Following the issue's description I couldn't receive the cited message, instead I receive a "could not inject members" which is still confusing but it'll be handled at
          https://issues.jboss.org/browse/JSFUNIT-298

          Show
          spinner José Freitas added a comment - Following the issue's description I couldn't receive the cited message, instead I receive a "could not inject members" which is still confusing but it'll be handled at https://issues.jboss.org/browse/JSFUNIT-298

            People

            • Assignee:
              spinner José Freitas
              Reporter:
              blabno Bernard Labno
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development