mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Start on Replication Service JS API unit tests (more still to test though) - ALF-4505
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,7 +33,12 @@ public class ScriptTestUtils extends BaseScopableProcessorExtension
|
||||
|
||||
public void assertEquals(Object expected, Object value, String message)
|
||||
{
|
||||
if (expected.equals(value) == false)
|
||||
if (expected == null && value == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ((expected == null && value != null) || expected.equals(value) == false)
|
||||
{
|
||||
if (message == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user