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

Side by Side Diff: views/controls/progress_bar_unittest.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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
« no previous file with comments | « views/controls/progress_bar.cc ('k') | views/controls/scroll_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/l10n_util.h"
6 #include "base/string_util.h" 5 #include "base/string_util.h"
7 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
8 #include "views/controls/progress_bar.h" 7 #include "views/controls/progress_bar.h"
9 8
10 namespace views { 9 namespace views {
11 10
12 TEST(ProgressBarTest, ProgressProperty) { 11 TEST(ProgressBarTest, ProgressProperty) {
13 ProgressBar bar; 12 ProgressBar bar;
14 bar.SetProgress(-1); 13 bar.SetProgress(-1);
15 int progress = bar.GetProgress(); 14 int progress = bar.GetProgress();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 EXPECT_TRUE(bar.GetAccessibleName(&name)); 59 EXPECT_TRUE(bar.GetAccessibleName(&name));
61 EXPECT_EQ(accessible_name, name); 60 EXPECT_EQ(accessible_name, name);
62 61
63 62
64 AccessibilityTypes::State state; 63 AccessibilityTypes::State state;
65 EXPECT_TRUE(bar.GetAccessibleState(&state)); 64 EXPECT_TRUE(bar.GetAccessibleState(&state));
66 EXPECT_TRUE(AccessibilityTypes::STATE_READONLY & state); 65 EXPECT_TRUE(AccessibilityTypes::STATE_READONLY & state);
67 } 66 }
68 67
69 } // namespace views 68 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/progress_bar.cc ('k') | views/controls/scroll_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698