Changes for page Building XWiki from sources
Last modified by Lucas Charpentier (Sereza7) on 2024/01/19 11:27
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -210,7 +210,7 @@ 210 210 ** Verify none of the listed methods are called in our Java code 211 211 ** Verify that ##components.txt## contains all Components 212 212 ** Verify that JUnit4 and JUnit5 APIs are not both used at the same time in a test 213 -** Verify that the @Inject annotation is done on interfacesonly. Thespecialcasewhenthesameclassis used for componentrole andimplementation isalsoacceptedbutonlyfornternalcodesinceit'snotgood practice andcanlead toexposingtoo much aspublic code(e.g. public or protected methodsthatshould not bein the interface) {{info}}Since 12.4RC1{{/info}}213 +** Verify that the @Inject annotation is done on the component role (fails if not done by error on the component implementation, unless it's using the ##roles## attribute of the ##@Component## annotation and it points to itsself). {{info}}Since 12.4RC1{{/info}} 214 214 * For XARs, verify format and content using the [[XAR Plugin>>XARPlugin]] 215 215 * Verify that Test Percentage Coverage don't go down 216 216 ** This is achieved using Jacoco and the check is done at each module level using a Maven property named ##xwiki.jacoco.instructionRatio##.