org.apache.jetspeed.components.util
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.jetspeed.components.util.DatasourceEnabledSpringTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractPrefsSupportedTestCase

public abstract class DatasourceEnabledSpringTestCase
extends AbstractSpringTestCase

DatasourceEnabledSpringTestCase

Version:
$Id: DatasourceEnabledSpringTestCase.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver

Field Summary
protected  JetspeedTestJNDIComponent jndiDS
           
 
Fields inherited from class org.apache.jetspeed.components.test.AbstractSpringTestCase
ctx
 
Constructor Summary
DatasourceEnabledSpringTestCase()
           
 
Method Summary
protected  java.lang.String[] getBootConfigurations()
          optional specification of boot spring configurations
protected  void setUp()
          setup Spring context as part of test setup
protected  void tearDown()
          close Spring context as part of test teardown
 
Methods inherited from class org.apache.jetspeed.components.test.AbstractSpringTestCase
getConfigurations, getPostProcessProperties
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

jndiDS

protected JetspeedTestJNDIComponent jndiDS
Constructor Detail

DatasourceEnabledSpringTestCase

public DatasourceEnabledSpringTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: AbstractSpringTestCase
setup Spring context as part of test setup

Overrides:
setUp in class AbstractSpringTestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: AbstractSpringTestCase
close Spring context as part of test teardown

Overrides:
tearDown in class AbstractSpringTestCase
Throws:
java.lang.Exception
See Also:
TestCase.tearDown()

getBootConfigurations

protected java.lang.String[] getBootConfigurations()
Description copied from class: AbstractSpringTestCase
optional specification of boot spring configurations

Overrides:
getBootConfigurations in class AbstractSpringTestCase


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.