Changes for page Rendering Test Framework
Last modified by Vincent Massol on 2020/12/17 17:40
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -175,3 +175,16 @@ 175 175 } 176 176 } 177 177 {{/code}} 178 + 179 +Also notice the usage of the ##@AllComponents## annotation which tells the Rendering Test Site to automatically register all XWiki Components found in the ClassLoader used to load this test. You could also use the ##@ComponentList({...})## annotation to only register some components. For example: 180 + 181 +{{code language='java'}} 182 +@ComponentList({ 183 + DefaultBeanManager.class, 184 + DefaultConverterManager.class, 185 + EnumConverter.class, 186 + ConvertUtilsConverter.class 187 +}) 188 +{{/code}} 189 + 190 +