|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.openi.web.controller.BaseControllerTestCase
org.openi.web.controller.admin.ManageFilesFormControllerTest
public class ManageFilesFormControllerTest
| Field Summary |
|---|
| Fields inherited from class org.openi.web.controller.BaseControllerTestCase |
|---|
app, appContext, logger, TEST_PROJECT_NAME, webAppContext |
| Constructor Summary | |
|---|---|
ManageFilesFormControllerTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
Initialize test objects |
protected void |
tearDown()
|
void |
testControllerConfig()
Test controller configuration |
void |
testCreateFolderAlreadyExists()
tests test dirs whether they exist or not |
void |
testDeletePost()
test delete file/folder request |
void |
testGet()
Test main view |
void |
testNewPost()
test new sub folder post request |
void |
testRenamePost()
test rename file/folder request |
| 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 |
|---|
public ManageFilesFormControllerTest()
| Method Detail |
|---|
public void setUp()
throws java.lang.Exception
setUp in class BaseControllerTestCaseIOException
java.lang.Exception
public void testControllerConfig()
throws java.lang.Exception
java.lang.Exception
public void testGet()
throws java.lang.Exception
java.lang.Exception
public void testCreateFolderAlreadyExists()
throws java.lang.Exception
java.lang.Exception
public void testNewPost()
throws java.lang.Exception
java.lang.Exception
public void testRenamePost()
throws java.lang.Exception
java.lang.Exception
public void testDeletePost()
throws java.lang.Exception
java.lang.Exceptionprotected void tearDown()
tearDown in class BaseControllerTestCase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||