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:
parent
4908990207
commit
79c90bd159
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue