use of com.android.volley.toolbox.HttpClientStack.HttpPatch in project FastDev4Android by jiangqqlmj.
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 android-volley by mcxiaoke.
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);
}
use of com.android.volley.toolbox.HttpClientStack.HttpPatch in project android-volley by mcxiaoke.
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 iosched by google.
the class HttpClientStackTest method testCreatePatchRequestWithBody.
public void testCreatePatchRequestWithBody() 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 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);
}
Aggregations