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

Side by Side Diff: chrome/browser/media/router/issue_manager_unittest.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/media/router/issue_manager.h" 9 #include "chrome/browser/media/router/issue_manager.h"
9 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
10 11
11 namespace media_router { 12 namespace media_router {
12 namespace { 13 namespace {
13 14
14 const char kTestRouteId[] = "routeId"; 15 const char kTestRouteId[] = "routeId";
15 16
16 Issue CreateTestIssue(const std::string& route_id) { 17 Issue CreateTestIssue(const std::string& route_id) {
17 return Issue("title", "message", IssueAction(IssueAction::TYPE_DISMISS), 18 return Issue("title", "message", IssueAction(IssueAction::TYPE_DISMISS),
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 manager_.ClearIssuesWithRouteId(route_id_one); 135 manager_.ClearIssuesWithRouteId(route_id_one);
135 EXPECT_EQ(20u, manager_.GetIssueCount()); 136 EXPECT_EQ(20u, manager_.GetIssueCount());
136 137
137 // Remove all routes with route_id_two. 138 // Remove all routes with route_id_two.
138 manager_.ClearIssuesWithRouteId(route_id_two); 139 manager_.ClearIssuesWithRouteId(route_id_two);
139 EXPECT_EQ(10u, manager_.GetIssueCount()); 140 EXPECT_EQ(10u, manager_.GetIssueCount());
140 } 141 }
141 142
142 } // namespace 143 } // namespace
143 } // namespace media_router 144 } // namespace media_router
OLDNEW
« no previous file with comments | « chrome/browser/media/router/issue_manager.h ('k') | chrome/browser/media/router/issues_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698