| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/gtk/options/content_exceptions_window_gtk.h" | 5 #include "chrome/browser/gtk/options/content_exceptions_window_gtk.h" |
| 6 | 6 |
| 7 #include "chrome/test/testing_profile.h" | 7 #include "chrome/test/testing_profile.h" |
| 8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 using ::testing::ElementsAre; | 11 using ::testing::ElementsAre; |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 Remove(); | 202 Remove(); |
| 203 | 203 |
| 204 std::set<std::pair<int, int> > selected; | 204 std::set<std::pair<int, int> > selected; |
| 205 GetSelectedRows(&selected); | 205 GetSelectedRows(&selected); |
| 206 | 206 |
| 207 ASSERT_EQ(1u, selected.size()); | 207 ASSERT_EQ(1u, selected.size()); |
| 208 EXPECT_EQ(1, selected.begin()->first); | 208 EXPECT_EQ(1, selected.begin()->first); |
| 209 EXPECT_EQ(1, selected.begin()->second); | 209 EXPECT_EQ(1, selected.begin()->second); |
| 210 EXPECT_THAT(Paths(), ElementsAre("a", "c", "e")); | 210 EXPECT_THAT(Paths(), ElementsAre("a", "c", "e")); |
| 211 } | 211 } |
| OLD | NEW |