org.infoglue.deliver.controllers
Class ContentDeliveryControllerTest

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

public class ContentDeliveryControllerTest
extends InfoGlueTestCase

Author:
Frank Febbraro (frank@phase2technology.com)

Constructor Summary
ContentDeliveryControllerTest()
           
 
Method Summary
 void testFindBadByExpireDate()
           
 void testFindBadByPublishDate()
           
 void testFindByCategory()
           
 void testFindMostRecent()
           
 void testFindWithAdminPermissions()
           
 void testFindWithAnonPermissions()
           
 
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

ContentDeliveryControllerTest

public ContentDeliveryControllerTest()
Method Detail

testFindByCategory

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

testFindBadByPublishDate

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

testFindBadByExpireDate

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

testFindWithAdminPermissions

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

testFindWithAnonPermissions

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

testFindMostRecent

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