mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-14964 - Tests to ensure Inherited inverted rules function correctly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -48,7 +48,6 @@ import org.alfresco.util.test.junitrules.TemporaryNodes;
|
|||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.ClassRule;
|
import org.junit.ClassRule;
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.rules.RuleChain;
|
import org.junit.rules.RuleChain;
|
||||||
@@ -129,9 +128,11 @@ public class RuleServiceIntegrationTest
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Ignore("Failing test, reproducing bug described by ALF-14964. " +
|
/**
|
||||||
"Queued Policies (TRANSACTION_COMMIT) are causing the " +
|
* Test that inherited rules with inverted actions behave correctly.
|
||||||
"Versionable aspect to be re-added after the rules have fired.")
|
* Specifically that the VERSIONABLE aspect is correctly removed after
|
||||||
|
* being adding by an inherited parent rule.
|
||||||
|
*/
|
||||||
@Test public void testInheritedInvertedRule() throws Exception
|
@Test public void testInheritedInvertedRule() throws Exception
|
||||||
{
|
{
|
||||||
TRANSACTION_HELPER.doInTransaction(new RetryingTransactionCallback<Void>()
|
TRANSACTION_HELPER.doInTransaction(new RetryingTransactionCallback<Void>()
|
||||||
@@ -180,10 +181,6 @@ public class RuleServiceIntegrationTest
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Test public void noOp() { /* Intentionally empty. */ }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds content to a given node.
|
* Adds content to a given node.
|
||||||
* <p>
|
* <p>
|
||||||
|
Reference in New Issue
Block a user