Home
last modified time | relevance | path

Searched refs:TestHtmlConstants (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java504 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()
541 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate()
555 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences()
567 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
574 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
603 final String errorUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslError()
628 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed()
631 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testOnReceivedSslErrorProceed()
[all …]
DWebSettingsTest.java250 String fileUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessAllowFileAccess()
252 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
254 fileUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.BR_TAG_URL); in testAccessAllowFileAccess()
260 assertEquals(TestHtmlConstants.BR_TAG_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
263 mOnUiThread.loadUrlAndWaitForCompletion(TestHtmlConstants.LOCAL_FILESYSTEM_URL); in testAccessAllowFileAccess()
264 assertEquals(TestHtmlConstants.WEBPAGE_NOT_AVAILABLE_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
297 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheElseNetwork()
303 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheElseNetwork()
322 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_noCache()
328 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_noCache()
[all …]
DWebViewTest.java327 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()
332 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mWebView.getTitle()); in testLoadUrl()
335 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()
348 final String nonNetworkUrl = "file:///android_asset/" + TestHtmlConstants.HELLO_WORLD_URL; in testPostUrlWithNonNetworkUrl()
352 assertEquals("Non-network URL should have loaded", TestHtmlConstants.HELLO_WORLD_TITLE, in testPostUrlWithNonNetworkUrl()
362 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()
368 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()
402 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
410 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
425 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap()
[all …]
DWebHistoryItemTest.java96 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem()
111 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, item.getTitle()); in testWebHistoryItem()
115 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testWebHistoryItem()
121 assertEquals(TestHtmlConstants.BR_TAG_TITLE, item.getTitle()); in testWebHistoryItem()
DWebChromeClientTest.java95 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged()
114 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle()
124 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, webChromeClient.getPageTitle()); in testOnReceivedTitle()
146 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon()
172 getAssetUrl(TestHtmlConstants.JS_WINDOW_URL)); in runWindowTest()
245 mWebServer.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL)); in testOnJsBeforeUnloadIsCalled()
255 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testOnJsBeforeUnloadIsCalled()
273 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); in testOnJsAlert()
298 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); in testOnJsConfirm()
325 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); in testOnJsPrompt()
DWebBackForwardListTest.java70 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGetCurrentItem()
71 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); in testGetCurrentItem()
72 String url3 = server.getAssetUrl(TestHtmlConstants.HTML_URL3); in testGetCurrentItem()
DHttpAuthHandlerTest.java146 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in correctCredentialsAccessGranted()
154 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed()
166 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel()
181 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword()
DWebViewClientTest.java179 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow()
193 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow()
208 TestHtmlConstants.URL_IN_PAGE_WITH_LINK, childWebViewClient.getLastShouldOverrideUrl()); in testShouldOverrideUrlLoadingOnCreateWindow()
224 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage()
320 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource()
336 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError()
353 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission()
379 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testDoUpdateVisitedHistory()
380 String url2 = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testDoUpdateVisitedHistory()
400 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); in testOnReceivedHttpAuthRequest()
[all …]
DTestHtmlConstants.java22 public class TestHtmlConstants { class
DWebViewZoomTest.java116 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in setUpPage()