Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39897

Allow easier testing with ResourceLoader

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 11.0
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-1298

      Description

      At the moment it's difficult to use the ResourceLoader in a test setup without having the ComponentManager getting started as it depends on SessionManager and PrivacyManager. Both of these are retrieved through static calls that use the component manager to locale an instance. If these calls were no longer static then it would be easy to subclass ResourceLoader in a test setup and have the services supplied, thus preventing the component manager getting started.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                k1team KERNEL TEAM (Inactive)
                Reporter:
                buckett Matthew Buckett
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code