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

Side by Side Diff: webrtc/system_wrappers/source/data_log_unittest.cc

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 2 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 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/system_wrappers/include/data_log.h" 11 #include "webrtc/system_wrappers/include/data_log.h"
12 12
13 #include <map> 13 #include <map>
14 #include <string> 14 #include <string>
15 15
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "webrtc/test/gtest.h"
17 #include "webrtc/system_wrappers/include/data_log_c.h" 17 #include "webrtc/system_wrappers/include/data_log_c.h"
18 #include "webrtc/system_wrappers/source/data_log_c_helpers_unittest.h" 18 #include "webrtc/system_wrappers/source/data_log_c_helpers_unittest.h"
19 19
20 using ::webrtc::DataLog; 20 using ::webrtc::DataLog;
21 21
22 // A class for storing the values expected from a log table column when 22 // A class for storing the values expected from a log table column when
23 // verifying a log table file. 23 // verifying a log table file.
24 struct ExpectedValues { 24 struct ExpectedValues {
25 public: 25 public:
26 ExpectedValues() 26 ExpectedValues()
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertArray_int32()); 302 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertArray_int32());
303 EXPECT_EQ(0, WebRtcDataLogCHelper_TestNextRow()); 303 EXPECT_EQ(0, WebRtcDataLogCHelper_TestNextRow());
304 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertCell_uint32()); 304 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertCell_uint32());
305 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertArray_uint32()); 305 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertArray_uint32());
306 EXPECT_EQ(0, WebRtcDataLogCHelper_TestNextRow()); 306 EXPECT_EQ(0, WebRtcDataLogCHelper_TestNextRow());
307 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertCell_int64()); 307 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertCell_int64());
308 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertArray_int64()); 308 EXPECT_EQ(0, WebRtcDataLogCHelper_TestInsertArray_int64());
309 EXPECT_EQ(0, WebRtcDataLogCHelper_TestNextRow()); 309 EXPECT_EQ(0, WebRtcDataLogCHelper_TestNextRow());
310 EXPECT_EQ(0, WebRtcDataLogCHelper_TestReturnLog()); 310 EXPECT_EQ(0, WebRtcDataLogCHelper_TestReturnLog());
311 } 311 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698