Search in sources :

Example 1 with HttpClientImpl

use of com.okta.oidc.net.HttpClientImpl in project okta-oidc-android by okta.

the class OktaTest method setUp.

@Before
public void setUp() throws Exception {
    mContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
    mStorage = new SharedPreferenceStorage(mContext);
    mHttpClient = new HttpClientImpl();
    mEncryptionManager = new EncryptionManagerStub();
    String url = new MockEndPoint().getUrl();
    mConfig = TestValues.getConfigWithUrl(url);
    tabColor = Color.BLACK;
    supportBrowsers = new String[] { "" };
}
Also used : SharedPreferenceStorage(com.okta.oidc.storage.SharedPreferenceStorage) MockEndPoint(com.okta.oidc.util.MockEndPoint) EncryptionManagerStub(com.okta.oidc.util.EncryptionManagerStub) HttpClientImpl(com.okta.oidc.net.HttpClientImpl) Before(org.junit.Before)

Aggregations

HttpClientImpl (com.okta.oidc.net.HttpClientImpl)1 SharedPreferenceStorage (com.okta.oidc.storage.SharedPreferenceStorage)1 EncryptionManagerStub (com.okta.oidc.util.EncryptionManagerStub)1 MockEndPoint (com.okta.oidc.util.MockEndPoint)1 Before (org.junit.Before)1