aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/tb3/IncludeIfProperty.java
blob: 3e703739320422d9e429d66a34149c3fbd0bf015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.vaadin.tests.tb3;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to control inclusion of a test into a test suite.
 * <p>
 * The test will be included in the suite only if the given System property
 * {@code property} has the given {@code value}.
 * <p>
 * Used by {@link TB3TestLocator}
 *
 * @author Vaadin Ltd
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface IncludeIfProperty {

    String property();

    String value();

}