org.apache.struts2
Class StrutsTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.opensymphony.xwork2.XWorkTestCase
              extended by org.apache.struts2.StrutsTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class StrutsTestCase
extends com.opensymphony.xwork2.XWorkTestCase

Base test case for unit testing Struts.


Field Summary
 
Fields inherited from class com.opensymphony.xwork2.XWorkTestCase
configurationManager
 
Constructor Summary
StrutsTestCase()
           
 
Method Summary
protected  void setUp()
          Sets up the configuration settings, XWork configuration, and message resources
protected  void tearDown()
           
 
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
 

Constructor Detail

StrutsTestCase

public StrutsTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Sets up the configuration settings, XWork configuration, and message resources

Overrides:
setUp in class com.opensymphony.xwork2.XWorkTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class com.opensymphony.xwork2.XWorkTestCase
Throws:
java.lang.Exception


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