Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java503 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testInsecureSiteClearsCertificate()
512 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()
556 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testClearSslPreferences()
568 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
575 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testClearSslPreferences()
604 final String errorUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslError()
629 final String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedSslErrorProceed()
632 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testOnReceivedSslErrorProceed()
[all …]
DWebSettingsTest.java189 String fileUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessAllowFileAccess()
191 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
193 fileUrl = TestHtmlConstants.getFileUrl(TestHtmlConstants.BR_TAG_URL); in testAccessAllowFileAccess()
199 assertEquals(TestHtmlConstants.BR_TAG_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
202 mOnUiThread.loadUrlAndWaitForCompletion(TestHtmlConstants.LOCAL_FILESYSTEM_URL); in testAccessAllowFileAccess()
203 assertEquals(TestHtmlConstants.WEBPAGE_NOT_AVAILABLE_TITLE, mOnUiThread.getTitle()); in testAccessAllowFileAccess()
227 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode()
236 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode()
248 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode()
257 loadAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testAccessCacheMode()
[all …]
DWebChromeClientTest.java78 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnProgressChanged()
97 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedTitle()
107 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, webChromeClient.getPageTitle()); in testOnReceivedTitle()
132 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnReceivedIcon()
158 getAssetUrl(TestHtmlConstants.JS_WINDOW_URL)); in runWindowTest()
214 … mOnUiThread.loadUrlAndWaitForCompletion(mWebServer.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL)); in testOnJsBeforeUnloadIsCalled()
216 …mOnUiThread.loadUrlAndWaitForCompletion(mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testOnJsBeforeUnloadIsCalled()
239 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); in testOnJsAlert()
264 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); in testOnJsConfirm()
291 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); in testOnJsPrompt()
DWebViewTest.java300 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testInvokeZoomPicker()
318 mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL)); in testZoom()
482 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
487 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mWebView.getTitle());
490 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL);
503 final String nonNetworkUrl = "file:///android_asset/" + TestHtmlConstants.HELLO_WORLD_URL;
508 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mWebView.getTitle());
517 final String networkUrl = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
523 HttpRequest request = mWebServer.getLastRequest(TestHtmlConstants.HELLO_WORLD_URL);
557 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
[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()
DWebBackForwardListTest.java68 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); in testGetCurrentItem()
69 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); in testGetCurrentItem()
70 String url3 = server.getAssetUrl(TestHtmlConstants.HTML_URL3); in testGetCurrentItem()
DHttpAuthHandlerTest.java144 assertEquals(TestHtmlConstants.HELLO_WORLD_TITLE, mOnUiThread.getTitle()); in correctCredentialsAccessGranted()
152 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testProceed()
164 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testCancel()
179 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testUseHttpAuthUsernamePassword()
DWebViewClientTest.java147 mOnUiThread.loadUrl(mWebServer.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL)); in testShouldOverrideUrlLoadingOnCreateWindow()
155 assertEquals(mWebServer.getAssetUrl(TestHtmlConstants.PAGE_WITH_LINK_URL), in testShouldOverrideUrlLoadingOnCreateWindow()
191 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testLoadPage()
277 String url = mWebServer.getAssetUrl(TestHtmlConstants.BAD_IMAGE_PAGE_URL); in testOnReceivedErrorForSubresource()
293 String url = mWebServer.getAssetUrl(TestHtmlConstants.NON_EXISTENT_PAGE_URL); in testOnReceivedHttpError()
310 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); in testOnFormResubmission()
336 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testDoUpdateVisitedHistory()
337 String url2 = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); in testDoUpdateVisitedHistory()
357 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); in testOnReceivedHttpAuthRequest()
403 String url1 = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); in testOnScaleChanged()
DTestHtmlConstants.java22 public class TestHtmlConstants { class