OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mWebServer
(Results
1 - 18
of
18
) sorted by null
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
NavigationHistoryTest.java
34
private TestWebServer
mWebServer
;
45
mWebServer
= new TestWebServer(false);
50
mWebServer
.shutdown();
77
return
mWebServer
.setResponse(PAGE_1_PATH,
85
return
mWebServer
.setResponse(PAGE_2_PATH,
93
return
mWebServer
.setResponse(PAGE_2_PATH,
105
final String pageWithHashTagRedirectUrl = addPageWithHashTagRedirectToServer(
mWebServer
);
128
final String page1Url = addPage1ToServer(
mWebServer
);
129
final String page2Url = addPage2ToServer(
mWebServer
);
164
final String page1Url = addPage1ToServer(
mWebServer
);
[
all
...]
AwContentsClientFaviconTest.java
80
private TestWebServer
mWebServer
;
85
mWebServer
= new TestWebServer(false);
97
if (
mWebServer
!= null)
mWebServer
.shutdown();
106
final String faviconUrl =
mWebServer
.setResponseBase64(FAVICON1_URL,
108
final String pageUrl =
mWebServer
.setResponse(FAVICON1_PAGE_URL, FAVICON1_PAGE_HTML,
126
final String pageUrl =
mWebServer
.setResponse(TOUCHICON_REL_URL, TOUCHICON_REL_PAGE_HTML,
134
assertFalse(touchIcons.get(
mWebServer
.getBaseUrl() + TOUCHICON_REL_LINK));
135
assertFalse(touchIcons.get(
mWebServer
.getBaseUrl() + TOUCHICON_REL_LINK_72));
AwContentsClientShouldOverrideUrlLoadingTest.java
35
private TestWebServer
mWebServer
;
40
mWebServer
= new TestWebServer(false);
45
mWebServer
.shutdown();
303
final String anchorLinkUrl =
mWebServer
.getResponseUrl(anchorLinkPath);
304
addPageToTestServer(
mWebServer
, anchorLinkPath,
359
final String httpPathOnServer =
mWebServer
.getResponseUrl(httpPath);
360
addPageToTestServer(
mWebServer
, httpPath,
386
final String httpPathOnServer =
mWebServer
.getResponseUrl(httpPath);
387
addPageToTestServer(
mWebServer
, httpPath,
414
final String redirectTargetUrl = createRedirectTargetPage(
mWebServer
);
[
all
...]
AwContentsClientShouldInterceptRequestTest.java
127
private TestWebServer
mWebServer
;
142
mWebServer
= new TestWebServer(false);
147
mWebServer
.shutdown();
154
final String aboutPageUrl = addAboutPageToTestServer(
mWebServer
);
173
final String aboutPageUrl = addAboutPageToTestServer(
mWebServer
);
188
final String aboutPageUrl = addAboutPageToTestServer(
mWebServer
);
241
final String aboutPageUrl = addAboutPageToTestServer(
mWebServer
);
285
final String aboutPageUrl = addAboutPageToTestServer(
mWebServer
);
321
final String syncGetUrl =
mWebServer
.getResponseUrl("/intercept_me");
332
final String aboutPageUrl = addAboutPageToTestServer(
mWebServer
);
[
all
...]
AwQuotaManagerBridgeTest.java
28
private TestWebServer
mWebServer
;
37
mWebServer
= new TestWebServer(false);
38
mOrigin =
mWebServer
.getBaseUrl();
50
if (
mWebServer
!= null) {
51
mWebServer
.shutdown();
143
mWebServer
.setResponse(CACHED_FILE_PATH, CACHED_FILE_CONTENTS, null);
149
mWebServer
.setResponse(MANIFEST_PATH, MANIFEST_CONTENTS, manifestHeaders);
154
String url =
mWebServer
.setResponse(PAGE_PATH, PAGE_CONTENTS, null);
SaveRestoreStateTest.java
42
private TestWebServer
mWebServer
;
63
mWebServer
= new TestWebServer(false);
68
if (
mWebServer
!= null) {
69
mWebServer
.shutdown();
79
mUrls[i] =
mWebServer
.setResponse(PATHS[i], html, null);
WebKitHitTestTest.java
28
private TestWebServer
mWebServer
;
39
mWebServer
= new TestWebServer(false);
44
if (
mWebServer
!= null) {
45
mWebServer
.shutdown();
51
String url =
mWebServer
.setResponse("/hittest.html", response, null);
153
String fullpath =
mWebServer
.getResponseUrl("/hittest.html");
176
String fullpath =
mWebServer
.getResponseUrl(relpath);
266
String fullImageSrc =
mWebServer
.getResponseUrl(relImageSrc);
293
String fullImageSrc =
mWebServer
.getResponseUrl(relImageSrc);
379
String fullImageSrc =
mWebServer
.getResponseUrl(relImageSrc)
[
all
...]
AwSettingsTest.java
382
mWebServer
= webServer;
408
final String httpImageUrl = mGenerator.getPageUrl(
mWebServer
);
419
private TestWebServer
mWebServer
;
[
all
...]
/cts/tests/tests/security/src/android/security/cts/
BrowserTest.java
40
private CtsTestServer
mWebServer
;
45
mWebServer
= new CtsTestServer(mContext);
50
mWebServer
.shutdown();
86
0,
mWebServer
.getRequestCount());
131
0,
mWebServer
.getRequestCount());
144
String action = "\"" +
mWebServer
.getBaseUri() + "/\"";
148
mWebServer
.resetRequestState();
189
if (
mWebServer
.getRequestEntities().size() > 0) {
191
for (HttpEntity entity :
mWebServer
.getRequestEntities()) {
217
String localServerUri =
mWebServer
.getBaseUri()
[
all
...]
/cts/tests/tests/webkit/src/android/webkit/cts/
HttpAuthHandlerTest.java
36
private CtsTestServer
mWebServer
;
52
if (
mWebServer
!= null) {
53
mWebServer
.shutdown();
141
mWebServer
= new CtsTestServer(getActivity());
142
String url =
mWebServer
.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
150
mWebServer
= new CtsTestServer(getActivity());
151
String url =
mWebServer
.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
162
mWebServer
= new CtsTestServer(getActivity());
163
String url =
mWebServer
.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
WebViewClientTest.java
40
private CtsTestServer
mWebServer
;
62
if (
mWebServer
!= null) {
63
mWebServer
.shutdown();
89
mWebServer
= new CtsTestServer(getActivity());
114
mOnUiThread.loadUrl(
mWebServer
.getAssetUrl(TestHtmlConstants.BLANK_TAG_URL));
122
assertEquals(
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL),
137
mWebServer
= new CtsTestServer(getActivity());
138
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
183
mWebServer
= new CtsTestServer(getActivity());
186
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.JS_FORM_URL)
[
all
...]
WebHistoryItemTest.java
30
private CtsTestServer
mWebServer
;
56
mWebServer
= new CtsTestServer(getActivity());
63
mWebServer
.shutdown();
87
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
106
url =
mWebServer
.getAssetUrl(TestHtmlConstants.BR_TAG_URL);
WebChromeClientTest.java
34
private CtsTestServer
mWebServer
;
48
mWebServer
= new CtsTestServer(getActivity());
54
if (
mWebServer
!= null) {
55
mWebServer
.shutdown();
69
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
85
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
116
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
140
mOnUiThread.loadUrlAndWaitForCompletion(
mWebServer
.
185
mOnUiThread.loadUrlAndWaitForCompletion(
mWebServer
.getAssetUrl(TestHtmlConstants.JS_UNLOAD_URL));
187
mOnUiThread.loadUrlAndWaitForCompletion(
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL))
[
all
...]
WebViewTest.java
115
private CtsTestServer
mWebServer
;
144
if (
mWebServer
!= null) {
145
mWebServer
.shutdown();
156
assertNull(
mWebServer
);
157
mWebServer
= new CtsTestServer(getActivity(), secure);
161
assertNotNull(
mWebServer
);
167
mWebServer
.shutdown();
168
mWebServer
= null;
218
String url =
mWebServer
.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL);
230
mWebServer
= new CtsTestServer(getActivity())
[
all
...]
WebSettingsTest.java
57
private CtsTestServer
mWebServer
;
75
if (
mWebServer
!= null) {
76
mWebServer
.shutdown();
135
String url =
mWebServer
.getUserAgentUrl();
211
int firstFetch =
mWebServer
.getRequestCount();
213
assertEquals(firstFetch,
mWebServer
.getRequestCount());
225
int secondFetch =
mWebServer
.getRequestCount();
234
int thirdFetch =
mWebServer
.getRequestCount();
248
assertEquals(thirdFetch,
mWebServer
.getRequestCount());
529
final String url =
mWebServer
.getAppCacheUrl()
[
all
...]
/cts/suite/cts/deviceTests/browserbench/src/com/android/cts/browser/
BrowserBenchTest.java
58
private CtsTestServer
mWebServer
;
77
mWebServer
= new CtsTestServer(getContext()) {
119
mWebServer
.shutdown();
120
mWebServer
= null;
127
String url =
mWebServer
.getAssetUrl(OCTANE_START_FILE) + "?auto=1";
/cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java
53
private CtsTestServer
mWebServer
;
66
mWebServer
= new CtsTestServer(mContext);
79
mWebServer
.shutdown();
118
return Uri.parse(
mWebServer
.getTestDownloadUrl("cts-small-download-" + index,
/cts/tests/tests/app/src/android/app/cts/
DownloadManagerTest.java
56
private CtsTestServer
mWebServer
;
62
mWebServer
= new CtsTestServer(mContext);
69
mWebServer
.shutdown();
300
return Uri.parse(
mWebServer
.getTestDownloadUrl("cts-good-download", 0));
304
return Uri.parse(
mWebServer
.getBaseUri() + "/nosuchurl");
308
return Uri.parse(
mWebServer
.getTestDownloadUrl("cts-minimum-download",
313
return Uri.parse(
mWebServer
.getAssetUrl(asset));
Completed in 329 milliseconds