/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | LoadDataWithBaseUrlTest.java | 12 import org.chromium.android_webview.test.util.CommonResources; 94 webServer.setResponseBase64("/" + CommonResources.FAVICON_FILENAME, in testImageLoad() 95 CommonResources.FAVICON_DATA_BASE64, CommonResources.getImagePngHeaders(true)); in testImageLoad() 102 CommonResources.getOnImageLoadedHtml(CommonResources.FAVICON_FILENAME), in testImageLoad() 119 CommonResources.getTextJavascriptHeaders(true)); in testScriptLoad() 137 final String frameUrl = webServer.setResponse("/" + CommonResources.ABOUT_FILENAME, in testSameOrigin() 138 CommonResources.ABOUT_HTML, CommonResources.getTextHtmlHeaders(true)); in testSameOrigin() 156 final String frameUrl = webServer.setResponse("/" + CommonResources.ABOUT_FILENAME, in testCrossOrigin() 157 CommonResources.ABOUT_HTML, CommonResources.getTextHtmlHeaders(true)); in testCrossOrigin() 188 loadDataWithBaseUrlAsync(mAwContents, CommonResources.ABOUT_HTML, "text/html", false, in testloadDataWithBaseUrlCallsOnPageStarted() [all …]
|
D | NavigationHistoryTest.java | 10 import org.chromium.android_webview.test.util.CommonResources; 82 CommonResources.makeHtmlPageFrom( 85 CommonResources.getTextHtmlHeaders(false)); 90 CommonResources.makeHtmlPageFrom( 93 CommonResources.getTextHtmlHeaders(false)); 98 CommonResources.makeHtmlPageFrom( 101 CommonResources.getTextHtmlHeaders(false)); 206 mWebServer.setResponseBase64("/" + CommonResources.FAVICON_FILENAME, 207 CommonResources.FAVICON_DATA_BASE64, CommonResources.getImagePngHeaders(false)); 209 CommonResources.FAVICON_STATIC_HTML, null); [all …]
|
D | AwContentsClientFaviconTest.java | 14 import org.chromium.android_webview.test.util.CommonResources; 31 CommonResources.makeHtmlPageFrom( 40 CommonResources.makeHtmlPageFrom( 114 CommonResources.FAVICON_DATA_BASE64, CommonResources.getImagePngHeaders(true)); in testReceiveBasicFavicon() 116 CommonResources.getTextHtmlHeaders(true)); in testReceiveBasicFavicon() 141 CommonResources.getTextHtmlHeaders(true)); in testDoNotMakeRequestForFaviconAfter404() 164 CommonResources.getTextHtmlHeaders(true)); in testReceiveBasicTouchIconLinkRel()
|
D | AwContentsClientShouldInterceptRequestTest.java | 13 import org.chromium.android_webview.test.util.CommonResources; 131 return addPageToTestServer(webServer, "/" + CommonResources.ABOUT_FILENAME, in addAboutPageToTestServer() 132 CommonResources.ABOUT_HTML); in addAboutPageToTestServer() 182 assertEquals(CommonResources.ABOUT_TITLE, getTitleOnUiThread(mAwContents)); in testCalledWithCorrectUrlParam() 190 CommonResources.makeHtmlPageFrom("", in testCalledWithCorrectIsMainFrameParam() 208 CommonResources.makeHtmlPageWithSimplePostFormTo(pageToPostToUrl)); in testCalledWithCorrectMethodParam() 230 CommonResources.makeHtmlPageWithSimpleLinkTo(aboutPageUrl)); in testCalledWithCorrectHasUserGestureParam() 253 CommonResources.ABOUT_HTML); in testCalledWithCorrectHeadersParam() 255 CommonResources.makeHtmlPageFrom("", in testCalledWithCorrectHeadersParam() 580 return CommonResources.makeHtmlPageFrom("<title>" + title + "</title>", in makePageWithTitle() [all …]
|
D | AwContentsClientShouldOverrideUrlLoadingTest.java | 11 import org.chromium.android_webview.test.util.CommonResources; 72 return CommonResources.makeHtmlPageFrom(getTestPageCommonHeaders() + headers, body); in makeHtmlPageFrom() 127 CommonResources.makeHtmlPageWithSimpleLinkTo(DATA_URL), "text/html", false); in testNotCalledOnLoadUrl() 155 CommonResources.makeHtmlPageFrom("<title>" + title + "</title>", ""), in testNotCalledOnBackForwardNavigation() 210 CommonResources.makeHtmlPageWithSimpleLinkTo(getTestPageCommonHeaders(), in testCantBlockLoads() 228 CommonResources.makeHtmlPageWithSimpleLinkTo(DATA_URL), "text/html", false); in testCalledBeforeOnPageStarted() 253 CommonResources.makeHtmlPageWithSimpleLinkTo(DATA_URL), "text/html", false); in testDoesNotCauseOnReceivedError() 295 CommonResources.makeHtmlPageWithSimpleLinkTo(anchorLinkUrl + "#anchor")); in doTestNotCalledForAnchorNavigations() 299 CommonResources.makeHtmlPageWithSimpleLinkTo("#anchor"), "text/html", false); in doTestNotCalledForAnchorNavigations() 329 CommonResources.makeHtmlPageWithSimpleLinkTo(DATA_URL), "text/html", false); in testCalledWhenLinkClicked() [all …]
|
D | WebKitHitTestTest.java | 17 import org.chromium.android_webview.test.util.CommonResources; 61 return CommonResources.makeHtmlPageFrom("", "<a class=\"full_view\" href=\"" + in fullPageLink() 282 String page = CommonResources.makeHtmlPageFrom("", "<a class=\"full_view\" href=\"" + in srcImgeAnchorTypeTestBody() 308 String page = CommonResources.makeHtmlPageFrom("", "<a class=\"full_view\" href=\"" + in srcImgeAnchorTypeRelativeUrlTestBody() 334 String page = CommonResources.makeHtmlPageFrom("", in testImgeType() 343 String page = CommonResources.makeHtmlPageFrom("", in editTextTypeTestBody() 394 String page = CommonResources.makeHtmlPageFrom( in testUnknownTypeUnrecognizedNode() 418 String html = CommonResources.makeHtmlPageFrom( in testUnfocusedNodeAndTouchRace()
|
D | AndroidViewIntegrationTest.java | 15 import org.chromium.android_webview.test.util.CommonResources; 151 loadUrlAsync(testContainerView.getAwContents(), CommonResources.ABOUT_HTML); 173 loadUrlAsync(testContainerView.getAwContents(), CommonResources.ABOUT_HTML); 199 loadUrlAsync(testContainerView.getAwContents(), CommonResources.ABOUT_HTML); 209 return CommonResources.makeHtmlPageFrom( 284 final String htmlData = CommonResources.makeHtmlPageFrom(
|
D | LoadUrlTest.java | 14 import org.chromium.android_webview.test.util.CommonResources; 148 final String imagePath = "/" + CommonResources.FAVICON_FILENAME; in testLoadUrlWithExtraHeaders() 150 CommonResources.FAVICON_DATA_BASE64, CommonResources.getImagePngHeaders(true)); in testLoadUrlWithExtraHeaders() 154 CommonResources.getOnImageLoadedHtml(CommonResources.FAVICON_FILENAME), in testLoadUrlWithExtraHeaders()
|
D | AwContentsClientOnScaleChangedTest.java | 10 import org.chromium.android_webview.test.util.CommonResources; 38 CommonResources.ABOUT_HTML, "text/html", false); in testScaleUp()
|
D | AwContentsTest.java | 23 import org.chromium.android_webview.test.util.CommonResources; 60 mContentsClient.getOnPageFinishedHelper(), CommonResources.ABOUT_HTML); in testCreateLoadPageDestroy() 146 mContentsClient.getOnPageFinishedHelper(), CommonResources.ABOUT_HTML); in testUseAwSettingsAfterDestroy() 287 "/" + CommonResources.FAVICON_FILENAME, CommonResources.FAVICON_DATA_BASE64, in testGetFavicon() 288 CommonResources.getImagePngHeaders(false)); in testGetFavicon() 290 CommonResources.FAVICON_STATIC_HTML, null); in testGetFavicon()
|
D | CookieManagerStartupTest.java | 15 import org.chromium.android_webview.test.util.CommonResources; 68 String url = webServer.setResponse(path, CommonResources.ABOUT_HTML, null); in testStartup()
|
D | MediaAccessPermissionRequestTest.java | 11 import org.chromium.android_webview.test.util.CommonResources; 63 CommonResources.getTextHtmlHeaders(true)); in setUp()
|
D | SaveRestoreStateTest.java | 11 import org.chromium.android_webview.test.util.CommonResources; 80 String html = CommonResources.makeHtmlPageFrom( in setServerResponseAndLoad()
|
D | ClientOnPageFinishedTest.java | 10 import org.chromium.android_webview.test.util.CommonResources; 261 final String testHtml = CommonResources.makeHtmlPageFrom("", in doTestOnPageFinishedCalledForHrefNavigations()
|
D | AndroidScrollIntegrationTest.java | 15 import org.chromium.android_webview.test.util.CommonResources; 170 return CommonResources.makeHtmlPageFrom(TEST_PAGE_COMMON_HEADERS, content); 569 CommonResources.makeHtmlPageFrom(pageHeaders, TEST_PAGE_COMMON_CONTENT),
|
D | AwSettingsTest.java | 28 import org.chromium.android_webview.test.util.CommonResources; 2005 CommonResources.getImagePngHeaders(true)); in testBlockNetworkLoadsWithHttpResources() 2347 CommonResources.getContentTypeAndCacheHeaders("text/cache-manifest", false)); in ManifestTestHelper() 2786 httpServer.setResponseBase64(IMG_URL, CommonResources.FAVICON_DATA_BASE64, null); in testAllowMixedMode()
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
D | ImagePageGenerator.java | 46 return CommonResources.getOnImageLoadedHtml(imageSrc); in getPageTemplateSource() 60 CommonResources.getImagePngHeaders(false)); in getPageUrl()
|
D | VideoTestWebServer.java | 61 return CommonResources.getContentTypeAndCacheHeaders("video/webm", disableCache); in getWebmHeaders() 65 return CommonResources.getContentTypeAndCacheHeaders("text/html", disableCache); in getHTMLHeaders()
|
D | CommonResources.java | 15 public class CommonResources { class
|