hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r943283 - in /httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl: TestCacheEntryGenerator.java TestCachingHttpClient.java
Date Tue, 11 May 2010 20:33:04 GMT
Author: sebb
Date: Tue May 11 20:33:03 2010
New Revision: 943283

URL: http://svn.apache.org/viewvc?rev=943283&view=rev
Log:
Exceptions not thrown

Modified:
    httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCacheEntryGenerator.java
    httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCacheEntryGenerator.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCacheEntryGenerator.java?rev=943283&r1=943282&r2=943283&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCacheEntryGenerator.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCacheEntryGenerator.java
Tue May 11 20:33:03 2010
@@ -26,7 +26,6 @@
  */
 package org.apache.http.client.cache.impl;
 
-import java.io.IOException;
 import java.util.Date;
 
 import org.apache.http.HttpEntity;
@@ -41,7 +40,7 @@ import org.junit.Test;
 public class TestCacheEntryGenerator {
 
     @Test
-    public void testEntryMatchesInputs() throws IOException {
+    public void testEntryMatchesInputs() {
 
         CacheEntryGenerator gen = new CacheEntryGenerator();
 

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java?rev=943283&r1=943282&r2=943283&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/impl/TestCachingHttpClient.java
Tue May 11 20:33:03 2010
@@ -1088,8 +1088,7 @@ public class TestCachingHttpClient {
         mockCache.putEntry(theURI, entry);
     }
 
-    private void generateCacheEntry(Date requestDate, Date responseDate, byte[] bytes)
-            throws IOException {
+    private void generateCacheEntry(Date requestDate, Date responseDate, byte[] bytes) {
         org.easymock.EasyMock.expect(
                 mockEntryGenerator.generateEntry(requestDate, responseDate, mockBackendResponse,
                                                  bytes)).andReturn(mockCacheEntry);



Mime
View raw message