com.opensymphony.xwork2.util
Class XWorkTestCaseHelper

java.lang.Object
  extended by com.opensymphony.xwork2.util.XWorkTestCaseHelper

public class XWorkTestCaseHelper
extends Object

Generic test setup methods to be used with any unit testing framework.


Constructor Summary
XWorkTestCaseHelper()
           
 
Method Summary
static ConfigurationManager loadConfigurationProviders(ConfigurationManager configurationManager, ConfigurationProvider... providers)
           
static ConfigurationManager setUp()
           
static void tearDown(ConfigurationManager configurationManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWorkTestCaseHelper

public XWorkTestCaseHelper()
Method Detail

setUp

public static ConfigurationManager setUp()
                                  throws Exception
Throws:
Exception

loadConfigurationProviders

public static ConfigurationManager loadConfigurationProviders(ConfigurationManager configurationManager,
                                                              ConfigurationProvider... providers)

tearDown

public static void tearDown(ConfigurationManager configurationManager)
                     throws Exception
Throws:
Exception


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