use of com.android.volley.toolbox.HttpClientStack.HttpPatch in project iosched by google.
the class HttpClientStackTest method testCreatePatchRequest.
public void testCreatePatchRequest() throws Exception {
TestRequest.Patch request = new TestRequest.Patch();
assertEquals(request.getMethod(), Method.PATCH);
HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null);
assertTrue(httpRequest instanceof HttpPatch);
}
use of com.android.volley.toolbox.HttpClientStack.HttpPatch in project TaEmCasa by Dionen.
the class HttpClientStackTest method createPatchRequestWithBody.
@Test
public void createPatchRequestWithBody() throws Exception {
TestRequest.PatchWithBody request = new TestRequest.PatchWithBody();
assertEquals(request.getMethod(), Method.PATCH);
HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null);
assertTrue(httpRequest instanceof HttpPatch);
}
use of com.android.volley.toolbox.HttpClientStack.HttpPatch in project TaEmCasa by Dionen.
the class HttpClientStackTest method createPatchRequest.
@Test
public void createPatchRequest() throws Exception {
TestRequest.Patch request = new TestRequest.Patch();
assertEquals(request.getMethod(), Method.PATCH);
HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null);
assertTrue(httpRequest instanceof HttpPatch);
}
Aggregations