org.apache.jetspeed.components.test
Class AbstractSpringTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.jetspeed.components.test.AbstractSpringTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractSpringTestCase
extends junit.framework.TestCase

AbstractSpringTestCase

Version:
$Id: AbstractSpringTestCase.java 224690 2005-07-25 04:59:46Z rwatler $
Author:
Scott T. Weaver

Field Summary
protected  org.springframework.context.support.ClassPathXmlApplicationContext ctx
          Provides access to the Spring ApplicationContext.
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AbstractSpringTestCase()
           
 
Method Summary
protected  String[] getBootConfigurations()
          optional specification of boot spring configurations
protected abstract  String[] getConfigurations()
          required specification of spring configurations
protected  void setUp()
          setup Spring context as part of test setup
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

ctx

protected org.springframework.context.support.ClassPathXmlApplicationContext ctx
Provides access to the Spring ApplicationContext.

Constructor Detail

AbstractSpringTestCase

public AbstractSpringTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
setup Spring context as part of test setup

Throws:
Exception

getConfigurations

protected abstract String[] getConfigurations()
required specification of spring configurations


getBootConfigurations

protected String[] getBootConfigurations()
optional specification of boot spring configurations



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