MyFaces Test
  1. MyFaces Test
  2. MYFACESTEST-54

TestPerClassLoader JUnit runner should set classloader on Thread Context

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.4
    • Component/s: Test suites
    • Labels:
      None

      Description

      Code that uses the Thread.currentThread().getContextClassLoader() like MyFaces impl ClassUtils.classForName method, receives a class from the default classloader and not the custom one from the test.

      JUnit test runner need to call the Thread.currentThread().setContextClassLoader() method.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2m 57s 1 Rudy De Busscher 27/May/11 07:08
        Resolved Resolved Closed Closed
        81d 22h 10m 1 Leonardo Uribe 17/Aug/11 05:19
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.0.4 [ 12317607 ]
        Fix Version/s 1.0.4-SNAPSHOT [ 12316445 ]
        Rudy De Busscher made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.0.4-SNAPSHOT [ 12316445 ]
        Resolution Fixed [ 1 ]
        Rudy De Busscher created issue -

          People

          • Assignee:
            Rudy De Busscher
            Reporter:
            Rudy De Busscher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development