Oops - Cannot use top level EasyMock for everything.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571432 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2014-02-24 20:46:49 +00:00
parent 4908990207
commit 79c90bd159
6 changed files with 10 additions and 10 deletions

View File

@ -41,11 +41,11 @@ import org.apache.http.client.methods.HttpRequestWrapper;
import org.apache.http.client.protocol.HttpClientContext;
import org.apache.http.conn.routing.HttpRoute;
import org.apache.http.message.BasicHeader;
import org.easymock.EasyMock;
import org.easymock.classextension.EasyMock;
import org.junit.Before;
import org.junit.Test;
@SuppressWarnings("boxing") // test code
@SuppressWarnings({"boxing","static-access"}) // test code
public class TestAsynchronousValidationRequest {
private AsynchronousValidator mockParent;

View File

@ -42,12 +42,12 @@ import org.apache.http.client.protocol.HttpClientContext;
import org.apache.http.conn.routing.HttpRoute;
import org.apache.http.message.BasicHeader;
import org.easymock.Capture;
import org.easymock.EasyMock;
import org.easymock.classextension.EasyMock;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@SuppressWarnings("boxing") // test code
@SuppressWarnings({"boxing","static-access"}) // test code
public class TestAsynchronousValidator {
private AsynchronousValidator impl;

View File

@ -34,12 +34,12 @@ import org.apache.http.client.cache.HttpCacheEntry;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.message.BasicHeader;
import org.apache.http.message.BasicHttpRequest;
import org.easymock.EasyMock;
import org.easymock.classextension.EasyMock;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@SuppressWarnings("boxing") // this is test code
@SuppressWarnings({"boxing","static-access"}) // this is test code
public class TestCacheKeyGenerator {
private static final BasicHttpRequest REQUEST_FULL_EPISODES = new BasicHttpRequest("GET",

View File

@ -33,12 +33,12 @@ import org.apache.http.HttpResponse;
import org.apache.http.client.cache.HttpCacheEntry;
import org.apache.http.client.utils.DateUtils;
import org.apache.http.message.BasicHeader;
import org.easymock.EasyMock;
import org.easymock.classextension.EasyMock;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
@SuppressWarnings("boxing") // test code
@SuppressWarnings({"boxing","static-access"}) // test code
public class TestCachedHttpResponseGenerator {
private HttpCacheEntry entry;

View File

@ -36,7 +36,7 @@ import org.apache.http.client.cache.HttpCacheEntry;
import org.apache.http.client.utils.DateUtils;
import org.apache.http.message.BasicHeader;
import org.apache.http.message.BasicHttpRequest;
import org.easymock.EasyMock;
import org.easymock.classextension.EasyMock;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

View File

@ -26,7 +26,7 @@
*/
package org.apache.http.impl.client.cache;
import org.easymock.EasyMock;
import org.easymock.classextension.EasyMock;
import org.junit.Before;
import org.junit.Test;