| Index: chrome/browser/autofill/autofill_popup_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_popup_unittest.cc b/chrome/browser/autofill/autofill_popup_unittest.cc
|
| index 5c3d731a36b82e951ef316310487a48e5c2f1392..ea3a97281570a22b9a69102b1096ddcf1cf90822 100644
|
| --- a/chrome/browser/autofill/autofill_popup_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_popup_unittest.cc
|
| @@ -52,9 +52,6 @@ class TestAutofillPopupView : public AutofillPopupView {
|
| bool RemoveSelectedLine() {
|
| return AutofillPopupView::RemoveSelectedLine();
|
| }
|
| - bool IsSeparatorIndex(int index) {
|
| - return AutofillPopupView::IsSeparatorIndex(index);
|
| - }
|
|
|
| MOCK_METHOD1(InvalidateRow, void(size_t));
|
| MOCK_METHOD0(HideInternal, void());
|
| @@ -156,19 +153,3 @@ TEST_F(AutofillPopupViewUnitTest, RemoveLine) {
|
| autofill_popup_view_->SetSelectedLine(0);
|
| EXPECT_TRUE(autofill_popup_view_->RemoveSelectedLine());
|
| }
|
| -
|
| -TEST_F(AutofillPopupViewUnitTest, IsSeparatorIndex) {
|
| - // Set up the popup.
|
| - std::vector<string16> autofill_values(3, string16());
|
| - std::vector<int> autofill_ids;
|
| - autofill_ids.push_back(3);
|
| - autofill_ids.push_back(WebAutofillClient::MenuItemIDClearForm);
|
| - autofill_ids.push_back(WebAutofillClient::MenuItemIDAutofillOptions);
|
| -
|
| - autofill_popup_view_->Show(autofill_values, autofill_values, autofill_values,
|
| - autofill_ids);
|
| -
|
| - EXPECT_FALSE(autofill_popup_view_->IsSeparatorIndex(0));
|
| - EXPECT_TRUE(autofill_popup_view_->IsSeparatorIndex(1));
|
| - EXPECT_FALSE(autofill_popup_view_->IsSeparatorIndex(2));
|
| -}
|
|
|