org.ops4j.pax.exam.junit
Annotation Type AppliesTo


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AppliesTo

Annotation specifying to which method names the configuration applies. The value of configuration is an array of regular expressions that are matched against test method names (those methods marked with Test). A configuration method can match multiple test methods, case when the options will be merged.

Since:
0.3.0, December 17, 2008
Author:
Alin Dreghiciu (adreghiciu@gmail.com)

Optional Element Summary
 java.lang.String[] value
          Array of regular expressions that are matched agains test methods names.
 

value

public abstract java.lang.String[] value
Array of regular expressions that are matched agains test methods names. By default (value not specified) matches all test methods (".*").

Returns:
array of regular expressions
Default:
".*"


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.