mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/DEV/V4.0-BUG-FIX to HEAD
37628: Build Fix git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -819,6 +819,10 @@ public class SOLRTrackingComponentTest extends TestCase
|
||||
{
|
||||
expectedNumMetaDataNodes++;
|
||||
}
|
||||
if(nodeStatus == NodeStatus.DELETED)
|
||||
{
|
||||
expectedNumMetaDataNodes++;
|
||||
}
|
||||
|
||||
if(doChecks)
|
||||
{
|
||||
@@ -885,6 +889,9 @@ public class SOLRTrackingComponentTest extends TestCase
|
||||
Long nodeId = nodeMetaData.getNodeId();
|
||||
NodeRef nodeRef = nodeMetaData.getNodeRef();
|
||||
|
||||
if(nodeService.exists(nodeRef))
|
||||
{
|
||||
|
||||
Set<QName> aspects = nodeMetaData.getAspects();
|
||||
Set<QName> actualAspects = nodeService.getAspects(nodeRef);
|
||||
assertEquals("Aspects are incorrect", actualAspects, aspects);
|
||||
@@ -994,6 +1001,7 @@ public class SOLRTrackingComponentTest extends TestCase
|
||||
fail("Not expecting owner but got owner");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
successCount++;
|
||||
|
||||
|
Reference in New Issue
Block a user