chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1681761 - /chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
Date Tue, 26 May 2015 13:56:21 GMT
Author: fmui
Date: Tue May 26 13:56:21 2015
New Revision: 1681761

URL: http://svn.apache.org/r1681761
Log:
CMIS-915: TCK: changed ACL exact flag check (failure -> warning)

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java?rev=1681761&r1=1681760&r2=1681761&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
Tue May 26 13:56:21 2015
@@ -1327,10 +1327,9 @@ public abstract class AbstractSessionTes
                 }
             }
 
-            if (checkExact) {
-                f = createResult(FAILURE, "ACL is provided but the isExact flag is not set!");
-                addResult(results, assertNotNull(acl.isExact(), null, f));
-            }
+            CmisTestResultStatus status = checkExact ? WARNING : INFO;
+            f = createResult(status, "ACL is provided but the isExact flag is not set!");
+            addResult(results, assertNotNull(acl.isExact(), null, f));
         }
 
         CmisTestResultImpl result = createResult(getWorst(results), message);



Mime
View raw message