You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by dc...@apache.org on 2010/03/29 19:43:57 UTC
svn commit: r928847 -
/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/VersionsTest.java
Author: dcaruana
Date: Mon Mar 29 17:43:57 2010
New Revision: 928847
URL: http://svn.apache.org/viewvc?rev=928847&view=rev
Log:
Re-enable test for update of name on checkout/checkin in Versions TCK test.
Modified:
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/VersionsTest.java
Modified: incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/VersionsTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/VersionsTest.java?rev=928847&r1=928846&r2=928847&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/VersionsTest.java (original)
+++ incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/VersionsTest.java Mon Mar 29 17:43:57 2010
@@ -243,9 +243,7 @@ public class VersionsTest extends TCKTes
// test checked-in doc has new updates
Entry checkedIn = model.parseEntry(new StringReader(checkinResXML), null);
Entry updatedDoc = client.getEntry(checkedIn.getSelfLink().getHref());
- // TODO: issue with updating name on PWC and it not reflecting on
- // checked-in document
- // Assert.assertEquals("Updated Title " + guid, updatedDoc.getTitle());
+ Assert.assertEquals("Updated Title " + guid, updatedDoc.getTitle());
Assert.assertEquals("text/plain", updatedDoc.getContentMimeType().toString());
Response updatedContentRes = client.executeRequest(new GetRequest(updatedDoc.getContentSrc().toString()), 200);
Assert.assertEquals("updated content " + guid, updatedContentRes.getContentAsString());