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

Unified Diff: ash/shelf/shelf_navigator_unittest.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/shelf_navigator.cc ('k') | ash/shelf/shelf_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_navigator_unittest.cc
diff --git a/ash/shelf/shelf_navigator_unittest.cc b/ash/shelf/shelf_navigator_unittest.cc
index af2411aee8d1d90b9d1c186c396a1d411c5a910d..121d8535d728de73eb3a36ef35efe085ffad1adc 100644
--- a/ash/shelf/shelf_navigator_unittest.cc
+++ b/ash/shelf/shelf_navigator_unittest.cc
@@ -53,7 +53,7 @@ class ShelfNavigatorTest : public testing::Test {
// Set the focused item.
if (focused_index >= 0) {
- ShelfItem focused_item =model_->items()[focused_index];
+ ShelfItem focused_item = model_->items()[focused_index];
if (focused_item.type == TYPE_PLATFORM_APP) {
focused_item.status = STATUS_ACTIVE;
model_->Set(focused_index, focused_item);
@@ -74,7 +74,8 @@ class ShelfNavigatorTest : public testing::Test {
TEST_F(ShelfNavigatorTest, BasicCycle) {
// An app shortcut and three platform apps.
ShelfItemType types[] = {
- TYPE_APP_SHORTCUT, TYPE_PLATFORM_APP, TYPE_PLATFORM_APP, TYPE_PLATFORM_APP,
+ TYPE_APP_SHORTCUT, TYPE_PLATFORM_APP, TYPE_PLATFORM_APP,
+ TYPE_PLATFORM_APP,
};
// ShelfModel automatically adds BROWSER_SHORTCUT item at the
// beginning, so '3' refers the first TYPE_PLATFORM_APP item.
@@ -89,7 +90,8 @@ TEST_F(ShelfNavigatorTest, BasicCycle) {
TEST_F(ShelfNavigatorTest, WrapToBeginning) {
ShelfItemType types[] = {
- TYPE_APP_SHORTCUT, TYPE_PLATFORM_APP, TYPE_PLATFORM_APP, TYPE_PLATFORM_APP,
+ TYPE_APP_SHORTCUT, TYPE_PLATFORM_APP, TYPE_PLATFORM_APP,
+ TYPE_PLATFORM_APP,
};
SetupMockShelfModel(types, arraysize(types), 5);
@@ -117,7 +119,7 @@ TEST_F(ShelfNavigatorTest, SingleEntry) {
TEST_F(ShelfNavigatorTest, NoActive) {
ShelfItemType types[] = {
- TYPE_PLATFORM_APP, TYPE_PLATFORM_APP,
+ TYPE_PLATFORM_APP, TYPE_PLATFORM_APP,
};
// Special case: no items are 'STATUS_ACTIVE'.
SetupMockShelfModel(types, arraysize(types), -1);
« no previous file with comments | « ash/shelf/shelf_navigator.cc ('k') | ash/shelf/shelf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698