|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.infoglue.cms.util.InfoGlueTestCase
|
+--org.infoglue.cms.util.WorkflowTestCase
Base class for workflow tests. Uses the "Create News" sample workflow. We don't do the "Preview news and approve" step because we don't want to deal with saving content that we have to clean up later. Going through the first step should suffice to demonstrate that the right things are happening as far as the workflow is concerned. It is easy enough to hook up "Preview news and approve" if it turns out that testing the step is worth the headache of figuring out which content to remove when the test finishes.
| Field Summary | |
static int |
FINISH_WORKFLOW
The ID of the global action "Finish Workflow". |
| Constructor Summary | |
WorkflowTestCase()
|
|
| 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 |
| Field Detail |
public static final int FINISH_WORKFLOW
| Constructor Detail |
public WorkflowTestCase()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||