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

Side by Side Diff: webrtc/modules/video_capture/test/video_capture_unittest.cc

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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 <stdio.h> 11 #include <stdio.h>
12 12
13 #include <map> 13 #include <map>
14 #include <memory> 14 #include <memory>
15 #include <sstream> 15 #include <sstream>
16 16
17 #include "webrtc/test/gtest.h"
18 #include "webrtc/base/scoped_ref_ptr.h" 17 #include "webrtc/base/scoped_ref_ptr.h"
19 #include "webrtc/base/timeutils.h" 18 #include "webrtc/base/timeutils.h"
20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
21 #include "webrtc/modules/utility/include/process_thread.h" 20 #include "webrtc/modules/utility/include/process_thread.h"
22 #include "webrtc/modules/video_capture/video_capture.h" 21 #include "webrtc/modules/video_capture/video_capture.h"
23 #include "webrtc/modules/video_capture/video_capture_factory.h" 22 #include "webrtc/modules/video_capture/video_capture_factory.h"
24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" 23 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
25 #include "webrtc/system_wrappers/include/sleep.h" 24 #include "webrtc/system_wrappers/include/sleep.h"
26 #include "webrtc/test/frame_utils.h" 25 #include "webrtc/test/frame_utils.h"
26 #include "webrtc/test/gtest.h"
27 #include "webrtc/video_frame.h" 27 #include "webrtc/video_frame.h"
28 28
29 using webrtc::CriticalSectionWrapper; 29 using webrtc::CriticalSectionWrapper;
30 using webrtc::CriticalSectionScoped; 30 using webrtc::CriticalSectionScoped;
31 using webrtc::SleepMs; 31 using webrtc::SleepMs;
32 using webrtc::VideoCaptureAlarm; 32 using webrtc::VideoCaptureAlarm;
33 using webrtc::VideoCaptureCapability; 33 using webrtc::VideoCaptureCapability;
34 using webrtc::VideoCaptureDataCallback; 34 using webrtc::VideoCaptureDataCallback;
35 using webrtc::VideoCaptureFactory; 35 using webrtc::VideoCaptureFactory;
36 using webrtc::VideoCaptureFeedBack; 36 using webrtc::VideoCaptureFeedBack;
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 length, capture_callback_.capability(), 0)); 524 length, capture_callback_.capability(), 0));
525 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_180)); 525 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_180));
526 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_180); 526 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_180);
527 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(), 527 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(),
528 length, capture_callback_.capability(), 0)); 528 length, capture_callback_.capability(), 0));
529 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_270)); 529 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_270));
530 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_270); 530 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_270);
531 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(), 531 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(),
532 length, capture_callback_.capability(), 0)); 532 length, capture_callback_.capability(), 0));
533 } 533 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698