|
|||||||||
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.rule.RuleServiceCoverageTest
public class RuleServiceCoverageTest
Constructor Summary | |
---|---|
RuleServiceCoverageTest()
|
Method Summary | |
---|---|
protected void |
setUp()
Setup method |
void |
testAddFeaturesAction()
Test: rule type: inbound condition: no-condition() action: add-features( aspect-name = versionable) |
void |
testAddFeaturesToAFolder()
|
void |
testAsyncExecutionWithPotentialLoop()
|
void |
testAsyncRuleExecution()
Check async rule execution |
void |
testCheckInAction()
Test: rule type: inbound condition: no-condition() action: checkin() |
void |
testCheckMandatoryProperties()
Test checkMandatoryProperties method |
void |
testCheckOutAction()
Test: rule type: inbound condition: no-condition() action: checkout() |
void |
testCheckThatChildRuleFiresOnMove()
|
void |
testCheckThatModifyNameDoesNotTriggerInboundRule()
|
void |
testCheckThatModifyNameDoesNotTriggerOutboundRule()
|
void |
testContainsTextCondition()
Test: rule type: inbound condition: match-text( text = .doc, operation = CONTAINS) action: add-features( aspect-name = versionable) |
void |
testCopyAction()
Test: rule type: inbound condition: no-condition() action: copy() |
void |
testCopyFolderToTriggerRules()
|
void |
testDisableIndividualRules()
|
void |
testDisableRule()
|
void |
testImageTransformAction()
Test image transformation |
void |
testInboundRuleType()
|
void |
testInCategoryCondition()
Test: rule type: inbound condition: in-category action: add-feature |
void |
testLinkCategoryAction()
Test: rule type: inbound condition: no-condition action: link-category |
void |
testMoveAction()
Test: rule type: inbound condition: no-condition() action: move() |
void |
testOutboundRuleType()
Test: rule type: outbound condition: no-condition() action: add-features( aspect-name = versionable) |
void |
testRulesDisabled()
Check that the rules can be enabled and disabled |
void |
testSimpleWorkflowAction()
Test: rule type: inbound condition: no-condition action: simple-workflow |
void |
testTransformAction()
Test: rule type: inbound condition: no-condition() action: transform() |
void |
testUpdateAndMoveRuleOnSameFolder()
ALF-4926: Incorrect behavior of update and move rule for the same folder Two rules: When items are deleted, copy to another folder. In addition, when items are updated, add an aspect (or any other rule). Ensure that the first copy does not result in rules being fired on the target. |
void |
testUpdateRuleType()
|
void |
xtestMailAction()
Test: rule type: inbound condition: no-condition action: mail Note: this test will be removed from the standard list since it is not currently automated |
void |
xtestPerformanceOfRuleExecution()
Performance guideline test |
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 RuleServiceCoverageTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testAsyncRuleExecution()
public void testAddFeaturesAction()
public void testCheckThatModifyNameDoesNotTriggerInboundRule() throws java.lang.Exception
java.lang.Exception
public void testCheckThatModifyNameDoesNotTriggerOutboundRule() throws java.lang.Exception
java.lang.Exception
public void testCheckThatChildRuleFiresOnMove() throws java.lang.Exception
java.lang.Exception
public void testUpdateAndMoveRuleOnSameFolder() throws java.lang.Exception
java.lang.Exception
public void testDisableIndividualRules()
public void testDisableRule()
public void testAddFeaturesToAFolder()
public void testCopyFolderToTriggerRules()
public void testSimpleWorkflowAction()
public void testInCategoryCondition()
public void testLinkCategoryAction()
public void xtestMailAction()
public void testCopyAction()
public void testTransformAction() throws java.lang.Throwable
java.lang.Throwable
public void testImageTransformAction() throws java.lang.Throwable
java.lang.Throwable
public void testMoveAction()
public void testCheckOutAction()
public void testCheckInAction()
public void testRulesDisabled()
public void testCheckMandatoryProperties()
public void testContainsTextCondition()
public void testInboundRuleType()
public void testUpdateRuleType()
public void testOutboundRuleType()
public void xtestPerformanceOfRuleExecution()
public void testAsyncExecutionWithPotentialLoop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |