You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2008/02/10 20:20:33 UTC
svn commit: r620311 -
/incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java
Author: jmsnell
Date: Sun Feb 10 11:20:32 2008
New Revision: 620311
URL: http://svn.apache.org/viewvc?rev=620311&view=rev
Log:
Per https://issues.apache.org/jira/browse/ABDERA-113
Modified:
incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java
Modified: incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java?rev=620311&r1=620310&r2=620311&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java (original)
+++ incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java Sun Feb 10 11:20:32 2008
@@ -86,6 +86,7 @@
assertNotNull(collection);
assertTrue(collection.acceptsEntry());
assertEquals(collection.getResolvedHref().toString(), "http://localhost:9002/sample");
+ resp.release();
}
@Test
public void testGetFeed() {
@@ -115,6 +116,7 @@
assertEquals(resp.getType(), ResponseType.SUCCESS);
assertEquals(resp.getStatus(), 201);
assertEquals(resp.getLocation().toString(), "http://localhost:9002/sample/foo");
+ resp.release();
resp = client.get("http://localhost:9002/sample");
Document<Feed> feed_doc = resp.getDocument();
Feed feed = feed_doc.getRoot();