abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r620311 - /incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/protocol/server/test/basic/BasicTest.java
Date Sun, 10 Feb 2008 19:20:33 GMT
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();



Mime
View raw message