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

Side by Side Diff: chrome/browser/extensions/api/automation/automation_apitest.cc

Issue 410043002: Disable all the browser_tests that are flaking more than 5% of the time on trybots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "chrome/browser/extensions/api/automation_internal/automation_util.h" 8 #include "chrome/browser/extensions/api/automation_internal/automation_util.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h" 9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 #include "chrome/browser/extensions/extension_apitest.h" 10 #include "chrome/browser/extensions/extension_apitest.h"
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 516
517 return RespondNow(NoArguments()); 517 return RespondNow(NoArguments());
518 } 518 }
519 }; 519 };
520 520
521 // Factory method for use in OverrideFunction() 521 // Factory method for use in OverrideFunction()
522 ExtensionFunction* FakeAutomationInternalPerformActionFunctionFactory() { 522 ExtensionFunction* FakeAutomationInternalPerformActionFunctionFactory() {
523 return new FakeAutomationInternalPerformActionFunction(); 523 return new FakeAutomationInternalPerformActionFunction();
524 } 524 }
525 525
526 IN_PROC_BROWSER_TEST_F(AutomationApiTest, GeneratedTree) { 526 // http://crbug.com/396353
527 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DISABLED_GeneratedTree) {
527 ASSERT_TRUE(extensions::ExtensionFunctionDispatcher::OverrideFunction( 528 ASSERT_TRUE(extensions::ExtensionFunctionDispatcher::OverrideFunction(
528 "automationInternal.enableTab", 529 "automationInternal.enableTab",
529 FakeAutomationInternalEnableTabFunctionFactory)); 530 FakeAutomationInternalEnableTabFunctionFactory));
530 ASSERT_TRUE(extensions::ExtensionFunctionDispatcher::OverrideFunction( 531 ASSERT_TRUE(extensions::ExtensionFunctionDispatcher::OverrideFunction(
531 "automationInternal.performAction", 532 "automationInternal.performAction",
532 FakeAutomationInternalPerformActionFunctionFactory)); 533 FakeAutomationInternalPerformActionFunctionFactory));
533 ASSERT_TRUE(RunExtensionSubtest("automation/tests/generated", 534 ASSERT_TRUE(RunExtensionSubtest("automation/tests/generated",
534 "generated_trees.html")) << message_; 535 "generated_trees.html")) << message_;
535 } 536 }
536 537
537 } // namespace extensions 538 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698