org.infoglue.cms.controllers
Class ContentCategoryControllerTest

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

public class ContentCategoryControllerTest
extends InfoGlueTestCase

Author:
Frank Febbraro (frank@phase2technology.com)

Constructor Summary
ContentCategoryControllerTest()
           
 
Method Summary
 void testDeleteByCategory()
           
 void testDeleteByContentVersion()
           
 void testDeleteByContentVersionAttribute()
           
 void testFindByBadCategory()
           
 void testFindByCategory()
           
 void testFindByContentVersion()
           
 void testFindByContentVersionAttribute()
           
 void testFindByContentVersionAttributeBadAttribute()
           
 void testFindByContentVersionAttributeBadId()
           
 void testFindByContentVersionBadId()
           
 void testFindById()
           
 
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

ContentCategoryControllerTest

public ContentCategoryControllerTest()
Method Detail

testFindById

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

testFindByContentVersionAttribute

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

testFindByContentVersionAttributeBadId

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

testFindByContentVersionAttributeBadAttribute

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

testFindByContentVersion

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

testFindByContentVersionBadId

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

testFindByCategory

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

testFindByBadCategory

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

testDeleteByContentVersion

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

testDeleteByCategory

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

testDeleteByContentVersionAttribute

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