Searched refs:TestHtmlConstants (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 509 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate() 518 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate() 538 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate() 546 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testSecureSiteSetsCertificate() 560 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences() 572 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences() 579 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences() 608 final String errorUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslError() 633 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed() 636 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testOnReceivedSslErrorProceed() [all …]
|
D | WebSettingsTest.java | 266 String assetUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.BR_TAG_URL); in testAccessAllowFileAccess() 270 TestHtmlConstants.BR_TAG_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess() 307 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheElseNetwork() 313 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheElseNetwork() 332 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_noCache() 338 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_noCache() 356 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheOnly() 363 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode_cacheOnly() 517 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.POPUP_URL)); in testAccessJavaScriptCanOpenWindowsAutomatically() 528 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.POPUP_URL)); in testAccessJavaScriptCanOpenWindowsAutomatically() [all …]
|
D | WebHistoryItemTest.java | 96 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()
|
D | WebViewTest.java | 331 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl() 336 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mWebView.getTitle()); in testLoadUrl() 339 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testLoadUrl() 352 final String nonNetworkUrl = "file:///android_asset/" + TestHtmlConstants.HELLO_WORLD_URL; in testPostUrlWithNonNetworkUrl() 356 assertEquals("Non-network URL should have loaded", TestHtmlConstants.HELLO_WORLD_TITLE, in testPostUrlWithNonNetworkUrl() 366 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl() 372 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testPostUrlWithNetworkUrl() 406 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() 414 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL); in testAppInjectedXRequestedWithHeaderIsNotOverwritten() 429 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAppCanInjectHeadersViaImmutableMap() [all …]
|
D | WebChromeClientTest.java | 95 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()
|
D | WebBackForwardListTest.java | 70 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()
|
D | WebViewClientTest.java | 182 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow() 196 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow() 212 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_PAGE_URL), in testShouldOverrideUrlLoadingOnCreateWindow() 229 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage() 325 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource() 341 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError() 358 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission() 384 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testDoUpdateVisitedHistory() 385 String url2 = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testDoUpdateVisitedHistory() 405 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); in testOnReceivedHttpAuthRequest() [all …]
|
D | HttpAuthHandlerTest.java | 146 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()
|
D | TestHtmlConstants.java | 22 public class TestHtmlConstants { class
|
D | WebViewZoomTest.java | 117 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in setUpPage()
|