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

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

Issue 2974613003: base->rtc_base: Update .c, .mm and .java files. (Closed)
Patch Set: Created 3 years, 5 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 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/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 22
23 #if TARGET_OS_IPHONE 23 #if TARGET_OS_IPHONE
24 // Helper method. 24 // Helper method.
25 CMSampleBufferRef createTestSampleBufferRef() { 25 CMSampleBufferRef createTestSampleBufferRef() {
26 26
27 // This image is already in the testing bundle. 27 // This image is already in the testing bundle.
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 [test testDelegateCallbackNotCalledWhenInvalidBuffer]; 262 [test testDelegateCallbackNotCalledWhenInvalidBuffer];
263 [test tearDown]; 263 [test tearDown];
264 } 264 }
265 265
266 MAYBE_TEST(RTCCameraVideoCapturerTests, DelegateCallbackWithValidBufferAndOrient ationUpdate) { 266 MAYBE_TEST(RTCCameraVideoCapturerTests, DelegateCallbackWithValidBufferAndOrient ationUpdate) {
267 RTCCameraVideoCapturerTests *test = [[RTCCameraVideoCapturerTests alloc] init] ; 267 RTCCameraVideoCapturerTests *test = [[RTCCameraVideoCapturerTests alloc] init] ;
268 [test setup]; 268 [test setup];
269 [test testDelegateCallbackWithValidBufferAndOrientationUpdate]; 269 [test testDelegateCallbackWithValidBufferAndOrientationUpdate];
270 [test tearDown]; 270 [test tearDown];
271 } 271 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698