Index: chrome/test/automated_ui_tests/automated_ui_tests.cc |
diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.cc b/chrome/test/automated_ui_tests/automated_ui_tests.cc |
index 02afb679442adb841cac5f9340c74a7917b7f956..394b91cedcd510fef7b68604dd4cb5ffff70aade 100644 |
--- a/chrome/test/automated_ui_tests/automated_ui_tests.cc |
+++ b/chrome/test/automated_ui_tests/automated_ui_tests.cc |
@@ -425,6 +425,8 @@ bool AutomatedUITest::DoAction(const std::string& action) { |
<< action.c_str(); |
} |
+ EXPECT_TRUE(did_complete_action) << action; |
+ |
if (!did_complete_action) |
xml_writer_.AddAttribute("failed_to_complete", "yes"); |
xml_writer_.EndElement(); |
@@ -455,14 +457,6 @@ bool AutomatedUITest::ChangeEncoding() { |
return RunCommandAsync((*encodings)[index].encoding_id); |
} |
-bool AutomatedUITest::FindInPage() { |
- return RunCommandAsync(IDC_FIND); |
-} |
- |
-bool AutomatedUITest::Home() { |
- return RunCommandAsync(IDC_HOME); |
-} |
- |
bool AutomatedUITest::JavaScriptConsole() { |
return RunCommandAsync(IDC_DEV_TOOLS); |
} |
@@ -527,26 +521,6 @@ bool AutomatedUITest::PressUpArrow() { |
return SimulateKeyPressInActiveWindow(base::VKEY_UP, 0); |
} |
-bool AutomatedUITest::SelectNextTab() { |
- return RunCommandAsync(IDC_SELECT_NEXT_TAB); |
-} |
- |
-bool AutomatedUITest::SelectPreviousTab() { |
- return RunCommandAsync(IDC_SELECT_PREVIOUS_TAB); |
-} |
- |
-bool AutomatedUITest::ShowBookmarkBar() { |
- return RunCommandAsync(IDC_SHOW_BOOKMARK_BAR); |
-} |
- |
-bool AutomatedUITest::ShowDownloads() { |
- return RunCommandAsync(IDC_SHOW_DOWNLOADS); |
-} |
- |
-bool AutomatedUITest::ShowHistory() { |
- return RunCommandAsync(IDC_SHOW_HISTORY); |
-} |
- |
bool AutomatedUITest::StarPage() { |
return RunCommandAsync(IDC_STAR); |
} |