Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16263

Support merging plugins in docker tests

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 11.3-rc-1
    • 11.2
    • Test Framework
    • None
    • Unit
    • Unknown
    • N/A

    Description

      It's currently not possible to add new plugins for docker test, except by overriding completely the xwikiCfgPlugins property. So we obtain this kind of code in our tests:

      // Overridden to add the RightsManagerPlugin
          "xwikiCfgPlugins=com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,"
              + "com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,"
              + "com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin"
      }
       

      We should be able to add a new plugin without needing to specify the whole list of plugins.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: