org.xwiki.rendering.test.cts
Annotation Type Scope


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface Scope

Used to specify which test data to run in the test suite. By default runs all tests ending with .xml found in the classpath.

For example:


 @RunWith(CompatibilityTestSuite.class)
 @Syntax("xwiki/2.0")
 @Scope("simple")
 public class MySyntaxTest
 {
 ...
 }
 

Since:
4.1M1
Version:
$Id: 25c7b7337334aa60495c11ab4a8e85667891e473 $
See Also:
CompatibilityTestSuite

Optional Element Summary
 String pattern
          The regex pattern to filter files to execute, see CompatibilityTestSuite.
 String value
          The classpath prefix to search in.
 

value

public abstract String value
The classpath prefix to search in.

Default:
""

pattern

public abstract String pattern
The regex pattern to filter files to execute, see CompatibilityTestSuite.

Default:
".*\\.xml"


Copyright © 2004–2014 XWiki. All rights reserved.