org.openi.web.controller.admin
Class ApplicationFormControllerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.openi.web.controller.BaseControllerTestCase
              extended byorg.openi.web.controller.admin.ApplicationFormControllerTest
All Implemented Interfaces:
junit.framework.Test

public class ApplicationFormControllerTest
extends BaseControllerTestCase

Version:
$Revision: 1.5 $ $Date: 2005/08/10 13:14:07 $
Test case for application form controller.
Author:
Uddhab Pant

Field Summary
 
Fields inherited from class org.openi.web.controller.BaseControllerTestCase
appContext, logger, TEST_PROJECT_NAME, webAppContext
 
Constructor Summary
ApplicationFormControllerTest()
           
 
Method Summary
 void setUp()
          Initialize test objects
protected  void tearDown()
           
 void testEdit()
          Test form
 void testOnSubmit()
          Test submit
 
Methods inherited from class org.openi.web.controller.BaseControllerTestCase
getTestProject, getTestProjectContext, newGet, newPost
 
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

ApplicationFormControllerTest

public ApplicationFormControllerTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Initialize test objects

Overrides:
setUp in class BaseControllerTestCase
Throws:
IOException
java.lang.Exception

testEdit

public void testEdit()
              throws java.lang.Exception
Test form

Throws:
java.lang.Exception

testOnSubmit

public void testOnSubmit()
                  throws java.lang.Exception
Test submit

Throws:
java.lang.Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class BaseControllerTestCase