Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16695

Add marker/quick fix if test contains non static deployment method

    XMLWordPrintable

Details

    Description

      In an Arquillian test class, any method marked @Deployment that returns something other than Archive is not being detected. For example, this method is not detected by the tooling, despite the fact that WebArchive extends Archive:

      @Deployment
      public static WebArchive createDeployment() {
      ...code to create deployment here...
      }
      

      As a result, the deployment validation features do not work, and the Arquillian Cruiser view does not allow the archive to be browsed. Curiously, however, there is no warning about a missing @Deployment method.

      Attachments

        Issue Links

          Activity

            People

              snjeza_jira Snjezana Peco (Inactive)
              rdicroce Richard DiCroce (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: