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 String DATASOURCE_KEY
- See Also:
- Constant Field Values
ORG_APACHE_JETSPEED_TEST_DATABASE_PASSWORD
private static final String ORG_APACHE_JETSPEED_TEST_DATABASE_PASSWORD
- See Also:
- Constant Field Values
ORG_APACHE_JETSPEED_TEST_DATABASE_USER
private static final String ORG_APACHE_JETSPEED_TEST_DATABASE_USER
- See Also:
- Constant Field Values
ORG_APACHE_JETSPEED_TEST_DATABASE_URL
private static final String ORG_APACHE_JETSPEED_TEST_DATABASE_URL
- See Also:
- Constant Field Values
ORG_APACHE_JETSPEED_TEST_DATABASE_DRIVER
private static final String ORG_APACHE_JETSPEED_TEST_DATABASE_DRIVER
- See Also:
- Constant Field Values
datasource
protected org.apache.commons.dbcp.BasicDataSource datasource
DatasourceHelper
public DatasourceHelper(Map context)
setUp
public void setUp()
throws Exception
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Throws:
Exception
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.