org.apache.portals.graffito.persistence.impl
Class DatasourceEnabledSpringTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.jetspeed.components.test.AbstractSpringTestCase
              extended by org.apache.portals.graffito.persistence.impl.DatasourceEnabledSpringTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
PersistenceSupportedTestCase

public abstract class DatasourceEnabledSpringTestCase
extends org.apache.jetspeed.components.test.AbstractSpringTestCase

DatasourceEnabledSpringTestCase. This abstract test case initialise the JNDI component & datasource

Version:
$Id: DatasourceEnabledSpringTestCase.java,v 1.1 2004/12/22 20:36:59 christophe Exp $
Author:
Scott T. Weaver

Field Summary
protected  org.apache.jetspeed.components.datasource.BoundDBCPDatasourceComponent datasourceComponent
           
protected  org.apache.jetspeed.components.jndi.JNDIComponent jndi
           
 
Fields inherited from class org.apache.jetspeed.components.test.AbstractSpringTestCase
ctx
 
Constructor Summary
DatasourceEnabledSpringTestCase()
           
 
Method Summary
protected  java.lang.String[] getConfigurations()
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class org.apache.jetspeed.components.test.AbstractSpringTestCase
getBootConfigurations
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

datasourceComponent

protected org.apache.jetspeed.components.datasource.BoundDBCPDatasourceComponent datasourceComponent

jndi

protected org.apache.jetspeed.components.jndi.JNDIComponent jndi
Constructor Detail

DatasourceEnabledSpringTestCase

public DatasourceEnabledSpringTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class org.apache.jetspeed.components.test.AbstractSpringTestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception
See Also:
TestCase.tearDown()

getConfigurations

protected java.lang.String[] getConfigurations()
Specified by:
getConfigurations in class org.apache.jetspeed.components.test.AbstractSpringTestCase


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.