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

Side by Side Diff: chrome/browser/sync_file_system/logger_unittest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/macros.h"
5 #include "chrome/browser/sync_file_system/logger.h" 6 #include "chrome/browser/sync_file_system/logger.h"
6 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
7 8
8 using drive::EventLogger; 9 using drive::EventLogger;
9 10
10 namespace sync_file_system { 11 namespace sync_file_system {
11 12
12 namespace { 13 namespace {
13 14
14 // Logs one event at each supported LogSeverity level. 15 // Logs one event at each supported LogSeverity level.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 TEST_F(LoggerTest, ClearLog) { 52 TEST_F(LoggerTest, ClearLog) {
52 LogSampleEvents(); 53 LogSampleEvents();
53 EXPECT_EQ(3u, util::GetLogHistory().size()); 54 EXPECT_EQ(3u, util::GetLogHistory().size());
54 55
55 util::ClearLog(); 56 util::ClearLog();
56 EXPECT_EQ(0u, util::GetLogHistory().size()); 57 EXPECT_EQ(0u, util::GetLogHistory().size());
57 } 58 }
58 59
59 60
60 } // namespace sync_file_system 61 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698