001package de.cuioss.test.jsf.config.renderer;
002
003import java.lang.annotation.ElementType;
004import java.lang.annotation.Retention;
005import java.lang.annotation.RetentionPolicy;
006import java.lang.annotation.Target;
007
008import javax.faces.component.html.HtmlForm;
009
010import de.cuioss.test.jsf.renderer.AbstractComponentRendererTest;
011
012/**
013 * This annotation can be used for further configuration of tests based on
014 * {@link AbstractComponentRendererTest}
015 *
016 * @author Oliver Wolff
017 */
018@Retention(RetentionPolicy.RUNTIME)
019@Target({ ElementType.TYPE })
020public @interface VerifyComponentRendererConfig {
021
022    /**
023     * @return boolean indicating whether the test should wrap the component to be
024     *         tested into a {@link HtmlForm} prior to rendering. Defaults to
025     *         {@code false}, The form itself will not be rendered
026     */
027    boolean wrapComponentInForm() default false;
028}