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

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

Issue 1667003: Disable the following net tests for ChromeFrame as they rely on functionality... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 | « no previous file | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <exdisp.h> 7 #include <exdisp.h>
8 8
9 #include "app/app_paths.h" 9 #include "app/app_paths.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 // These tests have been disabled as the Chrome cookie policies don't make 433 // These tests have been disabled as the Chrome cookie policies don't make
434 // sense or have not been implemented for the host network stack. 434 // sense or have not been implemented for the host network stack.
435 "URLRequestTest.DoNotSaveCookies_ViaPolicy", 435 "URLRequestTest.DoNotSaveCookies_ViaPolicy",
436 "URLRequestTest.DoNotSendCookies_ViaPolicy", 436 "URLRequestTest.DoNotSendCookies_ViaPolicy",
437 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async", 437 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async",
438 "URLRequestTest.CookiePolicy_ForceSession", 438 "URLRequestTest.CookiePolicy_ForceSession",
439 "URLRequestTest.DoNotSendCookies", 439 "URLRequestTest.DoNotSendCookies",
440 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", 440 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async",
441 "URLRequestTest.CancelTest_During_OnGetCookiesBlocked", 441 "URLRequestTest.CancelTest_During_OnGetCookiesBlocked",
442 "URLRequestTest.CancelTest_During_OnSetCookieBlocked", 442 "URLRequestTest.CancelTest_During_OnSetCookieBlocked",
443
444 // These tests are disabled as the rely on functionality provided by
445 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc.
446 "URLRequestTestHTTP.ProxyTunnelRedirectTest",
447 "URLRequestTestHTTP.UnexpectedServerAuthTest",
443 }; 448 };
444 449
445 std::string filter("-"); // All following filters will be negative. 450 std::string filter("-"); // All following filters will be negative.
446 for (int i = 0; i < arraysize(disabled_tests); ++i) { 451 for (int i = 0; i < arraysize(disabled_tests); ++i) {
447 if (i > 0) 452 if (i > 0)
448 filter += ":"; 453 filter += ":";
449 filter += disabled_tests[i]; 454 filter += disabled_tests[i];
450 } 455 }
451 456
452 ::testing::FLAGS_gtest_filter = filter; 457 ::testing::FLAGS_gtest_filter = filter;
453 } 458 }
454 459
455 int main(int argc, char** argv) { 460 int main(int argc, char** argv) {
456 WindowWatchdog watchdog; 461 WindowWatchdog watchdog;
457 // See url_request_unittest.cc for these credentials. 462 // See url_request_unittest.cc for these credentials.
458 SupplyProxyCredentials credentials("user", "secret"); 463 SupplyProxyCredentials credentials("user", "secret");
459 // Check for a dialog class ("#32770") 464 // Check for a dialog class ("#32770")
460 watchdog.AddObserver(&credentials, "#32770"); 465 watchdog.AddObserver(&credentials, "#32770");
461 testing::InitGoogleTest(&argc, argv); 466 testing::InitGoogleTest(&argc, argv);
462 FilterDisabledTests(); 467 FilterDisabledTests();
463 PluginService::EnableChromePlugins(false); 468 PluginService::EnableChromePlugins(false);
464 CFUrlRequestUnittestRunner test_suite(argc, argv); 469 CFUrlRequestUnittestRunner test_suite(argc, argv);
465 test_suite.RunMainUIThread(); 470 test_suite.RunMainUIThread();
466 return 0; 471 return 0;
467 } 472 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698