Package io.debezium.junit
Annotation Type SkipOnOS
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface SkipOnOS
Marker annotation used together with theSkipTestRuleJUnit rule, that allows tests to be excluded from the build if they are run on certain platforms.- Author:
- Horia Chiorean
-
-
Field Summary
Fields Modifier and Type Fields Description static StringLINUXSymbolic constant used to determine the Linux operating system, from the "os.name" system property.static StringMACSymbolic constant used to determine the OS X operating system, from the "os.name" system property.static StringWINDOWSSymbolic constant used to determine the Windows operating system, from the "os.name" system property.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdescriptionAn optional description which explains why the test should be skipped.
-
-
-
Field Detail
-
WINDOWS
static final String WINDOWS
Symbolic constant used to determine the Windows operating system, from the "os.name" system property.
-
-
-
MAC
static final String MAC
Symbolic constant used to determine the OS X operating system, from the "os.name" system property.
-
-
-
LINUX
static final String LINUX
Symbolic constant used to determine the Linux operating system, from the "os.name" system property.
-
-
-
description
String description
An optional description which explains why the test should be skipped.- Returns:
- a string which explains the reasons for skipping the test.
- Default:
- ""
-
-