use of org.apache.http.client.methods.HttpTrace in project FastDev4Android by jiangqqlmj.
the class HttpClientStackTest method createTraceRequest.
@Test
public void createTraceRequest() throws Exception {
TestRequest.Trace request = new TestRequest.Trace();
assertEquals(request.getMethod(), Method.TRACE);
HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null);
assertTrue(httpRequest instanceof HttpTrace);
}
use of org.apache.http.client.methods.HttpTrace in project TaEmCasa by Dionen.
the class HttpClientStackTest method createTraceRequest.
@Test
public void createTraceRequest() throws Exception {
TestRequest.Trace request = new TestRequest.Trace();
assertEquals(request.getMethod(), Method.TRACE);
HttpUriRequest httpRequest = HttpClientStack.createHttpRequest(request, null);
assertTrue(httpRequest instanceof HttpTrace);
}
Aggregations