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:
Harpritt Kalsi
2012-10-11 09:39:37 +00:00
parent 9bd6f02bf7
commit 177d5c166b

View File

@@ -48,7 +48,6 @@ import org.alfresco.util.test.junitrules.TemporaryNodes;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
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 " +
"Versionable aspect to be re-added after the rules have fired.")
/**
* Test that inherited rules with inverted actions behave correctly.
* Specifically that the VERSIONABLE aspect is correctly removed after
* being adding by an inherited parent rule.
*/
@Test public void testInheritedInvertedRule() throws Exception
{
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.
* <p>