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 …]
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 …]
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()
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()331 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()339 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()366 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()[all …]
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 …]
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()
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()
92 private CtsTestServer mWebServer; field in DownloadManagerTestBase98 mWebServer = new CtsTestServer(mContext); in setUp()104 mWebServer.shutdown(); in tearDown()324 return Uri.parse(mWebServer.getTestDownloadUrl("cts-good-download", 0)); in getGoodUrl()328 return Uri.parse(mWebServer.getBaseUri() + "/nosuchurl"); in getBadUrl()332 return Uri.parse(mWebServer.getTestDownloadUrl("cts-minimum-download", in getMinimumDownloadUrl()337 return Uri.parse(mWebServer.getAssetUrl(asset)); in getAssetUrl()