org.openi.web.controller.admin
Class ApplicationFormControllerTest

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

public class ApplicationFormControllerTest
extends BaseControllerTestCase

Version:
$Revision: 1.7 $ $Date: 2006/04/12 00:39:12 $
Test case for application form controller.
Author:
Uddhab Pant

Field Summary
 
Fields inherited from class org.openi.web.controller.BaseControllerTestCase
app, 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
getAllPermission, getTestDirectory, getTestProject, getTestProjectContext, getTestProjectsDir, getTestUser, 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