chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1407416 - /chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.java
Date Fri, 09 Nov 2012 10:36:19 GMT
Author: fmui
Date: Fri Nov  9 10:36:19 2012
New Revision: 1407416

URL: http://svn.apache.org/viewvc?rev=1407416&view=rev
Log:
fixed TCK Versioning Smoke test (PWC might not exist anymore after check-in)

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.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/tests/versioning/VersioningSmokeTest.java?rev=1407416&r1=1407415&r2=1407416&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-tck/src/main/java/org/apache/chemistry/opencmis/tck/tests/versioning/VersioningSmokeTest.java
Fri Nov  9 10:36:19 2012
@@ -81,9 +81,8 @@ public class VersioningSmokeTest extends
             checkCheckedOut(pwc);
 
             // check version series
-             addResult(checkVersionSeries(session,
-             pwc.getAllVersions(SELECT_ALL_NO_CACHE_OC), propertiesToCheck,
-             "Test version series after check out"));
+            addResult(checkVersionSeries(session, pwc.getAllVersions(SELECT_ALL_NO_CACHE_OC),
propertiesToCheck,
+                    "Test version series after check out"));
 
             // cancel checkout
             pwc.cancelCheckOut();
@@ -133,8 +132,7 @@ public class VersioningSmokeTest extends
             }
 
             // check version series
-            addResult(checkVersionSeries(session, pwc.getAllVersions(SELECT_ALL_NO_CACHE_OC),
propertiesToCheck,
-                    "Test version series after check in"));
+            addResult(checkVersionSeries(session, versions, propertiesToCheck, "Test version
series after check in"));
 
             // remove the document
             deleteObject(doc);



Mime
View raw message