Searched refs:mMockConnection (Results 1 – 1 of 1) sorted by relevance
33 private MockHttpURLConnection mMockConnection; field in HurlStackTest36 mMockConnection = new MockHttpURLConnection(); in setUp()43 HurlStack.setConnectionParametersForRequest(mMockConnection, request); in connectionForDeprecatedGetRequest()44 assertEquals("GET", mMockConnection.getRequestMethod()); in connectionForDeprecatedGetRequest()45 assertFalse(mMockConnection.getDoOutput()); in connectionForDeprecatedGetRequest()52 HurlStack.setConnectionParametersForRequest(mMockConnection, request); in connectionForDeprecatedPostRequest()53 assertEquals("POST", mMockConnection.getRequestMethod()); in connectionForDeprecatedPostRequest()54 assertTrue(mMockConnection.getDoOutput()); in connectionForDeprecatedPostRequest()61 HurlStack.setConnectionParametersForRequest(mMockConnection, request); in connectionForGetRequest()62 assertEquals("GET", mMockConnection.getRequestMethod()); in connectionForGetRequest()[all …]