hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1602396 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestDateUtils.java
Date Fri, 13 Jun 2014 12:01:21 GMT
Author: olegk
Date: Fri Jun 13 12:01:21 2014
New Revision: 1602396

URL: http://svn.apache.org/r1602396
Log:
Removed obsolete test case

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestDateUtils.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestDateUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestDateUtils.java?rev=1602396&r1=1602395&r2=1602396&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestDateUtils.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestDateUtils.java
Fri Jun 13 12:01:21 2014
@@ -30,7 +30,6 @@ package org.apache.http.client.utils;
 import java.util.Calendar;
 import java.util.Date;
 
-import org.apache.http.impl.cookie.DateParseException;
 import org.junit.Assert;
 import org.junit.Test;
 
@@ -138,10 +137,4 @@ public class TestDateUtils {
         Assert.assertEquals("Fri, 14 Oct 2005 00:00:00 GMT", DateUtils.formatDate(date, DateUtils.PATTERN_RFC1123));
     }
 
-    @SuppressWarnings("unused")
-    @Test
-    public void testConstructor() {
-        new DateParseException();
-        new DateParseException("Oppsie");
-    }
 }



Mime
View raw message