chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfermig...@apache.org
Subject svn commit: r920307 - in /incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client: TestAPPObjectFeedTreeReader.java TestServiceDocumentReader.java stax/TestPropertyIterator.java
Date Mon, 08 Mar 2010 12:58:47 GMT
Author: sfermigier
Date: Mon Mar  8 12:58:46 2010
New Revision: 920307

URL: http://svn.apache.org/viewvc?rev=920307&view=rev
Log:
Format for readability.


Modified:
    incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestAPPObjectFeedTreeReader.java
    incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestServiceDocumentReader.java
    incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/stax/TestPropertyIterator.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestAPPObjectFeedTreeReader.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestAPPObjectFeedTreeReader.java?rev=920307&r1=920306&r2=920307&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestAPPObjectFeedTreeReader.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestAPPObjectFeedTreeReader.java
Mon Mar  8 12:58:46 2010
@@ -69,11 +69,13 @@
         List<Tree<ObjectEntry>> list = new APPObjectFeedTreeReader().read(
                 getAPPContext(), is);
         assertEquals(2, list.size());
+
         Tree<ObjectEntry> tree = list.get(0);
         assertEquals(3, tree.size());
         assertEquals(1, tree.getChildren().size());
         assertEquals(2, tree.getChildren().get(0).size());
         assertEquals(1, tree.getChildren().get(0).getChildren().size());
+
         tree = list.get(1);
         assertEquals(3, tree.size());
         assertEquals(2, tree.getChildren().size());

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestServiceDocumentReader.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestServiceDocumentReader.java?rev=920307&r1=920306&r2=920307&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestServiceDocumentReader.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/TestServiceDocumentReader.java
Mon Mar  8 12:58:46 2010
@@ -44,9 +44,11 @@
         APPContext ctx = new APPContext(new APPRepositoryService("", null));
         List<APPRepository> repos = reader.read(ctx, is);
         assertEquals(1, repos.size());
+
         Repository repo = repos.get(0);
         assertEquals("test", repo.getId());
         assertEquals("testname", repo.getName());
+
         RepositoryInfo info = repo.getInfo();
         assertEquals("Repository test", info.getDescription());
         assertEquals("Apache Test", info.getVendorName());
@@ -56,10 +58,12 @@
         assertEquals("20091027-test", info.getLatestChangeLogToken());
         assertEquals("1.0-test", info.getVersionSupported());
         assertFalse(info.isChangeLogIncomplete());
+
         Set<BaseType> clbt = info.getChangeLogBaseTypes();
         Set<BaseType> clbtExpected = new HashSet<BaseType>(Arrays.asList(
                 BaseType.FOLDER, BaseType.DOCUMENT));
         assertEquals(clbtExpected, clbt);
+
         RepositoryCapabilities cap = info.getCapabilities();
         assertEquals(CapabilityACL.MANAGE, cap.getACLCapability());
         assertFalse(cap.isAllVersionsSearchable());

Modified: incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/stax/TestPropertyIterator.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/stax/TestPropertyIterator.java?rev=920307&r1=920306&r2=920307&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/stax/TestPropertyIterator.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-atompub-client/src/test/java/org/apache/chemistry/atompub/client/stax/TestPropertyIterator.java
Mon Mar  8 12:58:46 2010
@@ -27,9 +27,6 @@
 import org.apache.chemistry.CMIS;
 import org.apache.chemistry.xml.stax.StaxReader;
 
-/**
- *
- */
 public class TestPropertyIterator extends TestCase {
 
     public void testPropertyIterator() throws Exception {



Mime
View raw message