Last modified by Lucas Charpentier (Sereza7) on 2024/01/19 11:27

<
From version < 121.1 >
edited by Vincent Massol
on 2020/05/11 10:32
To version < 122.1 >
edited by Vincent Massol
on 2020/05/17 19:14
>
Change comment: There is no comment for this version

Summary

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 interfaces only. The special case when the same class is used for component role and implementation is also accepted but only for internal code since it's not a good practice and can lead to exposing too much as public code (e.g. public or protected methods that should not be in 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##.

Get Connected