Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: chrome_frame/test/net/fake_external_tab.cc

Issue 6357017: Add support for chunked encoding in ChromeFrame for POST requests. This fixes... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/plugin_url_request.cc ('k') | chrome_frame/urlmon_upload_data_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 "URLRequestTest.CancelTest_During_OnSetCookie", 454 "URLRequestTest.CancelTest_During_OnSetCookie",
455 455
456 // These tests are disabled as the rely on functionality provided by 456 // These tests are disabled as the rely on functionality provided by
457 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. 457 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc.
458 "URLRequestTestHTTP.ProxyTunnelRedirectTest", 458 "URLRequestTestHTTP.ProxyTunnelRedirectTest",
459 "URLRequestTestHTTP.UnexpectedServerAuthTest", 459 "URLRequestTestHTTP.UnexpectedServerAuthTest",
460 460
461 // This test is disabled as it expects an empty UA to be echoed back from 461 // This test is disabled as it expects an empty UA to be echoed back from
462 // the server which is not the case in ChromeFrame. 462 // the server which is not the case in ChromeFrame.
463 "URLRequestTestHTTP.DefaultUserAgent", 463 "URLRequestTestHTTP.DefaultUserAgent",
464 // This test modifies the UploadData object after it has been marshaled to
465 // ChromeFrame. We don't support this.
466 "URLRequestTestHTTP.TestPostChunkedDataAfterStart",
464 }; 467 };
465 468
466 std::string filter("-"); // All following filters will be negative. 469 std::string filter("-"); // All following filters will be negative.
467 for (int i = 0; i < arraysize(disabled_tests); ++i) { 470 for (int i = 0; i < arraysize(disabled_tests); ++i) {
468 if (i > 0) 471 if (i > 0)
469 filter += ":"; 472 filter += ":";
470 filter += disabled_tests[i]; 473 filter += disabled_tests[i];
471 } 474 }
472 475
473 ::testing::FLAGS_gtest_filter = filter; 476 ::testing::FLAGS_gtest_filter = filter;
(...skipping 28 matching lines...) Expand all
502 // See url_request_unittest.cc for these credentials. 505 // See url_request_unittest.cc for these credentials.
503 SupplyProxyCredentials credentials("user", "secret"); 506 SupplyProxyCredentials credentials("user", "secret");
504 watchdog.AddObserver(&credentials, "Windows Security", ""); 507 watchdog.AddObserver(&credentials, "Windows Security", "");
505 testing::InitGoogleTest(&argc, argv); 508 testing::InitGoogleTest(&argc, argv);
506 FilterDisabledTests(); 509 FilterDisabledTests();
507 PluginService::EnableChromePlugins(false); 510 PluginService::EnableChromePlugins(false);
508 CFUrlRequestUnittestRunner test_suite(argc, argv); 511 CFUrlRequestUnittestRunner test_suite(argc, argv);
509 test_suite.RunMainUIThread(); 512 test_suite.RunMainUIThread();
510 return 0; 513 return 0;
511 } 514 }
OLDNEW
« no previous file with comments | « chrome_frame/plugin_url_request.cc ('k') | chrome_frame/urlmon_upload_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698