Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-3846

Remove the JUnit 4 MockitoComponentManagerRule

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The JUnit 4 MockitoComponentManagerRule has no user left in XWiki Commons, Rendering and Platform (its last user, MockitoOldcoreRule, is removed in XWIKI-25438). JUnit 5 tests use @ComponentTest / MockitoComponentManagerExtension instead.

      Remove it, as a step towards removing JUnit 4 (and the JUnit Vintage engine) from the test classpath altogether. Extensions still having JUnit 4 tests using it need to migrate them to JUnit 5.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: