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 codeartisans.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 |
assumeNetworking()
If called on a networkless runtime, 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 assumeDisplayPresent()
public static void assumeNetworking()
public static void assumeConnectivity()
public static void assumeConnectivity(String host, int port)
host
- Host
port
- Port