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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.3.0.Alpha1
    • 4.1.1.Final
    • arquillian
    • None

    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)
              ljelinko@redhat.com Lucia Jelinkova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: