public class ActionChainFactoryTest extends BaseTestCaseWithUser
user
Constructor and Description |
---|
ActionChainFactoryTest() |
Modifier and Type | Method and Description |
---|---|
static void |
assertDeleted(ActionChain actionChain)
Checks that an Action Chain does not exist anymore.
|
void |
testCreateActionChain()
Tests createActionChain() and getActionChain().
|
void |
testDelete()
Tests delete().
|
void |
testGetActionChainEntries()
Test getActionChainEntries().
|
void |
testGetActionChainEntry()
Tests testGetActionChainEntry().
|
void |
testGetActionChainEntryGroups()
Tests getActionChainEntryGroups().
|
void |
testGetActionChains()
Tests getActionChains().
|
void |
testGetOrCreateActionChain()
Tests getOrCreateActionChain().
|
void |
testPermissions()
Tests that actionchains are only accessible to the user that created them
|
void |
testQueueActionChainEntry()
Tests queueActionChainEntry().
|
void |
testRemoveActionChainEntry() |
void |
testRemoveActionChainEntrySortGaps() |
void |
testSchedule()
Tests schedule().
|
commitHappened, setUp, tearDown
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public void testCreateActionChain() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testDelete() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testGetActionChains() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testGetOrCreateActionChain() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testQueueActionChainEntry() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testGetActionChainEntry() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testGetActionChainEntryGroups() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testRemoveActionChainEntrySortGaps() throws java.lang.Exception
java.lang.Exception
public void testRemoveActionChainEntry() throws java.lang.Exception
java.lang.Exception
public void testGetActionChainEntries() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testSchedule() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic void testPermissions() throws java.lang.Exception
java.lang.Exception
- if something bad happenspublic static void assertDeleted(ActionChain actionChain)
actionChain
- the Action Chain to check