org.infoglue.cms.workflow
Class CreateNewsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.infoglue.cms.util.InfoGlueTestCase
              extended by org.infoglue.cms.util.WorkflowTestCase
                  extended by org.infoglue.cms.workflow.NewsWorkflowTestCase
                      extended by 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.workflow.NewsWorkflowTestCase
getCreateNewsParams, getNumberOfGlobalActions, getWorkflowName, invokeCreateNews, invokePreviewNewsAndApprove, setUp
 
Methods inherited from class org.infoglue.cms.util.WorkflowTestCase
assertWorkflowFinished, checkActions, checkWorkflow, findCurrentWorkflow, findWorkflow, findWorkflowByName, finishWorkflow, getNumberOfInitialActions, getPropertySet, getUserPrincipal, getWorkflow, getWorkflowId, invokeAction, printActions, printAvailableActions, printSteps, printWorkflows, setUserPrincipal, setWorkflow, startWorkflow
 
Methods inherited from class org.infoglue.cms.util.InfoGlueTestCase
changeDate, changeDate, createRole, getAdminPrincipal, getAnonPrincipal, getCmsUserPrincipal, getLanguageId, getLanguageId, getRepoId, getSiteNodeId, getSiteNodeId, initializeInfoGlue
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateNewsTest

public CreateNewsTest()
Method Detail

testCreateNewsAndApprove

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

testCreateNewsAndApproveInactive

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

testCreateNewsTwice

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


Copyright © 2005 InfoGlue.org All Rights Reserved.