OLD | NEW |
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 "webrtc/test/gtest.h" | |
17 #include "webrtc/system_wrappers/include/data_log_c.h" | 16 #include "webrtc/system_wrappers/include/data_log_c.h" |
18 #include "webrtc/system_wrappers/source/data_log_c_helpers_unittest.h" | 17 #include "webrtc/system_wrappers/source/data_log_c_helpers_unittest.h" |
| 18 #include "webrtc/test/gtest.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() |
27 : values(), | 27 : values(), |
28 multi_value_length(1) { | 28 multi_value_length(1) { |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |