|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.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
public class CreateNewsTest
Tests the Create News sample workflow
| 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 |
|---|
public CreateNewsTest()
| Method Detail |
|---|
public void testCreateNewsAndApprove()
throws java.lang.Exception
java.lang.Exception
public void testCreateNewsAndApproveInactive()
throws java.lang.Exception
java.lang.Exception
public void testCreateNewsTwice()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||