RM Unit Tests:

* Removed web script tests dependancy on DOD test data
  * refactor base RM test and placed common utils in common class
  * base rm web script class created
  * unit tests refactored (still some work on the older tests required)
  * junit conflict resolved

RM Bug Fixs:

  * user rights view working again
  * fix from Erik so RM admin console works



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@35190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2012-04-12 07:20:20 +00:00
parent f70eb812bc
commit e767ce187a
29 changed files with 784 additions and 2174 deletions

View File

@@ -49,7 +49,8 @@ public class FileableCapabilityCondition extends AbstractCapabilityCondition
@Override
public boolean evaluate(NodeRef nodeRef)
{
QName type = nodeService.getType(nodeRef);
QName type = nodeService.getType(nodeRef);
// TODO and not already a record?
return (dictionaryService.isSubClass(type, ContentModel.TYPE_CONTENT) ||
dictionaryService.isSubClass(type, TYPE_NON_ELECTRONIC_DOCUMENT));
}