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

Side by Side Diff: ui/views/controls/table/table_view_unittest.cc

Issue 16757004: Use a direct include of strings headers in ui/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/views/controls/table/table_view.h" 5 #include "ui/views/controls/table/table_view.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/views/controls/table/table_grouper.h" 10 #include "ui/views/controls/table/table_grouper.h"
11 #include "ui/views/controls/table/table_header.h" 11 #include "ui/views/controls/table/table_header.h"
12 #include "ui/views/controls/table/table_view_observer.h" 12 #include "ui/views/controls/table/table_view_observer.h"
13 13
14 // Put the tests in the views namespace to make it easier to declare them as 14 // Put the tests in the views namespace to make it easier to declare them as
15 // friend classes. 15 // friend classes.
16 namespace views { 16 namespace views {
17 17
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 763
764 // Extend selection to first row. 764 // Extend selection to first row.
765 ClickOnRow(0, ui::EF_SHIFT_DOWN); 765 ClickOnRow(0, ui::EF_SHIFT_DOWN);
766 EXPECT_EQ(1, observer.GetChangedCountAndClear()); 766 EXPECT_EQ(1, observer.GetChangedCountAndClear());
767 EXPECT_EQ("active=2 anchor=4 selection=2 3 4", SelectionStateAsString()); 767 EXPECT_EQ("active=2 anchor=4 selection=2 3 4", SelectionStateAsString());
768 768
769 table_->SetObserver(NULL); 769 table_->SetObserver(NULL);
770 } 770 }
771 771
772 } // namespace views 772 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/table/table_utils_unittest.cc ('k') | ui/views/controls/table/test_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698