OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 10 |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. | 469 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. |
470 "URLRequestTestHTTP.ProxyTunnelRedirectTest", | 470 "URLRequestTestHTTP.ProxyTunnelRedirectTest", |
471 "URLRequestTestHTTP.UnexpectedServerAuthTest", | 471 "URLRequestTestHTTP.UnexpectedServerAuthTest", |
472 | 472 |
473 // This test is disabled as it expects an empty UA to be echoed back from | 473 // This test is disabled as it expects an empty UA to be echoed back from |
474 // the server which is not the case in ChromeFrame. | 474 // the server which is not the case in ChromeFrame. |
475 "URLRequestTestHTTP.DefaultUserAgent", | 475 "URLRequestTestHTTP.DefaultUserAgent", |
476 // This test modifies the UploadData object after it has been marshaled to | 476 // This test modifies the UploadData object after it has been marshaled to |
477 // ChromeFrame. We don't support this. | 477 // ChromeFrame. We don't support this. |
478 "URLRequestTestHTTP.TestPostChunkedDataAfterStart", | 478 "URLRequestTestHTTP.TestPostChunkedDataAfterStart", |
| 479 |
| 480 // Do not work in CF, it may well be that IE is unconditionally |
| 481 // adding Accept-Encoding header by default to outgoing requests. |
| 482 "URLRequestTestHTTP.DefaultAcceptEncoding", |
| 483 "URLRequestTestHTTP.OverrideAcceptEncoding", |
| 484 |
479 // Not supported in ChromeFrame as we use IE's network stack. | 485 // Not supported in ChromeFrame as we use IE's network stack. |
480 "URLRequestTest.NetworkDelegateProxyError", | 486 "URLRequestTest.NetworkDelegateProxyError", |
481 }; | 487 }; |
482 | 488 |
483 std::string filter("-"); // All following filters will be negative. | 489 std::string filter("-"); // All following filters will be negative. |
484 for (int i = 0; i < arraysize(disabled_tests); ++i) { | 490 for (int i = 0; i < arraysize(disabled_tests); ++i) { |
485 if (i > 0) | 491 if (i > 0) |
486 filter += ":"; | 492 filter += ":"; |
487 filter += disabled_tests[i]; | 493 filter += disabled_tests[i]; |
488 } | 494 } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 542 |
537 WindowWatchdog watchdog; | 543 WindowWatchdog watchdog; |
538 // See url_request_unittest.cc for these credentials. | 544 // See url_request_unittest.cc for these credentials. |
539 SupplyProxyCredentials credentials("user", "secret"); | 545 SupplyProxyCredentials credentials("user", "secret"); |
540 watchdog.AddObserver(&credentials, "Windows Security", ""); | 546 watchdog.AddObserver(&credentials, "Windows Security", ""); |
541 testing::InitGoogleTest(&argc, argv); | 547 testing::InitGoogleTest(&argc, argv); |
542 FilterDisabledTests(); | 548 FilterDisabledTests(); |
543 test_suite.RunMainUIThread(); | 549 test_suite.RunMainUIThread(); |
544 return test_suite.test_result(); | 550 return test_suite.test_result(); |
545 } | 551 } |
OLD | NEW |