RM Fix Build: Remove failing test as groups are now hidden.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-06-14 01:31:02 +00:00
parent 54883bd2bd
commit 3e8f85cbda
4 changed files with 27 additions and 5 deletions

View File

@@ -99,3 +99,24 @@ test {
} }
} }
task deploydemo << {
def demoDir = "demo/${demo}"
def demoDirObj = file(demoDir)
explodedWebAppDir = new File("${tomcatRoot}/webapps/${webAppName}")
if (explodedWebAppDir.exists() == true) {
if (demoDirObj.exists() == true) {
copy {
from(demoDir)
into "${explodedWebAppDir}/WEB-INF/classes/alfresco/module/org_alfresco_module_rm/${demoDir}"
}
}
}
else {
println "Exploded webapp directory ${explodedWebAppDir} does not exist."
}
}

View File

@@ -238,4 +238,7 @@
<!-- Import the RM webscript's --> <!-- Import the RM webscript's -->
<import resource="classpath:alfresco/module/org_alfresco_module_rm/rm-webscript-context.xml"/> <import resource="classpath:alfresco/module/org_alfresco_module_rm/rm-webscript-context.xml"/>
<!-- Import of installed demos -->
<import resource="classpath*:alfresco/module/org_alfresco_module_rm/demo/*/demo-context.xml"/>
</beans> </beans>

View File

@@ -6,3 +6,5 @@ warFile=alfresco.war
solrFile=alfresco-solr.zip solrFile=alfresco-solr.zip
tomcatEnv=TOMCAT_HOME tomcatEnv=TOMCAT_HOME
demo=customerservice

View File

@@ -51,10 +51,6 @@ public class FilePlanRoleServiceImplTest extends BaseRMTestCase
String allRolesGroup = filePlanRoleService.getAllRolesContainerGroup(filePlan); String allRolesGroup = filePlanRoleService.getAllRolesContainerGroup(filePlan);
assertNotNull(allRolesGroup); assertNotNull(allRolesGroup);
Set<String> allRoles = authorityService.getContainedAuthorities(AuthorityType.GROUP, allRolesGroup, true);
assertNotNull(allRoles);
assertTrue(allRoles.contains(filePlanRoleService.getRole(filePlan, ROLE_NAME_POWER_USER).getRoleGroupName()));
return null; return null;
} }
}); });