Package org.xwiki.rendering.test.cts
Annotation Type Scope
-
@Retention(RUNTIME) @Target(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: a7deba3ad326c0260c24dfe953ac1b9bab3a6b9c $
- See Also:
CompatibilityTestSuite
-
-
Field Summary
Fields Modifier and Type Fields Description static String
DEFAULT_PATTERN
The default regex to locate test data files, seeCompatibilityTestSuite
.
-
-
-
Field Detail
-
DEFAULT_PATTERN
static final String DEFAULT_PATTERN
The default regex to locate test data files, seeCompatibilityTestSuite
.
-
-
Element Detail
-
value
String value
- Returns:
- the classpath prefix to search in.
- Default:
- ""
-
-
-
pattern
String pattern
- Returns:
- the regex pattern to filter files to execute, see
CompatibilityTestSuite
.
- Default:
- ".*\\.xml"
-
-