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

        There are no comments yet on this 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