hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1494755 [4/4] - in /httpcomponents/httpclient/trunk/httpclient-cache: ./ src/test/java/org/apache/http/impl/client/cache/
Date Wed, 19 Jun 2013 19:50:03 GMT
Modified: httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/TestRFC5861Compliance.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/TestRFC5861Compliance.java?rev=1494755&r1=1494754&r2=1494755&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/TestRFC5861Compliance.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-cache/src/test/java/org/apache/http/impl/client/cache/TestRFC5861Compliance.java
Wed Jun 19 19:50:02 2013
@@ -82,8 +82,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         HttpTestUtils.assert110WarningFound(result);
@@ -110,8 +110,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertTrue(cis.wasClosed());
@@ -133,8 +133,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertTrue(HttpStatus.SC_OK != result.getStatusLine().getStatusCode());
@@ -157,8 +157,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertTrue(HttpStatus.SC_OK != result.getStatusLine().getStatusCode());
@@ -184,8 +184,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         HttpTestUtils.assert110WarningFound(result);
@@ -208,8 +208,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertTrue(HttpStatus.SC_OK != result.getStatusLine().getStatusCode());
@@ -232,8 +232,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         HttpTestUtils.assert110WarningFound(result);
@@ -256,8 +256,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_INTERNAL_SERVER_ERROR,
@@ -282,8 +282,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route,req1);
-        final HttpResponse result = impl.execute(route,req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_INTERNAL_SERVER_ERROR,
@@ -324,8 +324,8 @@ public class TestRFC5861Compliance exten
                 new BasicHttpRequest("GET", "/", HttpVersion.HTTP_1_1));
 
         replayMocks();
-        impl.execute(route, req1);
-        final HttpResponse result = impl.execute(route, req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_OK, result.getStatusLine().getStatusCode());
@@ -369,8 +369,8 @@ public class TestRFC5861Compliance exten
         req2.setHeader("If-None-Match","\"etag\"");
 
         replayMocks();
-        impl.execute(route, req1);
-        final HttpResponse result = impl.execute(route, req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_NOT_MODIFIED, result.getStatusLine().getStatusCode());
@@ -420,8 +420,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route, req1);
-        final HttpResponse result = impl.execute(route, req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_OK, result.getStatusLine().getStatusCode());
@@ -471,8 +471,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route, req1);
-        final HttpResponse result = impl.execute(route, req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_OK, result.getStatusLine().getStatusCode());
@@ -523,8 +523,8 @@ public class TestRFC5861Compliance exten
         backendExpectsAnyRequestAndReturn(resp2);
 
         replayMocks();
-        impl.execute(route, req1);
-        final HttpResponse result = impl.execute(route, req2);
+        impl.execute(route, req1, context, null);
+        final HttpResponse result = impl.execute(route, req2, context, null);
         verifyMocks();
 
         assertEquals(HttpStatus.SC_OK, result.getStatusLine().getStatusCode());



Mime
View raw message