public class Assume extends Assume
Constructor and Description |
---|
Assume() |
Modifier and Type | Method and Description |
---|---|
static void |
assumeConnectivity()
If called on a runtime with no access to polygene.apache.org on port 80, the test will halt and be ignored.
|
static void |
assumeConnectivity(String host,
int port)
If called on a runtime with no access to given host and port, the test will halt and be ignored.
|
static void |
assumeDisplayPresent()
If called on a headless runtime, the test will halt and be ignored.
|
static void |
assumeJavaVersion(int version)
If called on a JDK which version is different than the given one, the test will halt and be ignored.
|
static void |
assumeNetworking()
If called on a networkless runtime, the test will halt and be ignored.
|
static void |
assumeNoIbmJdk()
If called on a IBM JDK, the test will halt and be ignored.
|
static String |
assumeSystemPropertyNotNull(String key)
If called on a runtime without the given System Property set, the test will halt and be ignored.
|
assumeFalse, assumeFalse, assumeNoException, assumeNoException, assumeNotNull, assumeThat, assumeThat, assumeTrue, assumeTrue
public static void assumeJavaVersion(int version)
version
- the java version, 6, 7, 8, 9, 10public static void assumeNoIbmJdk()
public static void assumeDisplayPresent()
public static void assumeNetworking()
public static void assumeConnectivity()
public static void assumeConnectivity(String host, int port)
host
- Hostport
- Port