| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // HTTPS tests temporarily disabled due to the certificate error dialog. | 196 // HTTPS tests temporarily disabled due to the certificate error dialog. |
| 197 // TODO(tommi): The tests currently fail though, so need to fix. | 197 // TODO(tommi): The tests currently fail though, so need to fix. |
| 198 "HTTPSRequestTest.HTTPSMismatchedTest", | 198 "HTTPSRequestTest.HTTPSMismatchedTest", |
| 199 "HTTPSRequestTest.HTTPSExpiredTest", | 199 "HTTPSRequestTest.HTTPSExpiredTest", |
| 200 "HTTPSRequestTest.ClientAuthTest", | 200 "HTTPSRequestTest.ClientAuthTest", |
| 201 | 201 |
| 202 // Tests chrome's network stack's cache (might not apply to CF). | 202 // Tests chrome's network stack's cache (might not apply to CF). |
| 203 "URLRequestTestHTTP.VaryHeader", | 203 "URLRequestTestHTTP.VaryHeader", |
| 204 "URLRequestTestHTTP.GetZippedTest", | 204 "URLRequestTestHTTP.GetZippedTest", |
| 205 | 205 |
| 206 // Tests that requests can be blocked asynchronously in states |
| 207 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least |
| 208 // the second state is not supported by CF. |
| 209 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously", |
| 210 |
| 206 // Tests that requests can be cancelled while blocking in | 211 // Tests that requests can be cancelled while blocking in |
| 207 // OnBeforeSendHeaders state. But this state is not supported by CF. | 212 // OnBeforeSendHeaders state. But this state is not supported by CF. |
| 208 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting2", | 213 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting2", |
| 209 | 214 |
| 210 // Tests that requests can be cancelled while blocking in | 215 // Tests that requests can be cancelled while blocking in |
| 211 // OnHeadersRecevied state. At first glance, this state does not appear to | 216 // OnHeadersRecevied state. At first glance, this state does not appear to |
| 212 // be supported by CF. | 217 // be supported by CF. |
| 213 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting3", | 218 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting3", |
| 214 | 219 |
| 215 // Tests that requests can be cancelled while blocking in OnAuthRequired | 220 // Tests that requests can be cancelled while blocking in OnAuthRequired |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 // content::InitializeSandboxInfo(&sandbox_info); | 932 // content::InitializeSandboxInfo(&sandbox_info); |
| 928 FakeMainDelegate delegate; | 933 FakeMainDelegate delegate; |
| 929 content::ContentMain( | 934 content::ContentMain( |
| 930 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), | 935 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), |
| 931 &sandbox_info, | 936 &sandbox_info, |
| 932 &delegate); | 937 &delegate); |
| 933 | 938 |
| 934 // Note: In debug builds, we ExitProcess during PostDestroyThreads. | 939 // Note: In debug builds, we ExitProcess during PostDestroyThreads. |
| 935 return g_test_suite->test_result(); | 940 return g_test_suite->test_result(); |
| 936 } | 941 } |
| OLD | NEW |