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.java535 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()
544 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()
564 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate()
572 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate()
584 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences()
598 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
606 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
633 final String errorUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslError()
656 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed()
659 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testOnReceivedSslErrorProceed()
[all …]
DWebSettingsTest.java289 String assetUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.BR_TAG_URL); in testAccessAllowFileAccess()
293 TestHtmlConstants.BR_TAG_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
326 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheElseNetwork()
332 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheElseNetwork()
349 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_noCache()
355 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_noCache()
371 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheOnly()
378 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheOnly()
514 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.POPUP_URL)); in testAccessJavaScriptCanOpenWindowsAutomatically()
526 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.POPUP_URL)); in testAccessJavaScriptCanOpenWindowsAutomatically()
[all …]
DWebHistoryItemTest.java133 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testWebHistoryItem()
148 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, item.getTitle()); in testWebHistoryItem()
152 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testWebHistoryItem()
158 assertEquals(TestHtmlConstants.BR_TAG_TITLE, item.getTitle()); in testWebHistoryItem()
DWebViewTest.java330 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl()
335 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mWebView.getTitle()); in testLoadUrl()
341 final String nonNetworkUrl = "file:///android_asset/" + TestHtmlConstants.HELLO_WORLD_URL; in testPostUrlWithNonNetworkUrl()
349 TestHtmlConstants.HELLO_WORLD_TITLE, in testPostUrlWithNonNetworkUrl()
358 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()
364 HttpRequest request = mWebServer.getLastAssetRequest(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl()
392 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
401 mWebServer.getLastAssetRequest(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten()
416 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap()
425 mWebServer.getLastAssetRequest(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap()
[all …]
DWebChromeClientTest.java129 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged()
146 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle()
156 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, webChromeClient.getPageTitle()); in testOnReceivedTitle()
176 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon()
202 getAssetUrl(TestHtmlConstants.JS_WINDOW_URL)); in runWindowTest()
266 mWebServer.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL)); in testOnJsBeforeUnloadIsCalled()
276 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testOnJsBeforeUnloadIsCalled()
292 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); in testOnJsAlert()
315 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); in testOnJsConfirm()
340 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); in testOnJsPrompt()
DWebBackForwardListTest.java100 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGetCurrentItem()
101 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); in testGetCurrentItem()
102 String url3 = server.getAssetUrl(TestHtmlConstants.HTML_URL3); in testGetCurrentItem()
DWebViewClientTest.java214 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow()
229 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow()
246 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_PAGE_URL), in testShouldOverrideUrlLoadingOnCreateWindow()
271 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage()
358 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource()
372 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError()
387 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission()
411 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testDoUpdateVisitedHistory()
412 String url2 = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testDoUpdateVisitedHistory()
430 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); in testOnReceivedHttpAuthRequest()
[all …]
DHttpAuthHandlerTest.java180 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in correctCredentialsAccessGranted()
185 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed()
194 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel()
206 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword()
DTestHtmlConstants.java22 public class TestHtmlConstants { class
DWebViewZoomTest.java139 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in setUpPage()