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

Side by Side Diff: webrtc/modules/video_processing/test/video_processing_unittest.h

Issue 2381013002: Sort #includes that got unsorted when gmock.h and gtest.h moved to webrtc/test/ (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 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_TEST_VIDEO_PROCESSING_UNITTEST_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_TEST_VIDEO_PROCESSING_UNITTEST_H_
12 #define WEBRTC_MODULES_VIDEO_PROCESSING_TEST_VIDEO_PROCESSING_UNITTEST_H_ 12 #define WEBRTC_MODULES_VIDEO_PROCESSING_TEST_VIDEO_PROCESSING_UNITTEST_H_
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "webrtc/test/gtest.h"
17 #include "webrtc/modules/video_processing/include/video_processing.h" 16 #include "webrtc/modules/video_processing/include/video_processing.h"
18 #include "webrtc/system_wrappers/include/trace.h" 17 #include "webrtc/system_wrappers/include/trace.h"
18 #include "webrtc/test/gtest.h"
19 #include "webrtc/test/testsupport/fileutils.h" 19 #include "webrtc/test/testsupport/fileutils.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 class VideoProcessingTest : public ::testing::Test { 23 class VideoProcessingTest : public ::testing::Test {
24 protected: 24 protected:
25 VideoProcessingTest(); 25 VideoProcessingTest();
26 virtual void SetUp(); 26 virtual void SetUp();
27 virtual void TearDown(); 27 virtual void TearDown();
28 static void SetUpTestCase() { 28 static void SetUpTestCase() {
29 Trace::CreateTrace(); 29 Trace::CreateTrace();
30 std::string trace_file = webrtc::test::OutputPath() + "VPMTrace.txt"; 30 std::string trace_file = webrtc::test::OutputPath() + "VPMTrace.txt";
31 ASSERT_EQ(0, Trace::SetTraceFile(trace_file.c_str())); 31 ASSERT_EQ(0, Trace::SetTraceFile(trace_file.c_str()));
32 } 32 }
33 static void TearDownTestCase() { Trace::ReturnTrace(); } 33 static void TearDownTestCase() { Trace::ReturnTrace(); }
34 VideoProcessing* vp_; 34 VideoProcessing* vp_;
35 FILE* source_file_; 35 FILE* source_file_;
36 const int width_; 36 const int width_;
37 const int half_width_; 37 const int half_width_;
38 const int height_; 38 const int height_;
39 const int size_y_; 39 const int size_y_;
40 const int size_uv_; 40 const int size_uv_;
41 const size_t frame_length_; 41 const size_t frame_length_;
42 }; 42 };
43 43
44 } // namespace webrtc 44 } // namespace webrtc
45 45
46 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_TEST_VIDEO_PROCESSING_UNITTEST_H_ 46 #endif // WEBRTC_MODULES_VIDEO_PROCESSING_TEST_VIDEO_PROCESSING_UNITTEST_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_sender_unittest.cc ('k') | webrtc/system_wrappers/source/condition_variable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698