public class CurrentPlatform
extends java.lang.Object
true
. Each executes quickly.
Useful with @Assumption annotations to limit unit tests to specific test platforms.Constructor and Description |
---|
CurrentPlatform() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isLinux() |
static boolean |
isMacOSX() |
static boolean |
isUnknown() |
static boolean |
isWindows() |
public static boolean isWindows()
public static boolean isLinux()
public static boolean isMacOSX()
public static boolean isUnknown()