public class TestUtils extends Object
| Constructor and Description |
|---|
TestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getTestResourcesAbsolutePath()
Gets the absolute path to the test resources.
|
static boolean |
isWindows()
Returns
true if running on Windows. |
static String |
setOsDependentValue(String linuxValue,
String windowsValue)
Returns a value based on the operating system.
|
public static String getTestResourcesAbsolutePath()
src/test/resources directory.public static boolean isWindows()
true if running on Windows.True if running on Windows.public static String setOsDependentValue(String linuxValue, String windowsValue)
linuxValue - The value to return when on Linux.windowsValue - The value to return when on Windows.linuxValue when on Linux and the windowsValue
when on Windows.Copyright © 2018. All rights reserved.