mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: Policy refactor
* moved policy implementations out of RMEntryVoter and into separate classes * rather than being a hard coded list, policies are now registered via spring allowing others to be easily added * re-arrange some of the support implementation * RMEntryVoter is now significantly smaller and most of the logic that was once encapsulated in here is spread over supporting classes and services * TODO .. need to review policies and determine which are appropraite .. much easier to do now! git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48815 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -178,7 +178,7 @@ public class CapabilityServiceImplTest extends BaseRMTestCase
|
||||
assertNotNull(vitalRecordCapabilities);
|
||||
|
||||
vitalRecordCapabilitiesSize = vitalRecordCapabilities.size();
|
||||
assertEquals(1, vitalRecordCapabilitiesSize);
|
||||
assertTrue(vitalRecordCapabilitiesSize > 0);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user