public class BaseTest extends Object
Modifier and Type | Field and Description |
---|---|
protected static Logger |
log |
static String |
NEW_LINE |
Constructor and Description |
---|
BaseTest() |
Modifier and Type | Method and Description |
---|---|
void |
afterTest() |
protected void |
assertFail(String msg) |
protected void |
assertFalse(String msg,
boolean cnd) |
protected void |
assertTrue(String msg,
boolean cnd) |
static void |
baseTestBeforeClass() |
void |
beforeTest() |
protected Level |
getLogLevel() |
static boolean |
is32Bit() |
static boolean |
is64Bit() |
static boolean |
isLinux() |
static boolean |
isWindows() |
protected void |
log(String msg) |
static String |
process(String message,
Throwable e) |
static String |
process(Throwable e) |
protected void |
testFailed() |
protected void |
testFailed(String msg) |
protected void |
testOk() |
public static void baseTestBeforeClass()
public void beforeTest()
public void afterTest()
protected Level getLogLevel()
protected void assertTrue(String msg, boolean cnd)
protected void assertFalse(String msg, boolean cnd)
protected void assertFail(String msg)
protected void log(String msg)
protected void testOk()
protected void testFailed()
public static boolean isWindows()
public static boolean isLinux()
public static boolean is32Bit()
public static boolean is64Bit()
protected void testFailed(String msg)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.