chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1028662 - in /incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck: ./ src/main/java/org/apache/chemistry/opencmis/tck/impl/ src/main/java/org/apache/chemistry/opencmis/tck/runner/
Date Fri, 29 Oct 2010 09:50:50 GMT
Author: fmui
Date: Fri Oct 29 09:50:50 2010
New Revision: 1028662

URL: http://svn.apache.org/viewvc?rev=1028662&view=rev
Log:
- fixed a TCK test bug
- removed Java 6 dependency from TCK

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/pom.xml
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/runner/AbstractRunner.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/pom.xml
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/pom.xml?rev=1028662&r1=1028661&r2=1028662&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/pom.xml
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/pom.xml
Fri Oct 29 09:50:50 2010
@@ -30,7 +30,7 @@
         <dependency>
             <groupId>org.apache.chemistry.opencmis</groupId>
             <artifactId>chemistry-opencmis-client-impl</artifactId>
-            <version>0.2.0-incubating-SNAPSHOT</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>org.apache.ant</groupId>

Modified: incubator/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/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java?rev=1028662&r1=1028661&r2=1028662&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/impl/AbstractSessionTest.java
Fri Oct 29 09:50:50 2010
@@ -486,7 +486,7 @@ public abstract class AbstractSessionTes
             addResult(results, cpd.check(type));
 
             // cmis:objectTypeId
-            cpd = new CmisPropertyDefintion(PropertyIds.OBJECT_TYPE_ID, true, PropertyType.ID,
Cardinality.SINGLE,
+            cpd = new CmisPropertyDefintion(PropertyIds.OBJECT_TYPE_ID, false, PropertyType.ID,
Cardinality.SINGLE,
                     Updatability.ONCREATE, null, null);
             addResult(results, cpd.check(type));
 

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/runner/AbstractRunner.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/runner/AbstractRunner.java?rev=1028662&r1=1028661&r2=1028662&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/runner/AbstractRunner.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/runner/AbstractRunner.java
Fri Oct 29 09:50:50 2010
@@ -52,12 +52,12 @@ public abstract class AbstractRunner {
         }
 
         // override with system properties
-        for (String key : System.getProperties().stringPropertyNames()) {
-            if (!key.startsWith(OVERRIDE_KEY)) {
+        for (Object key : System.getProperties().keySet()) {
+            if (!key.toString().startsWith(OVERRIDE_KEY)) {
                 continue;
             }
 
-            parameters.put(key, System.getProperties().getProperty(key));
+            parameters.put(key.toString(), System.getProperties().getProperty(key.toString()));
         }
 
     }



Mime
View raw message