package test.at.gv.egovernment.moa.id; import test.MOAIDTestCase; import at.gv.egovernment.moa.id.config.ConfigurationProvider; /** * Base class for MOA ID test cases. * * Provides some utility functions. * * @author Patrick Peck * @version $Id$ */ public class UnitTestCase extends MOAIDTestCase { protected static final String TESTDATA_ROOT = "data/test/"; /** * Constructor for MOATestCase. * @param arg0 */ public UnitTestCase(String name) { super(name); } /** * Set up a transaction context with a test configuration. */ protected void setUp() throws Exception { System.setProperty( ConfigurationProvider.CONFIG_PROPERTY_NAME, TESTDATA_ROOT + "conf/ConfigurationTest.xml"); } }