org.infoglue.cms.controllers
Class ContentStateControllerTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.infoglue.cms.util.InfoGlueTestCase
                    |
                    +--org.infoglue.cms.controllers.ContentStateControllerTest
All Implemented Interfaces:
junit.framework.Test

public class ContentStateControllerTest
extends InfoGlueTestCase

This test exercises the publishing/unpublishing of content.

Author:
Frank Febbraro (frank@phase2technology.com)

Constructor Summary
ContentStateControllerTest()
           
 
Method Summary
 void performStateChangeTest(java.lang.Integer stateId)
           
 void testCategoryDuplicationOnPublishing()
           
 void testCategoryDuplicationOnWorking()
           
 
Methods inherited from class org.infoglue.cms.util.InfoGlueTestCase
getAdminPrincipal, getAnonPrincipal, getCmsUserPrincipal, getLanguageId, getLanguageId, getRepoId, getSiteNodeId, getSiteNodeId, initializeInfoGlue
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentStateControllerTest

public ContentStateControllerTest()
Method Detail

testCategoryDuplicationOnPublishing

public void testCategoryDuplicationOnPublishing()
                                         throws java.lang.Exception
java.lang.Exception

testCategoryDuplicationOnWorking

public void testCategoryDuplicationOnWorking()
                                      throws java.lang.Exception
java.lang.Exception

performStateChangeTest

public void performStateChangeTest(java.lang.Integer stateId)
                            throws java.lang.Exception
java.lang.Exception