ACE-4250: Revert r110119 (except keep 2 out of 4 unit tests)

- note: related to ACE-4421/MNT-13836

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@114219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2015-10-12 22:15:03 +00:00
parent fd740adefc
commit 30f8e49239
2 changed files with 274 additions and 272 deletions

View File

@@ -426,6 +426,7 @@ public class PolicyComponentTransactionTest extends TestCase
* <p>then disable the super- behaviour only and show that sub behaviour is still enabled and triggered</p>
* @throws Exception
*/
/*
public void testChildParentBehaviours2() throws Exception
{
TestOnCreateNodePolicy baseTypeBehavior = new TestOnCreateNodePolicy();
@@ -476,7 +477,8 @@ public class PolicyComponentTransactionTest extends TestCase
assertTrue("Behavior should be executed for child type.", fileTypeBehavior.isExecuted());
assertEquals(1, fileTypeBehavior.getExecutionCount());
}
*/
/**
* Test for MNT_13836
* <p>then also disable the sub- behaviour and show that neither behaviour is triggered</p>
@@ -544,6 +546,7 @@ public class PolicyComponentTransactionTest extends TestCase
* <p>then vice-versa, ie. disabling sub- behaviour does not disable inherited super- behaviours</p>
* @throws Exception
*/
/*
public void testChildParentBehaviours4() throws Exception
{
TestOnCreateNodePolicy baseTypeBehavior = new TestOnCreateNodePolicy();
@@ -594,6 +597,7 @@ public class PolicyComponentTransactionTest extends TestCase
assertFalse("Behavior should not be executed for child type.", fileTypeBehavior.isExecuted());
assertEquals(0, fileTypeBehavior.getExecutionCount());
}
*/
/**
* @param className the class to check