| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 "URLRequestTest.DoNotSendCookies", | 257 "URLRequestTest.DoNotSendCookies", |
| 258 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", | 258 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", |
| 259 "URLRequestTest.CancelTest_During_OnGetCookies", | 259 "URLRequestTest.CancelTest_During_OnGetCookies", |
| 260 "URLRequestTest.CancelTest_During_OnSetCookie", | 260 "URLRequestTest.CancelTest_During_OnSetCookie", |
| 261 | 261 |
| 262 // These tests are disabled as they rely on functionality provided by | 262 // These tests are disabled as they rely on functionality provided by |
| 263 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. | 263 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. |
| 264 "URLRequestTestHTTP.ProxyTunnelRedirectTest", | 264 "URLRequestTestHTTP.ProxyTunnelRedirectTest", |
| 265 "URLRequestTestHTTP.UnexpectedServerAuthTest", | 265 "URLRequestTestHTTP.UnexpectedServerAuthTest", |
| 266 | 266 |
| 267 // This test is disabled as it expects an empty UA to be echoed back from | 267 // These tests are disabled as they expect an empty UA to be echoed back |
| 268 // the server which is not the case in ChromeFrame. | 268 // from the server which is not the case in ChromeFrame. |
| 269 "URLRequestTestHTTP.DefaultUserAgent", | 269 "URLRequestTestHTTP.DefaultUserAgent", |
| 270 "URLRequestTestHTTP.EmptyHttpUserAgentSettings", |
| 270 // This test modifies the UploadData object after it has been marshaled to | 271 // This test modifies the UploadData object after it has been marshaled to |
| 271 // ChromeFrame. We don't support this. | 272 // ChromeFrame. We don't support this. |
| 272 "URLRequestTestHTTP.TestPostChunkedDataAfterStart", | 273 "URLRequestTestHTTP.TestPostChunkedDataAfterStart", |
| 273 | 274 |
| 274 // Do not work in CF, it may well be that IE is unconditionally | 275 // Do not work in CF, it may well be that IE is unconditionally |
| 275 // adding Accept-Encoding header by default to outgoing requests. | 276 // adding Accept-Encoding header by default to outgoing requests. |
| 276 "URLRequestTestHTTP.DefaultAcceptEncoding", | 277 "URLRequestTestHTTP.DefaultAcceptEncoding", |
| 277 "URLRequestTestHTTP.OverrideAcceptEncoding", | 278 "URLRequestTestHTTP.OverrideAcceptEncoding", |
| 278 | 279 |
| 279 // Not supported in ChromeFrame as we use IE's network stack. | 280 // Not supported in ChromeFrame as we use IE's network stack. |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 // content::InitializeSandboxInfo(&sandbox_info); | 942 // content::InitializeSandboxInfo(&sandbox_info); |
| 942 FakeMainDelegate delegate; | 943 FakeMainDelegate delegate; |
| 943 content::ContentMain( | 944 content::ContentMain( |
| 944 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), | 945 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), |
| 945 &sandbox_info, | 946 &sandbox_info, |
| 946 &delegate); | 947 &delegate); |
| 947 | 948 |
| 948 // Note: In debug builds, we ExitProcess during PostDestroyThreads. | 949 // Note: In debug builds, we ExitProcess during PostDestroyThreads. |
| 949 return g_test_suite->test_result(); | 950 return g_test_suite->test_result(); |
| 950 } | 951 } |
| OLD | NEW |