You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2014/02/25 02:53:37 UTC
svn commit: r1571526 -
/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/client/cache/TestHttpCacheEntry.java
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,