Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)

88603: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      88349: Merged DEV to V4.2-BUG-FIX (4.2.4)
         81057 : MNT-12098 : The cmis:description field should be queryable. 
            - Make cmis:description queryable
         82422 : MNT-12098 : The cmis:description field should be queryable. 
            - Fix related test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-01-31 10:00:29 +00:00
parent 659c7cfef4
commit 624e6e63f3

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
* Copyright (C) 2005-2014 Alfresco Software Limited.
*
* This file is part of Alfresco
*
@@ -3341,6 +3341,11 @@ public class OpenCmisQueryTest extends BaseCMISTest
testQuery("SELECT * FROM cmis:document WHERE cmis:name IS NULL", 0, false, "cmis:objectId", new String(), false);
}
public void testQueryableProperties() throws Exception
{
testQuery("SELECT * FROM cmis:document WHERE cmis:description LIKE '%Alfresco%'", 1, true, "cmis:name", new String(), false);
}
public void testObjectEquals()
{