summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_strip_selection_model_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_strip_selection_model_unittest.cc')
-rw-r--r--chrome/browser/tabs/tab_strip_selection_model_unittest.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/browser/tabs/tab_strip_selection_model_unittest.cc b/chrome/browser/tabs/tab_strip_selection_model_unittest.cc
index ec18932..121ef65 100644
--- a/chrome/browser/tabs/tab_strip_selection_model_unittest.cc
+++ b/chrome/browser/tabs/tab_strip_selection_model_unittest.cc
@@ -173,20 +173,3 @@ TEST_F(TabStripSelectionModelTest, AddSelectionFromAnchorTo) {
model.AddSelectionFromAnchorTo(0);
EXPECT_EQ("active=0 anchor=2 selection=0 1 2 3 4", StateAsString(model));
}
-
-TEST_F(TabStripSelectionModelTest, Equals) {
- TabStripSelectionModel model1;
- model1.SetSelectedIndex(0);
- model1.AddSelectionFromAnchorTo(4);
-
- TabStripSelectionModel model2;
- model2.SetSelectedIndex(0);
- model2.AddSelectionFromAnchorTo(4);
-
- EXPECT_TRUE(model1.Equals(model2));
- EXPECT_TRUE(model2.Equals(model1));
-
- model2.SetSelectedIndex(0);
- EXPECT_FALSE(model1.Equals(model2));
- EXPECT_FALSE(model2.Equals(model1));
-}