Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-705

Deprecated classes in the QSs' functional tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.6.0.CR1
    • Fix Version/s: 2.7.0.ER1
    • Component/s: None
    • Labels:

      Description

      There are used deprecated classes in the QSs' functional tests.
      Specifically:

      junit.framework.Assert
      which should be replaced with org.junit.Assert

      $ grep -rl "junit\.framework\.Assert"
      spring-kitchensink-asyncrequestmapping/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/KitchensinkSpringAsyncRequestMappingTest.java
      spring-kitchensink-controlleradvice/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/KitchensinkSpringControllerAdviceTest.java
      spring-kitchensink-springmvctest/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/KitchensinkSpringMVCTest.java
      spring-kitchensink-basic/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/KitchensinkSpringBasicTest.java
      kitchensink-rf/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/KitchensinkRichFacesTest.java
      spring-kitchensink-matrixvariables/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/KitchensinkSpringMatrixVariablesTest.java
      

      org.apache.http.impl.client.DefaultHttpClient
      which should be replaced with org.apache.http.impl.client.HttpClientBuilder

      grep -rl "org\.apache\.http\.impl\.client\.DefaultHttpClient"
      spring-kitchensink-asyncrequestmapping/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      kitchensink-backbone/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      spring-kitchensink-controlleradvice/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      spring-kitchensink-springmvctest/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      kitchensink-angularjs-bootstrap/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      spring-kitchensink-basic/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      contacts-mobile-basic/functional-tests/src/test/java/org/jboss/as/quickstarts/contacts/test/RESTTest.java
      kitchensink-angularjs/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      kitchensink-rf/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      spring-kitchensink-matrixvariables/functional-tests/src/test/java/org/jboss/as/quickstarts/kitchensink/test/RESTTest.java
      

      There could be some other cases, I've hit on these two.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mjobanek Matous Jobanek
              Reporter:
              mjobanek Matous Jobanek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: