Class RenderedResults

java.lang.Object
io.quarkus.qute.RenderedResults
All Implemented Interfaces:
Iterable<Map.Entry<String,List<RenderedResults.RenderedResult>>>, BiConsumer<TemplateInstance,String>

This helper class can be used to collect rendering results and assert the results in a test.

You can obtain the results for a specific template with getResults(String). This class also implements iterable - the entry key is the template id and the value is a copy of the list of all results. Finally, it's also possible to filter the results with setFilter(BiPredicate) and remove some results with remove(Predicate).

See Also: