|
|||||||||
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.alfresco.repo.action.ActionTrackingServiceImplTest
public class ActionTrackingServiceImplTest
Action tracking service tests. These mostly need careful control over the transactions they use.
Nested Class Summary | |
---|---|
class |
ActionTrackingServiceImplTest.AsyncOccurs
|
Constructor Summary | |
---|---|
ActionTrackingServiceImplTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testCancellation()
Cancel related |
void |
testCreateCacheKeys()
Creating cache keys |
void |
testExecutionDetailsSummary()
Creating ExecutionDetails and ExecutionSummary |
void |
testExecutionInstanceAssignment()
Running an action gives it an execution ID |
void |
testFailingActions()
Failing actions go into the cache, then out |
void |
testInOutCache()
The correct things happen with the cache when you mark things as working / failed / etc |
void |
testJavascriptAPI()
|
void |
testListings()
Ensure that the listing functions work |
void |
testPendingActions()
Ensure that pending actions behave properly |
void |
testWorkingActions()
Working actions go into the cache, then out |
void |
xtestExecutionTrackingOnExecution()
Tests that when we run an action, either synchronously or asynchronously, with it working or failing, that the action execution service correctly sets the flags |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionTrackingServiceImplTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testCreateCacheKeys() throws java.lang.Exception
java.lang.Exception
public void testExecutionDetailsSummary() throws java.lang.Exception
java.lang.Exception
public void testExecutionInstanceAssignment() throws java.lang.Exception
java.lang.Exception
public void testInOutCache() throws java.lang.Exception
java.lang.Exception
public void testWorkingActions() throws java.lang.Exception
java.lang.Exception
public void testFailingActions() throws java.lang.Exception
java.lang.Exception
public void testPendingActions() throws java.lang.Exception
java.lang.Exception
public void testListings() throws java.lang.Exception
java.lang.Exception
public void testCancellation() throws java.lang.Exception
java.lang.Exception
public void xtestExecutionTrackingOnExecution() throws java.lang.Exception
java.lang.Exception
public void testJavascriptAPI() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |