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

Side by Side Diff: webrtc/sdk/objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm

Issue 2988783002: Removed file RTCCameraVideoCapturer.mm that isn't needed (Closed)
Patch Set: Added changes from review of 2964703002 after commit. Created 3 years, 4 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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 #import <OCMock/OCMock.h> 11 #import <OCMock/OCMock.h>
12 12
13 #if TARGET_OS_IPHONE 13 #if TARGET_OS_IPHONE
14 #import <UIKit/UIKit.h> 14 #import <UIKit/UIKit.h>
15 #endif 15 #endif
16 16
17 #include "webrtc/rtc_base/gunit.h" 17 #include "webrtc/rtc_base/gunit.h"
18 18
19 #import <WebRTC/RTCCameraVideoCapturer.h> 19 #import <WebRTC/RTCCameraVideoCapturer.h>
20 #import <WebRTC/RTCDispatcher.h> 20 #import <WebRTC/RTCDispatcher.h>
21 #import <WebRTC/RTCVideoFrame.h> 21 #import <WebRTC/RTCVideoFrame.h>
22 #import "AVCaptureSession+Device.h" 22 #import "AVCaptureSession+DevicePosition.h"
23 23
24 #if TARGET_OS_IPHONE 24 #if TARGET_OS_IPHONE
25 // Helper method. 25 // Helper method.
26 CMSampleBufferRef createTestSampleBufferRef() { 26 CMSampleBufferRef createTestSampleBufferRef() {
27 27
28 // This image is already in the testing bundle. 28 // This image is already in the testing bundle.
29 UIImage *image = [UIImage imageNamed:@"Default.png"]; 29 UIImage *image = [UIImage imageNamed:@"Default.png"];
30 CGSize size = image.size; 30 CGSize size = image.size;
31 CGImageRef imageRef = [image CGImage]; 31 CGImageRef imageRef = [image CGImage];
32 32
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 [test testRotationFrame]; 439 [test testRotationFrame];
440 [test tearDown]; 440 [test tearDown];
441 } 441 }
442 442
443 MAYBE_TEST(RTCCameraVideoCapturerTests, ImageExif) { 443 MAYBE_TEST(RTCCameraVideoCapturerTests, ImageExif) {
444 RTCCameraVideoCapturerTests *test = [[RTCCameraVideoCapturerTests alloc] init] ; 444 RTCCameraVideoCapturerTests *test = [[RTCCameraVideoCapturerTests alloc] init] ;
445 [test setup]; 445 [test setup];
446 [test testImageExif]; 446 [test testImageExif];
447 [test tearDown]; 447 [test tearDown];
448 } 448 }
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698