org.apache.jetspeed.testhelpers
Class DatasourceHelper
java.lang.Object
org.apache.jetspeed.testhelpers.AbstractTestHelper
org.apache.jetspeed.testhelpers.DatasourceHelper
- All Implemented Interfaces:
- TestHelper
- Direct Known Subclasses:
- OJBHelper
public class DatasourceHelper
- extends AbstractTestHelper
This helper adds a "datasource" based on the maven build.properties/project.properties database settings passed to
the test case, (see AbstractTestHelper).
- Author:
- Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATASOURCE_KEY
public static final java.lang.String DATASOURCE_KEY
- See Also:
- Constant Field Values
datasource
protected org.apache.commons.dbcp.BasicDataSource datasource
DatasourceHelper
public DatasourceHelper(java.util.Map context)
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
public void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.