mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Another test method order fix up for JDK7
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -87,7 +87,7 @@ public class ScriptBehaviourTest extends BaseSpringTest
|
||||
this.folderNodeRef = childAssocRef.getChildRef();
|
||||
}
|
||||
|
||||
public void testEnableDiableBehaviour()
|
||||
public void test1EnableDisableBehaviour()
|
||||
{
|
||||
// Register the onCreateNode behaviour script
|
||||
ScriptLocation location = new ClasspathScriptLocation("org/alfresco/repo/jscript/test_onCreateNode_cmContent.js");
|
||||
@@ -124,7 +124,7 @@ public class ScriptBehaviourTest extends BaseSpringTest
|
||||
assertTrue(this.nodeService.hasAspect(childAssoc2.getChildRef(), ContentModel.ASPECT_TITLED));
|
||||
}
|
||||
|
||||
public void testClasspathLocationBehaviour()
|
||||
public void test2ClasspathLocationBehaviour()
|
||||
{
|
||||
// Register the onCreateNode behaviour script
|
||||
ScriptLocation location = new ClasspathScriptLocation("org/alfresco/repo/jscript/test_onCreateNode_cmContent.js");
|
||||
@@ -149,7 +149,7 @@ public class ScriptBehaviourTest extends BaseSpringTest
|
||||
assertTrue(this.nodeService.hasAspect(childAssoc.getChildRef(), ContentModel.ASPECT_TITLED));
|
||||
}
|
||||
|
||||
public void testSpringConfiguredBehaviour()
|
||||
public void test3SpringConfiguredBehaviour()
|
||||
{
|
||||
this.nodeService.addAspect(this.folderNodeRef, ContentModel.ASPECT_COUNTABLE, null);
|
||||
assertTrue(this.nodeService.hasAspect(this.folderNodeRef, ContentModel.ASPECT_TITLED));
|
||||
|
Reference in New Issue
Block a user