Searched refs:mWebServer (Results 1 – 10 of 10) sorted by relevance
431 private CtsTestServer mWebServer; field in WebViewSslTest464 if (mWebServer != null) { in tearDown()471 assertNull(mWebServer); in startWebServer()472 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()476 assertNotNull(mWebServer); in stopWebServer()482 mWebServer.shutdown(); in stopWebServer()483 mWebServer = null; in stopWebServer()504 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()513 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()533 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate()[all …]
39 private CtsTestServer mWebServer; field in HttpAuthHandlerTest61 if (mWebServer != null) { in tearDown()62 mWebServer.shutdown(); in tearDown()153 mWebServer = new CtsTestServer(getActivity()); in testProceed()154 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed()165 mWebServer = new CtsTestServer(getActivity()); in testCancel()166 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel()180 mWebServer = new CtsTestServer(getActivity()); in testUseHttpAuthUsernamePassword()181 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword()
58 private CtsTestServer mWebServer; field in WebViewClientTest97 if (mWebServer != null) { in tearDown()98 mWebServer.shutdown(); in tearDown()149 mWebServer = new CtsTestServer(getActivity()); in testShouldOverrideUrlLoadingOnCreateWindow()179 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow()193 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow()223 mWebServer = new CtsTestServer(getActivity()); in testLoadPage()224 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage()317 mWebServer = new CtsTestServer(getActivity()); in testOnReceivedErrorForSubresource()320 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource()[all …]
34 private CtsTestServer mWebServer; field in WebHistoryItemTest60 mWebServer = new CtsTestServer(getActivity()); in setUp()72 mWebServer.shutdown(); in tearDown()96 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem()115 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testWebHistoryItem()
52 private CtsTestServer mWebServer; field in WebChromeClientTest69 mWebServer = new CtsTestServer(getActivity()); in setUp()77 if (mWebServer != null) { in tearDown()78 mWebServer.shutdown(); in tearDown()95 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged()114 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle()146 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon()171 mOnUiThread.loadUrlAndWaitForCompletion(mWebServer. in runWindowTest()245 mWebServer.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL)); in testOnJsBeforeUnloadIsCalled()255 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testOnJsBeforeUnloadIsCalled()[all …]
158 private CtsTestServer mWebServer; field in WebViewTest192 if (mWebServer != null) { in tearDown()204 assertNull(mWebServer); in startWebServer()205 mWebServer = new CtsTestServer(getActivity(), secure); in startWebServer()209 assertNotNull(mWebServer); in stopWebServer()215 mWebServer.shutdown(); in stopWebServer()216 mWebServer = null; in stopWebServer()327 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()335 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()362 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()[all …]
50 private CtsTestServer mWebServer; field in WebViewZoomTest91 if (mWebServer != null) { in tearDown()98 assertNotNull(mWebServer); in stopWebServer()104 mWebServer.shutdown(); in stopWebServer()105 mWebServer = null; in stopWebServer()111 assertNull(mWebServer); in setUpPage()114 mWebServer = new CtsTestServer(getActivity(), CtsTestServer.SslMode.TRUST_ANY_CLIENT); in setUpPage()116 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in setUpPage()
86 private CtsTestServer mWebServer; field in WebSettingsTest107 if (mWebServer != null) { in tearDown()108 mWebServer.shutdown(); in tearDown()213 String url = mWebServer.getUserAgentUrl(); in testAccessUserAgentString()296 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()299 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()305 int requestCountAfterSecondLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()321 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()324 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()330 int requestCountAfterSecondLoad = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()[all …]
41 private CtsTestServer mWebServer; field in ApacheHttpClientTest46 mWebServer = new CtsTestServer(mContext); in setUp()52 mWebServer.shutdown(); in tearDown()74 return Uri.parse(mWebServer.getTestDownloadUrl("cts-small-download-" + index, in getSmallDownloadUrl()
76 private CtsTestServer mWebServer; field in DownloadManagerTestBase82 mWebServer = new CtsTestServer(mContext); in setUp()88 mWebServer.shutdown(); in tearDown()264 return Uri.parse(mWebServer.getTestDownloadUrl("cts-good-download", 0)); in getGoodUrl()268 return Uri.parse(mWebServer.getBaseUri() + "/nosuchurl"); in getBadUrl()272 return Uri.parse(mWebServer.getTestDownloadUrl("cts-minimum-download", in getMinimumDownloadUrl()277 return Uri.parse(mWebServer.getAssetUrl(asset)); in getAssetUrl()