Search in sources :

Example 1 with OkHttpClientTestRule

use of okhttp3.OkHttpClientTestRule in project okhttp by square.

the class WebSocketHttpTest method configureClientTestRule.

private OkHttpClientTestRule configureClientTestRule() {
    OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule();
    clientTestRule.setRecordTaskRunner(true);
    return clientTestRule;
}
Also used : OkHttpClientTestRule(okhttp3.OkHttpClientTestRule)

Aggregations

OkHttpClientTestRule (okhttp3.OkHttpClientTestRule)1