org.infoglue.cms.controllers
Class CategoryControllerTest

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

public class CategoryControllerTest
extends InfoGlueTestCase

Author:
Frank Febbraro (frank@phase2technology.com)

Constructor Summary
CategoryControllerTest()
           
 
Method Summary
 void testDeleteContentCategories()
           
 void testFindActiveByParent()
           
 void testFindById()
           
 void testFindByParent()
           
 void testFindRootCategories()
           
 void testFindWithChildren()
           
 void testMoveCategory()
           
 void testUpdate()
           
 
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

CategoryControllerTest

public CategoryControllerTest()
Method Detail

testFindById

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

testUpdate

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

testFindByParent

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

testFindActiveByParent

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

testFindRootCategories

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

testFindWithChildren

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

testDeleteContentCategories

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

testMoveCategory

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