org.infoglue.cms.workflow
Class CreateNewsTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.infoglue.cms.util.InfoGlueTestCase
                    |
                    +--org.infoglue.cms.util.WorkflowTestCase
                          |
                          +--org.infoglue.cms.workflow.NewsWorkflowTestCase
                                |
                                +--org.infoglue.cms.workflow.CreateNewsTest
All Implemented Interfaces:
junit.framework.Test

public class CreateNewsTest
extends NewsWorkflowTestCase

Tests the Create News sample workflow

Author:
Jed Prentice

Field Summary
 
Fields inherited from class org.infoglue.cms.util.WorkflowTestCase
FINISH_WORKFLOW
 
Constructor Summary
CreateNewsTest()
           
 
Method Summary
 void testCreateNewsAndApprove()
           
 void testCreateNewsAndApproveInactive()
           
 void testCreateNewsTwice()
           
 
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

CreateNewsTest

public CreateNewsTest()
Method Detail

testCreateNewsAndApprove

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

testCreateNewsAndApproveInactive

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

testCreateNewsTwice

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