cz.cuni.amis.tests
Class BaseTest

Package class diagram package BaseTest
java.lang.Object
  extended by cz.cuni.amis.tests.BaseTest
Direct Known Subclasses:
ConcurrencyTest

public class BaseTest
extends Object


Field Summary
protected static Logger log
           
static String NEW_LINE
           
 
Constructor Summary
BaseTest()
           
 
Method Summary
 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 isMac()
           
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEW_LINE

public static final String NEW_LINE

log

protected static Logger log
Constructor Detail

BaseTest

public BaseTest()
Method Detail

baseTestBeforeClass

public static void baseTestBeforeClass()

beforeTest

public void beforeTest()

afterTest

public void afterTest()

getLogLevel

protected Level getLogLevel()

assertTrue

protected void assertTrue(String msg,
                          boolean cnd)

assertFalse

protected void assertFalse(String msg,
                           boolean cnd)

assertFail

protected void assertFail(String msg)

log

protected void log(String msg)

testOk

protected void testOk()

testFailed

protected void testFailed()

isMac

public static boolean isMac()

isWindows

public static boolean isWindows()

isLinux

public static boolean isLinux()

is32Bit

public static boolean is32Bit()

is64Bit

public static boolean is64Bit()

testFailed

protected void testFailed(String msg)

process

public static String process(String message,
                             Throwable e)

process

public static String process(Throwable e)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.