MNT-16375 "CMISChangelog auditing enablement impacts CMIS connection if quantity records are excessive" replace use of template.select with template.selectList (to prevent MySQL streaming exceptions), fix up affected client classes, and add extra AuditDAOTests around audit query fromId, toId, fromTime, toTime and maxResults

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2016-08-09 16:02:19 +00:00
parent 02ef5d3156
commit e559032bf9
7 changed files with 370 additions and 171 deletions

View File

@@ -176,7 +176,7 @@ public class AuditMethodInterceptorTest extends TestCase
params.setApplicationName(APPLICATION_NAME);
rowCount.setValue(0);
auditComponent.auditQuery(callback, params, -1);
auditComponent.auditQuery(callback, params, Integer.MAX_VALUE);
assertEquals("There should be one audit entry.", 1, rowCount.intValue());
assertTrue("The requested nodeRef should be in the audit entry.",