hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1571526 - /httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/TestHttpCacheEntry.java
Date Tue, 25 Feb 2014 01:53:37 GMT
Author: sebb
Date: Tue Feb 25 01:53:36 2014
New Revision: 1571526

URL: http://svn.apache.org/r1571526
Log:
Suppress unused warnings for ctor tests

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

Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/TestHttpCacheEntry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/TestHttpCacheEntry.java?rev=1571526&r1=1571525&r2=1571526&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/TestHttpCacheEntry.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/TestHttpCacheEntry.java
Tue Feb 25 01:53:36 2014
@@ -143,6 +143,7 @@ public class TestHttpCacheEntry {
         assertTrue(entry.hasVariants());
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void mustProvideRequestDate() {
         try {
@@ -153,6 +154,7 @@ public class TestHttpCacheEntry {
         }
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void mustProvideResponseDate() {
         try {
@@ -163,6 +165,7 @@ public class TestHttpCacheEntry {
         }
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void mustProvideStatusLine() {
         try {
@@ -173,6 +176,7 @@ public class TestHttpCacheEntry {
         }
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void mustProvideResponseHeaders() {
         try {
@@ -250,12 +254,14 @@ public class TestHttpCacheEntry {
         }
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void canConstructWithoutVariants() {
         new HttpCacheEntry(new Date(), new Date(), statusLine,
                 new Header[]{}, mockResource);
     }
 
+    @SuppressWarnings("unused")
     @Test
     public void canProvideVariantMap() {
         new HttpCacheEntry(new Date(), new Date(), statusLine,



Mime
View raw message