OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome_frame/test/net/fake_external_tab.h" | 5 #include "chrome_frame/test/net/fake_external_tab.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlcom.h> | 8 #include <atlcom.h> |
9 #include <exdisp.h> | 9 #include <exdisp.h> |
10 #include <Winsock2.h> | 10 #include <Winsock2.h> |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 "URLRequestTestHTTP.BasicAuthLoadTiming", | 198 "URLRequestTestHTTP.BasicAuthLoadTiming", |
199 "URLRequestTestHTTP.GetTestLoadTiming", | 199 "URLRequestTestHTTP.GetTestLoadTiming", |
200 "URLRequestTestHTTP.RedirectLoadTiming", | 200 "URLRequestTestHTTP.RedirectLoadTiming", |
201 | 201 |
202 // HTTPS tests temporarily disabled due to the certificate error dialog. | 202 // HTTPS tests temporarily disabled due to the certificate error dialog. |
203 // TODO(tommi): The tests currently fail though, so need to fix. | 203 // TODO(tommi): The tests currently fail though, so need to fix. |
204 "HTTPSRequestTest.HTTPSMismatchedTest", | 204 "HTTPSRequestTest.HTTPSMismatchedTest", |
205 "HTTPSRequestTest.HTTPSExpiredTest", | 205 "HTTPSRequestTest.HTTPSExpiredTest", |
206 "HTTPSRequestTest.ClientAuthTest", | 206 "HTTPSRequestTest.ClientAuthTest", |
207 | 207 |
| 208 // More HTTPS tests failing due to certificate dialogs. |
| 209 // http://crbug.com/102991 |
| 210 "URLRequestTestHTTP.HTTPSToHTTPRedirectNoRefererTest", |
| 211 "HTTPSRequestTest.HTTPSGetTest", |
| 212 |
208 // Tests chrome's network stack's cache (might not apply to CF). | 213 // Tests chrome's network stack's cache (might not apply to CF). |
209 "URLRequestTestHTTP.VaryHeader", | 214 "URLRequestTestHTTP.VaryHeader", |
210 "URLRequestTestHTTP.GetZippedTest", | 215 "URLRequestTestHTTP.GetZippedTest", |
211 | 216 |
212 // Tests that requests can be blocked asynchronously in states | 217 // Tests that requests can be blocked asynchronously in states |
213 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least | 218 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least |
214 // the second state is not supported by CF. | 219 // the second state is not supported by CF. |
215 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously", | 220 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously", |
216 | 221 |
217 // Tests for cancelling requests in states OnBeforeSendHeaders and | 222 // Tests for cancelling requests in states OnBeforeSendHeaders and |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async", | 267 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async", |
263 "URLRequestTest.CookiePolicy_ForceSession", | 268 "URLRequestTest.CookiePolicy_ForceSession", |
264 "URLRequestTest.DoNotSendCookies", | 269 "URLRequestTest.DoNotSendCookies", |
265 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", | 270 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", |
266 "URLRequestTest.CancelTest_During_OnGetCookies", | 271 "URLRequestTest.CancelTest_During_OnGetCookies", |
267 "URLRequestTest.CancelTest_During_OnSetCookie", | 272 "URLRequestTest.CancelTest_During_OnSetCookie", |
268 | 273 |
269 // These tests are disabled as they rely on functionality provided by | 274 // These tests are disabled as they rely on functionality provided by |
270 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. | 275 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. |
271 "URLRequestTestHTTP.ProxyTunnelRedirectTest", | 276 "URLRequestTestHTTP.ProxyTunnelRedirectTest", |
| 277 "URLRequestTestHTTP.NetworkDelegateTunnelConnectionFailed", |
272 "URLRequestTestHTTP.UnexpectedServerAuthTest", | 278 "URLRequestTestHTTP.UnexpectedServerAuthTest", |
273 | 279 |
274 // These tests are disabled as they expect an empty UA to be echoed back | 280 // These tests are disabled as they expect an empty UA to be echoed back |
275 // from the server which is not the case in ChromeFrame. | 281 // from the server which is not the case in ChromeFrame. |
276 "URLRequestTestHTTP.DefaultUserAgent", | 282 "URLRequestTestHTTP.DefaultUserAgent", |
277 "URLRequestTestHTTP.EmptyHttpUserAgentSettings", | 283 "URLRequestTestHTTP.EmptyHttpUserAgentSettings", |
278 // This test modifies the UploadData object after it has been marshaled to | 284 // This test modifies the UploadData object after it has been marshaled to |
279 // ChromeFrame. We don't support this. | 285 // ChromeFrame. We don't support this. |
280 "URLRequestTestHTTP.TestPostChunkedDataAfterStart", | 286 "URLRequestTestHTTP.TestPostChunkedDataAfterStart", |
281 | 287 |
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 // content::InitializeSandboxInfo(&sandbox_info); | 971 // content::InitializeSandboxInfo(&sandbox_info); |
966 FakeMainDelegate delegate; | 972 FakeMainDelegate delegate; |
967 content::ContentMain( | 973 content::ContentMain( |
968 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), | 974 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), |
969 &sandbox_info, | 975 &sandbox_info, |
970 &delegate); | 976 &delegate); |
971 | 977 |
972 // Note: In debug builds, we ExitProcess during PostDestroyThreads. | 978 // Note: In debug builds, we ExitProcess during PostDestroyThreads. |
973 return g_test_suite->test_result(); | 979 return g_test_suite->test_result(); |
974 } | 980 } |
OLD | NEW |