|
|||||||||
| 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.infoglue.cms.util.InfoGlueTestCase
org.infoglue.cms.controllers.ContentStateControllerTest
public class ContentStateControllerTest
This test exercises the publishing/unpublishing of content.
| Constructor Summary | |
|---|---|
ContentStateControllerTest()
|
|
| Method Summary | |
|---|---|
void |
performStateChangeTest(java.lang.Integer stateId)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testCategoryDuplicationOnPublishing()
|
void |
testCategoryDuplicationOnWorking()
|
| Methods inherited from class org.infoglue.cms.util.InfoGlueTestCase |
|---|
changeDate, changeDate, createRole, getAdminPrincipal, getAnonPrincipal, getCmsUserPrincipal, getLanguageId, getLanguageId, getRepoId, getSiteNodeId, getSiteNodeId, initializeInfoGlue |
| 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 ContentStateControllerTest()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class InfoGlueTestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void testCategoryDuplicationOnPublishing()
throws java.lang.Exception
java.lang.Exception
public void testCategoryDuplicationOnWorking()
throws java.lang.Exception
java.lang.Exception
public void performStateChangeTest(java.lang.Integer stateId)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||