chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1222094 - /chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java
Date Thu, 22 Dec 2011 08:32:06 GMT
Author: jens
Date: Thu Dec 22 08:32:05 2011
New Revision: 1222094

URL: http://svn.apache.org/viewvc?rev=1222094&view=rev
Log:
re-enable versioning calls for SOAP binding

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java?rev=1222094&r1=1222093&r2=1222094&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-test/chemistry-opencmis-test-util/src/main/java/org/apache/chemistry/opencmis/util/specexamples/Main.java
Thu Dec 22 08:32:05 2011
@@ -109,9 +109,11 @@ public class Main {
     }
     
     public void run() {
+        LOG.debug("Generating spec examples for Binding: " + bindingType.value());
         // Repository Service:
         repositoryId = "A1";
         getRepositoryInfo();
+
         getRepositories();
         String docId = getTestDocId();
         String folderId = getTestFolderId();
@@ -133,18 +135,14 @@ public class Main {
         doQuery();
 
         // Versioning Service
-        if (bindingType != BindingType.WEBSERVICES) {
-            // currently there is a JAXB bug:
-            
-            String id2 = prepareVersionSeries("VersionedDocument", VERSIONED_TYPE, rootFolderId);
-            checkOut(id2);
-            checkIn(id2, true, "final version in series");
-            getAllVersions(id2);
-
-            // delete all generated objects
-            String[] ids = {id2};
-            cleanup(ids);
-        }
+        String id2 = prepareVersionSeries("VersionedDocument", VERSIONED_TYPE, rootFolderId);
+        checkOut(id2);
+        checkIn(id2, true, "final version in series");
+        getAllVersions(id2);
+
+        // delete all generated objects
+        String[] ids = {id2};
+        cleanup(ids);
 
         // collect all captured files and store them in a ZIP file
         String dirs[] = {BindingType.ATOMPUB.value(), BindingType.WEBSERVICES.value(), BindingType.BROWSER.value()
};        



Mime
View raw message