org.openi.test
Class Util

java.lang.Object
  extended byorg.openi.test.Util

public class Util
extends java.lang.Object

Util for tests - Isn't this an anti pattern?


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String findTestDirectory()
           
static void setupLog4j()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

findTestDirectory

public static java.lang.String findTestDirectory()
Returns:
location of test directory - when tests are run from ant, this property is already set in CVS/product/src/build.xml, see the runtests task (${basedir}/test. If running anywhere else, you can set the system property TESTDIR, which takes precedence.

setupLog4j

public static void setupLog4j()