Changes for page Rendering Test Framework

Last modified by Vincent Massol on 2020/12/17 17:40

<
From version < 8.1 >
edited by Vincent Massol
on 2018/02/21 10:34
To version < 9.1 >
edited by Vincent Massol
on 2018/02/21 10:36
>
Change comment: There is no comment for this version

Summary

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 +
  • Powered by XWiki 14.10.18-node1. Hosted and managed by XWiki SAS

Get Connected