Boxing not usually important in test code; the EasyMock classes generate a lot of warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7e162182b3
commit
0b7d6186db
|
@ -45,6 +45,7 @@ import org.easymock.EasyMock;
|
|||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestAsynchronousValidationRequest {
|
||||
|
||||
private AsynchronousValidator mockParent;
|
||||
|
|
|
@ -38,6 +38,7 @@ import org.junit.Assert;
|
|||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestCachedHttpResponseGenerator {
|
||||
|
||||
private HttpCacheEntry entry;
|
||||
|
|
|
@ -70,6 +70,7 @@ import org.junit.Test;
|
|||
* and are expected to be a drop-in replacement. The test cases captured here
|
||||
* document the places where we differ from the HTTP RFC.
|
||||
*/
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestProtocolDeviations {
|
||||
|
||||
private static ProtocolVersion HTTP_1_1 = new ProtocolVersion("HTTP", 1, 1);
|
||||
|
|
|
@ -37,6 +37,7 @@ import org.mockito.Mockito;
|
|||
/**
|
||||
* Unit tests for {@link BasicAuthCache}.
|
||||
*/
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestBasicAuthCache {
|
||||
|
||||
@Test
|
||||
|
|
|
@ -42,6 +42,7 @@ import org.junit.Before;
|
|||
import org.junit.Test;
|
||||
|
||||
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestDefaultBackoffStrategy {
|
||||
|
||||
private DefaultBackoffStrategy impl;
|
||||
|
|
|
@ -58,6 +58,7 @@ import org.junit.After;
|
|||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestFutureRequestExecutionService {
|
||||
|
||||
private LocalTestServer localServer;
|
||||
|
|
|
@ -45,6 +45,7 @@ import org.mockito.Mockito;
|
|||
/**
|
||||
* Tests for {@link DefaultRoutePlanner}.
|
||||
*/
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestDefaultRoutePlanner {
|
||||
|
||||
private SchemePortResolver schemePortResolver;
|
||||
|
|
|
@ -50,6 +50,7 @@ import org.junit.Before;
|
|||
import org.junit.Test;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestHttpClientConnectionOperator {
|
||||
|
||||
private ManagedHttpClientConnection conn;
|
||||
|
|
|
@ -51,6 +51,7 @@ import org.mockito.Mockito;
|
|||
/**
|
||||
* Tests for {@link SystemDefaultRoutePlanner}.
|
||||
*/
|
||||
@SuppressWarnings("boxing") // test code
|
||||
public class TestSystemDefaultRoutePlanner {
|
||||
|
||||
private SchemePortResolver schemePortResolver;
|
||||
|
|
Loading…
Reference in New Issue