@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface SkipOnOS
SkipTestRule JUnit rule, that allows tests to be excluded
from the build if they are run on certain platforms.| Modifier and Type | Fields and Description |
|---|---|
static String |
LINUX
Symbolic constant used to determine the Linux operating system, from the "os.name" system property.
|
static String |
MAC
Symbolic constant used to determine the OS X operating system, from the "os.name" system property.
|
static String |
WINDOWS
Symbolic constant used to determine the Windows operating system, from the "os.name" system property.
|
| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
The list of OS names on which the test should be skipped.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
description
An optional description which explains why the test should be skipped.
|
public static final String WINDOWS
public static final String MAC
public static final String LINUX
public abstract String description
Copyright © 2021 JBoss by Red Hat. All rights reserved.